8#ifndef SkBmpMaskCodec_DEFINED
9#define SkBmpMaskCodec_DEFINED
51 size_t dstRowBytes,
const Options&,
59 SkSampler* getSampler(
bool createIfNecessary)
override {
61 return fMaskSwizzler.get();
67 std::unique_ptr<SkMasks> fMasks;
68 std::unique_ptr<SkMaskSwizzler> fMaskSwizzler;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
SkBmpBaseCodec(SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkCodec::SkScanlineOrder rowOrder)
uint16_t bitsPerPixel() const
SkCodec::Result onPrepareToDecode(const SkImageInfo &dstInfo, const SkCodec::Options &options) override
SkBmpMaskCodec(SkEncodedInfo &&info, std::unique_ptr< SkStream >, uint16_t bitsPerPixel, SkMasks *masks, SkCodec::SkScanlineOrder rowOrder)
Result onGetPixels(const SkImageInfo &dstInfo, void *dst, size_t dstRowBytes, const Options &, int *) override
const SkImageInfo & dstInfo() const
const Options & options() const