|
| SkAndroidCodecAdapter (SkCodec *) |
|
| ~SkAndroidCodecAdapter () override |
|
Public Member Functions inherited from SkAndroidCodec |
virtual | ~SkAndroidCodec () |
|
const SkImageInfo & | getInfo () const |
|
const skcms_ICCProfile * | getICCProfile () const |
|
SkEncodedImageFormat | getEncodedFormat () const |
|
SkColorType | computeOutputColorType (SkColorType requestedColorType) |
|
SkAlphaType | computeOutputAlphaType (bool requestedUnpremul) |
|
sk_sp< SkColorSpace > | computeOutputColorSpace (SkColorType outputColorType, sk_sp< SkColorSpace > prefColorSpace=nullptr) |
|
int | computeSampleSize (SkISize *size) const |
|
SkISize | getSampledDimensions (int sampleSize) const |
|
bool | getSupportedSubset (SkIRect *desiredSubset) const |
|
SkISize | getSampledSubsetDimensions (int sampleSize, const SkIRect &subset) const |
|
SkCodec::Result | getAndroidPixels (const SkImageInfo &info, void *pixels, size_t rowBytes, const AndroidOptions *options) |
|
SkCodec::Result | getAndroidPixels (const SkImageInfo &info, void *pixels, size_t rowBytes) |
|
SkCodec::Result | getPixels (const SkImageInfo &info, void *pixels, size_t rowBytes) |
|
SkCodec * | codec () const |
|
bool | getAndroidGainmap (SkGainmapInfo *outInfo, std::unique_ptr< SkStream > *outGainmapImageStream) |
|
This class wraps SkCodec to implement the functionality of SkAndroidCodec. The underlying SkCodec implements sampled decodes. SkCodec's that do not implement that are wrapped with SkSampledCodec instead.
Definition at line 24 of file SkAndroidCodecAdapter.h.