| Index: src/codec/SkBmpStandardCodec.h
|
| diff --git a/src/codec/SkBmpStandardCodec.h b/src/codec/SkBmpStandardCodec.h
|
| index 45450e65918b95c5d5222ec36cb3ddba9f28edfa..9ff74d1074bf516b5d33f37e1d2821e6ad4e1c5f 100644
|
| --- a/src/codec/SkBmpStandardCodec.h
|
| +++ b/src/codec/SkBmpStandardCodec.h
|
| @@ -36,8 +36,8 @@ public:
|
| * @param rowOrder indicates whether rows are ordered top-down or bottom-up
|
| */
|
| SkBmpStandardCodec(const SkImageInfo& srcInfo, SkStream* stream,
|
| - uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
| - uint32_t offset, SkBmpCodec::RowOrder rowOrder, bool isIco);
|
| + uint16_t bitsPerPixel, uint32_t numColors, uint32_t bytesPerColor,
|
| + uint32_t offset, SkBmpCodec::RowOrder rowOrder, bool isIco);
|
|
|
| protected:
|
|
|
| @@ -58,7 +58,12 @@ private:
|
|
|
| bool initializeSwizzler(const SkImageInfo& dstInfo, const Options& opts);
|
|
|
| - Result decode(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts);
|
| + SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo,
|
| + const SkCodec::Options& options, SkPMColor inputColorPtr[],
|
| + int* inputColorCount) override;
|
| +
|
| + Result decode(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
|
| + const Options& opts) override;
|
|
|
| SkAutoTUnref<SkColorTable> fColorTable; // owned
|
| const uint32_t fNumColors;
|
|
|