Index: src/codec/SkCodec_libgif.h |
diff --git a/src/codec/SkCodec_libgif.h b/src/codec/SkCodec_libgif.h |
index afbc284cd1929ef383ee333e05c6d64748522260..49b08b1f2682ee6b627b217f5369fb6210b6c18f 100644 |
--- a/src/codec/SkCodec_libgif.h |
+++ b/src/codec/SkCodec_libgif.h |
@@ -123,8 +123,11 @@ private: |
* adjusted if the image frame size does not match the size |
* indicated in the header. |
* @param zeroInit Indicates if destination memory is zero initialized. |
+ * @param subsetLeft Left offset for each row decode. |
+ * @param subsetWidth Width of each row decode. |
*/ |
- Result initializeSwizzler(const SkImageInfo& dstInfo, ZeroInitialized zeroInit); |
+ Result initializeSwizzler(const SkImageInfo& dstInfo, |
+ ZeroInitialized zeroInit, int subsetLeft, int subsetWidth); |
/* |
* @return true if the read is successful and false if the read fails. |
@@ -132,7 +135,8 @@ private: |
bool readRow(); |
Result onStartScanlineDecode(const SkImageInfo& dstInfo, const Options& opts, |
- SkPMColor inputColorPtr[], int* inputColorCount) override; |
+ SkPMColor inputColorPtr[], int* inputColorCount, int subsetLeft, |
+ int subsetWidth) override; |
int onGetScanlines(void* dst, int count, size_t rowBytes) override; |