8#ifndef SkCodec_wbmp_DEFINED
9#define SkCodec_wbmp_DEFINED
28 static bool IsWbmp(
const void*,
size_t);
43 bool needsXform)
override;
48 SkASSERT(fSwizzler || !createIfNecessary);
49 return fSwizzler.get();
55 bool readRow(uint8_t* row);
59 const size_t fSrcRowBytes;
62 std::unique_ptr<SkSwizzler> fSwizzler;
68 const Options&
options)
override;
const SkImageInfo & dstInfo() const
const Options & options() const
SkEncodedImageFormat onGetEncodedFormat() const override
Result onStartScanlineDecode(const SkImageInfo &dstInfo, const Options &options) override
static bool IsWbmp(const void *, size_t)
bool conversionSupported(const SkImageInfo &dst, bool srcIsOpaque, bool needsXform) override
bool usesColorXform() const override
bool onSkipScanlines(int count) override
int onGetScanlines(void *dst, int count, size_t dstRowBytes) override
SkSampler * getSampler(bool createIfNecessary) override
Result onGetPixels(const SkImageInfo &, void *, size_t, const Options &, int *) override
static std::unique_ptr< SkCodec > MakeFromStream(std::unique_ptr< SkStream >, Result *)