aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar msarett <msarett@google.com>2015-04-29 08:17:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-29 08:17:15 -0700
commit97fdea6c4393cf0102d7eee5790782509fb4f57b (patch)
treedfc56d116e70785df50af08dd7972c344a923b13 /include/codec
parent2420e10d5a86da1964a05a749ab9bb625ae9f13e (diff)
Implementing a scanline decoder for jpeg
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkScanlineDecoder.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/codec/SkScanlineDecoder.h b/include/codec/SkScanlineDecoder.h
index c047223d7c..d7f73dda56 100644
--- a/include/codec/SkScanlineDecoder.h
+++ b/include/codec/SkScanlineDecoder.h
@@ -77,6 +77,8 @@ protected:
virtual bool onReallyHasAlpha() const { return false; }
+ const SkImageInfo& dstInfo() const { return fDstInfo; }
+
private:
const SkImageInfo fDstInfo;
int fCurrScanline;