Index: src/codec/SkBmpRLECodec.h |
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h |
index ea2c2b6babd8a3a076c71fafbd68cfb206e29577..8721969a857a3a3afa9892c8109af42ddbdc6ab5 100644 |
--- a/src/codec/SkBmpRLECodec.h |
+++ b/src/codec/SkBmpRLECodec.h |
@@ -8,6 +8,7 @@ |
#include "SkBmpCodec.h" |
#include "SkColorTable.h" |
#include "SkImageInfo.h" |
+#include "SkSampler.h" |
#include "SkTypes.h" |
/* |
@@ -39,6 +40,8 @@ public: |
uint32_t offset, SkCodec::SkScanlineOrder rowOrder, |
size_t RLEBytes); |
+ int setSampleX(int); |
+ |
protected: |
Result onGetPixels(const SkImageInfo& dstInfo, void* dst, |
@@ -84,6 +87,8 @@ private: |
Result decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, |
const Options& opts) override; |
+ SkSampler* getSampler() override; |
+ |
SkAutoTUnref<SkColorTable> fColorTable; // owned |
const uint32_t fNumColors; |
const uint32_t fBytesPerColor; |
@@ -92,6 +97,7 @@ private: |
size_t fRLEBytes; |
uint32_t fCurrRLEByte; |
int fSampleX; |
+ SkAutoTDelete<SkSampler> fSampler; |
typedef SkBmpCodec INHERITED; |
}; |