Flutter Engine
The Flutter Engine
|
Public Member Functions | |
SkWuffsCodec (SkEncodedInfo &&encodedInfo, std::unique_ptr< SkStream > stream, bool canSeek, std::unique_ptr< wuffs_gif__decoder, decltype(&sk_free)> dec, std::unique_ptr< uint8_t, decltype(&sk_free)> workbuf_ptr, size_t workbuf_len, wuffs_base__image_config imgcfg, wuffs_base__io_buffer iobuf) | |
const SkWuffsFrame * | frame (int i) const |
std::unique_ptr< SkStream > | getEncodedData () const override |
Public Member Functions inherited from SkCodec | |
virtual | ~SkCodec () |
SkImageInfo | getInfo () const |
SkISize | dimensions () const |
SkIRect | bounds () const |
const skcms_ICCProfile * | getICCProfile () const |
SkEncodedOrigin | getOrigin () const |
SkISize | getScaledDimensions (float desiredScale) const |
bool | getValidSubset (SkIRect *desiredSubset) const |
SkEncodedImageFormat | getEncodedFormat () const |
virtual std::unique_ptr< SkStream > | getEncodedData () const |
Result | getPixels (const SkImageInfo &info, void *pixels, size_t rowBytes, const Options *) |
Result | getPixels (const SkImageInfo &info, void *pixels, size_t rowBytes) |
Result | getPixels (const SkPixmap &pm, const Options *opts=nullptr) |
std::tuple< sk_sp< SkImage >, SkCodec::Result > | getImage (const SkImageInfo &info, const Options *opts=nullptr) |
std::tuple< sk_sp< SkImage >, SkCodec::Result > | getImage () |
bool | queryYUVAInfo (const SkYUVAPixmapInfo::SupportedDataTypes &supportedDataTypes, SkYUVAPixmapInfo *yuvaPixmapInfo) const |
Result | getYUVAPlanes (const SkYUVAPixmaps &yuvaPixmaps) |
Result | startIncrementalDecode (const SkImageInfo &dstInfo, void *dst, size_t rowBytes, const Options *) |
Result | startIncrementalDecode (const SkImageInfo &dstInfo, void *dst, size_t rowBytes) |
Result | incrementalDecode (int *rowsDecoded=nullptr) |
Result | startScanlineDecode (const SkImageInfo &dstInfo, const Options *options) |
Result | startScanlineDecode (const SkImageInfo &dstInfo) |
int | getScanlines (void *dst, int countLines, size_t rowBytes) |
bool | skipScanlines (int countLines) |
SkScanlineOrder | getScanlineOrder () const |
int | nextScanline () const |
int | outputScanline (int inputScanline) const |
int | getFrameCount () |
bool | getFrameInfo (int index, FrameInfo *info) const |
std::vector< FrameInfo > | getFrameInfo () |
int | getRepetitionCount () |
Definition at line 237 of file SkWuffsCodec.cpp.
SkWuffsCodec::SkWuffsCodec | ( | SkEncodedInfo && | encodedInfo, |
std::unique_ptr< SkStream > | stream, | ||
bool | canSeek, | ||
std::unique_ptr< wuffs_gif__decoder, decltype(&sk_free)> | dec, | ||
std::unique_ptr< uint8_t, decltype(&sk_free)> | workbuf_ptr, | ||
size_t | workbuf_len, | ||
wuffs_base__image_config | imgcfg, | ||
wuffs_base__io_buffer | iobuf | ||
) |
Definition at line 380 of file SkWuffsCodec.cpp.
const SkWuffsFrame * SkWuffsCodec::frame | ( | int | i | ) | const |
Definition at line 426 of file SkWuffsCodec.cpp.
|
overridevirtual |
Return the underlying encoded data stream. This may be nullptr if the original stream could not be duplicated.
Reimplemented from SkCodec.
Definition at line 970 of file SkWuffsCodec.cpp.