7#ifndef SkBmpStandardCodec_DEFINED
8#define SkBmpStandardCodec_DEFINED
55 uint16_t
bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
57 bool isOpaque,
bool inIco);
62 size_t dstRowBytes,
const Options&,
74 return fSwizzler.get();
83 const Options& opts)
override;
94 const uint32_t fNumColors;
95 const uint32_t fBytesPerColor;
96 const uint32_t fOffset;
97 std::unique_ptr<SkSwizzler> fSwizzler;
100 const size_t fAndMaskRowBytes;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static SkColorType colorType(AImageDecoder *decoder, const AImageDecoderHeaderInfo *headerInfo)
SkBmpBaseCodec(SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
uint16_t bitsPerPixel() const
SkBmpStandardCodec(SkEncodedInfo &&info, std::unique_ptr< SkStream > stream, uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, SkCodec::SkScanlineOrder rowOrder, bool isOpaque, bool inIco)
SkCodec::Result onPrepareToDecode(const SkImageInfo &dstInfo, const SkCodec::Options &options) override
SkSampler * getSampler(bool createIfNecessary) override
Result onGetPixels(const SkImageInfo &dstInfo, void *dst, size_t dstRowBytes, const Options &, int *) override
bool onInIco() const override
const SkImageInfo & dstInfo() const
const Options & options() const