aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar Chong Zhang <chz@google.com>2017-08-16 13:03:47 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-16 20:22:55 +0000
commitc2a954290dc3888f877a047098b84c24363895fb (patch)
tree8eb8361d87acc92276a2ddd2f79c95bb95cf24fd /include/codec
parent6269f71f7fe3a9fcbcece7ec2668fc3fcbb71732 (diff)
skia: add heif decoding support
Bug: b/64077740 Change-Id: I11e0243bcc4c21c0aa5aa29a719dd0fcba7ae6f7 Reviewed-on: https://skia-review.googlesource.com/35123 Reviewed-by: Chong Zhang <chz@google.com> Reviewed-by: Leon Scroggins <scroggo@google.com> Commit-Queue: Chong Zhang <chz@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index fb4f165dbf..fb5bff5165 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -50,7 +50,7 @@ public:
* this many bytes, or by implementing rewind() to be able to rewind()
* after reading this many bytes.
*/
- static size_t MinBufferedBytesNeeded();
+ static constexpr size_t MinBufferedBytesNeeded() { return 32; }
/**
* Error codes for various SkCodec methods.