aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/codec/SkBmpRLECodec.h
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2016-11-03 16:15:20 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-03 20:58:13 +0000
commit1b96c6f91377431cd407c43fedac613fff21c2ed (patch)
tree0a4d5899f2cae7573aa85d56866ad7613338b6f2 /src/codec/SkBmpRLECodec.h
parent6e437b7d177cabdb9822b437ed2caefebe6b469b (diff)
Add F16, SkColorSpaceXform support to SkBmpCodec
BUG=skia:4895 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4390 Change-Id: I9cb727e7f13816b0ac882f62ec635a4528c3a524 Reviewed-on: https://skia-review.googlesource.com/4390 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Matt Sarett <msarett@google.com>
Diffstat (limited to 'src/codec/SkBmpRLECodec.h')
-rw-r--r--src/codec/SkBmpRLECodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codec/SkBmpRLECodec.h b/src/codec/SkBmpRLECodec.h
index ff1a274e6d..5f348618a9 100644
--- a/src/codec/SkBmpRLECodec.h
+++ b/src/codec/SkBmpRLECodec.h
@@ -48,7 +48,7 @@ protected:
size_t dstRowBytes, const Options&, SkPMColor*,
int*, int*) override;
- SkCodec::Result prepareToDecode(const SkImageInfo& dstInfo,
+ SkCodec::Result onPrepareToDecode(const SkImageInfo& dstInfo,
const SkCodec::Options& options, SkPMColor inputColorPtr[],
int* inputColorCount) override;
@@ -89,6 +89,7 @@ private:
*/
int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
const Options& opts) override;
+ int decodeRLE(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes);
bool skipRows(int count) override;