|
| SkBmpMaskCodec (SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkMasks *masks, SkCodec::SkScanlineOrder rowOrder) |
|
| ~SkBmpBaseCodec () override |
|
bool | didCreateSrcBuffer () const |
|
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 () |
|
|
Result | onGetPixels (const SkImageInfo &dstInfo, void *dst, size_t dstRowBytes, const Options &, int *) override |
|
SkCodec::Result | onPrepareToDecode (const SkImageInfo &dstInfo, const SkCodec::Options &options) override |
|
| SkBmpBaseCodec (SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder) |
|
uint8_t * | srcBuffer () |
|
| SkBmpCodec (SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder) |
|
SkEncodedImageFormat | onGetEncodedFormat () const override |
|
bool | onRewind () override |
|
bool | inIco () const |
|
virtual bool | onInIco () const |
|
int32_t | getDstRow (int32_t y, int32_t height) const |
|
uint16_t | bitsPerPixel () const |
|
SkScanlineOrder | onGetScanlineOrder () const override |
|
size_t | srcRowBytes () const |
|
virtual SkCodec::Result | onPrepareToDecode (const SkImageInfo &dstInfo, const SkCodec::Options &options)=0 |
|
SkCodec::Result | prepareToDecode (const SkImageInfo &dstInfo, const SkCodec::Options &options) |
|
uint32_t * | xformBuffer () const |
|
void | resetXformBuffer (int count) |
|
const SkEncodedInfo & | getEncodedInfo () const |
|
| SkCodec (SkEncodedInfo &&, XformFormat srcFormat, std::unique_ptr< SkStream >, SkEncodedOrigin=kTopLeft_SkEncodedOrigin) |
|
void | setSrcXformFormat (XformFormat pixelFormat) |
|
XformFormat | getSrcXformFormat () const |
|
virtual bool | onGetGainmapInfo (SkGainmapInfo *, std::unique_ptr< SkStream > *) |
|
virtual SkISize | onGetScaledDimensions (float) const |
|
virtual bool | onDimensionsSupported (const SkISize &) |
|
virtual SkEncodedImageFormat | onGetEncodedFormat () const =0 |
|
virtual Result | onGetPixels (const SkImageInfo &info, void *pixels, size_t rowBytes, const Options &, int *rowsDecoded)=0 |
|
virtual bool | onQueryYUVAInfo (const SkYUVAPixmapInfo::SupportedDataTypes &, SkYUVAPixmapInfo *) const |
|
virtual Result | onGetYUVAPlanes (const SkYUVAPixmaps &) |
|
virtual bool | onGetValidSubset (SkIRect *) const |
|
bool | rewindIfNeeded () |
|
virtual bool | onRewind () |
|
SkStream * | stream () |
|
virtual SkScanlineOrder | onGetScanlineOrder () const |
|
const SkImageInfo & | dstInfo () const |
|
const Options & | options () const |
|
int | currScanline () const |
|
virtual int | onOutputScanline (int inputScanline) const |
|
virtual bool | conversionSupported (const SkImageInfo &dst, bool srcIsOpaque, bool needsColorXform) |
|
virtual bool | usesColorXform () const |
|
void | applyColorXform (void *dst, const void *src, int count) const |
|
bool | colorXform () const |
|
bool | xformOnDecode () const |
|
virtual int | onGetFrameCount () |
|
virtual bool | onGetFrameInfo (int, FrameInfo *) const |
|
virtual int | onGetRepetitionCount () |
|
|
enum | Result {
kSuccess
, kIncompleteInput
, kErrorInInput
, kInvalidConversion
,
kInvalidScale
, kInvalidParameters
, kInvalidInput
, kCouldNotRewind
,
kInternalError
, kUnimplemented
} |
|
enum class | SelectionPolicy { kPreferStillImage
, kPreferAnimation
} |
|
enum | ZeroInitialized { kYes_ZeroInitialized
, kNo_ZeroInitialized
} |
|
enum | SkScanlineOrder { kTopDown_SkScanlineOrder
, kBottomUp_SkScanlineOrder
} |
|
static bool | IsBmp (const void *, size_t) |
|
static std::unique_ptr< SkCodec > | MakeFromStream (std::unique_ptr< SkStream >, Result *) |
|
static std::unique_ptr< SkCodec > | MakeFromIco (std::unique_ptr< SkStream >, Result *) |
|
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 *)) |
|
static constexpr int | kNoFrame = -1 |
|
static constexpr int | kRepetitionCountInfinite = -1 |
|
using | XformFormat = skcms_PixelFormat |
|
static Result | ReadHeader (SkStream *, bool inIco, std::unique_ptr< SkCodec > *codecOut) |
|
static constexpr SkColorType | kXformSrcColorType = kBGRA_8888_SkColorType |
|
static constexpr auto | kXformSrcColorFormat = skcms_PixelFormat_BGRA_8888 |
|
Definition at line 29 of file SkBmpMaskCodec.h.