Flutter Engine
The Flutter Engine
|
#include <SkSampledCodec.h>
Protected Member Functions | |
SkISize | onGetSampledDimensions (int sampleSize) const override |
bool | onGetSupportedSubset (SkIRect *desiredSubset) const override |
SkCodec::Result | onGetAndroidPixels (const SkImageInfo &info, void *pixels, size_t rowBytes, const AndroidOptions &options) override |
Protected Member Functions inherited from SkAndroidCodec | |
SkAndroidCodec (SkCodec *) | |
virtual SkISize | onGetSampledDimensions (int sampleSize) const =0 |
virtual bool | onGetSupportedSubset (SkIRect *desiredSubset) const =0 |
virtual SkCodec::Result | onGetAndroidPixels (const SkImageInfo &info, void *pixels, size_t rowBytes, const AndroidOptions &options)=0 |
Additional Inherited Members | |
Public Types inherited from SkAndroidCodec | |
enum class | ExifOrientationBehavior { kIgnore , kRespect } |
Static Public Member Functions inherited from SkAndroidCodec | |
static std::unique_ptr< SkAndroidCodec > | MakeFromCodec (std::unique_ptr< SkCodec >) |
static std::unique_ptr< SkAndroidCodec > | MakeFromStream (std::unique_ptr< SkStream >, SkPngChunkReader *=nullptr) |
static std::unique_ptr< SkAndroidCodec > | MakeFromData (sk_sp< SkData >, SkPngChunkReader *=nullptr) |
This class implements the functionality of SkAndroidCodec. Scaling will be provided by sampling if it cannot be provided by fCodec.
Definition at line 23 of file SkSampledCodec.h.
|
explicit |
Definition at line 20 of file SkSampledCodec.cpp.
|
inlineoverride |
Definition at line 27 of file SkSampledCodec.h.
|
overrideprotectedvirtual |
Implements SkAndroidCodec.
Definition at line 78 of file SkSampledCodec.cpp.
Implements SkAndroidCodec.
Definition at line 72 of file SkSampledCodec.cpp.
|
inlineoverrideprotectedvirtual |