Index: src/codec/SkBmpRLECodec.h |
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h |
index ee8989be64d78861b2c62a9ea7b02f86d75f64d0..fcaf87f1cdbcc7ebc59e4fbeb5c1d71f6e6ea118 100644 |
--- a/src/codec/SkBmpRLECodec.h |
+++ b/src/codec/SkBmpRLECodec.h |
@@ -35,9 +35,9 @@ public: |
* after decoding the headers |
*/ |
SkBmpRLECodec(const SkImageInfo& srcInfo, SkStream* stream, |
- uint16_t bitsPerPixel, uint32_t numColors, |
- uint32_t bytesPerColor, uint32_t offset, |
- SkBmpCodec::RowOrder rowOrder, size_t RLEBytes); |
+ SkBmpCodec::BmpInputFormat inputFormat, uint16_t bitsPerPixel, |
+ uint32_t numColors, uint32_t bytesPerColor, uint32_t offset, |
+ SkBmpCodec::RowOrder rowOrder, size_t RLEBytes); |
protected: |
@@ -77,11 +77,11 @@ private: |
const SkImageInfo& dstInfo, uint32_t x, uint32_t y, |
uint8_t red, uint8_t green, uint8_t blue); |
- /* |
- * Performs the bitmap decoding for RLE input format |
- */ |
- Result decode(const SkImageInfo& dstInfo, void* dst, |
- size_t dstRowBytes, const Options& opts); |
+ SkCodec::Result onStart(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; |