Flutter Engine
The Flutter Engine
|
#include <SkJpegxlCodec.h>
Static Public Member Functions | |
static bool | IsJpegxl (const void *, size_t) |
static std::unique_ptr< SkCodec > | MakeFromStream (std::unique_ptr< SkStream >, Result *) |
Static Public Member Functions inherited from SkCodec | |
static constexpr size_t | MinBufferedBytesNeeded () |
static const char * | ResultToString (Result) |
static std::unique_ptr< SkCodec > | MakeFromStream (std::unique_ptr< SkStream >, SkSpan< const SkCodecs::Decoder > decoders, Result *=nullptr, SkPngChunkReader *=nullptr, SelectionPolicy selectionPolicy=SelectionPolicy::kPreferStillImage) |
static std::unique_ptr< SkCodec > | MakeFromStream (std::unique_ptr< SkStream >, Result *=nullptr, SkPngChunkReader *=nullptr, SelectionPolicy selectionPolicy=SelectionPolicy::kPreferStillImage) |
static std::unique_ptr< SkCodec > | MakeFromData (sk_sp< SkData >, SkSpan< const SkCodecs::Decoder > decoders, SkPngChunkReader *=nullptr) |
static std::unique_ptr< SkCodec > | MakeFromData (sk_sp< SkData >, SkPngChunkReader *=nullptr) |
static void | Register (bool(*peek)(const void *, size_t), std::unique_ptr< SkCodec >(*make)(std::unique_ptr< SkStream >, SkCodec::Result *)) |
Private Member Functions | |
const SkFrameHolder * | getFrameHolder () const override |
Definition at line 31 of file SkJpegxlCodec.h.
|
overrideprotectedvirtual |
Return whether we can convert to dst.
Will be called for the appropriate frame, prior to initializing the colorXform.
Reimplemented from SkCodec.
Definition at line 296 of file SkJpegxlCodec.cpp.
|
overrideprivatevirtual |
For multi-framed images, return the object with information about the frames.
Reimplemented from SkCodec.
Definition at line 444 of file SkJpegxlCodec.cpp.
|
static |
Definition at line 53 of file SkJpegxlCodec.cpp.
|
static |
Definition at line 86 of file SkJpegxlCodec.cpp.
|
inlineoverrideprotectedvirtual |
Implements SkCodec.
Definition at line 48 of file SkJpegxlCodec.h.
|
overrideprotectedvirtual |
Reimplemented from SkCodec.
Definition at line 403 of file SkJpegxlCodec.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkCodec.
Definition at line 415 of file SkJpegxlCodec.cpp.
|
overrideprotectedvirtual |
rowsDecoded | When the encoded image stream is incomplete, this function will return kIncompleteInput and rowsDecoded will be set to the number of scanlines that were successfully decoded. This will allow getPixels() to fill the uninitialized memory. |
Implements SkCodec.
Definition at line 199 of file SkJpegxlCodec.cpp.
|
overrideprotectedvirtual |
Reimplemented from SkCodec.
Definition at line 426 of file SkJpegxlCodec.cpp.
|
overrideprotectedvirtual |
Called by rewindIfNeeded, if the stream needed to be rewound.
Subclasses should do any set up needed after a rewind.
Reimplemented from SkCodec.
Definition at line 291 of file SkJpegxlCodec.cpp.