summaryrefslogtreecommitdiff
path: root/src/3rdparty/libwebp/src/dec/vp8li.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-04-08 23:42:52 +0200
committerLiang Qi <liang.qi@theqtcompany.com>2016-04-08 23:42:53 +0200
commitc3d188ffbbe0779a4bb62eef77b3eaa4670ea8d8 (patch)
tree05c872112283b21cbf6a1429407abb04ec88458b /src/3rdparty/libwebp/src/dec/vp8li.h
parenteab19a6eb3894170fcf3a91609d952d4e0335bb0 (diff)
parent50e257de2642fc980d4e82fb99d455ca784f11bd (diff)
downloadqtimageformats-c3d188ffbbe0779a4bb62eef77b3eaa4670ea8d8.tar.gz
Merge remote-tracking branch 'origin/5.7' into dev
Change-Id: Idf9bbf8661a1589ff27e58322117d56363ec3e4a
Diffstat (limited to 'src/3rdparty/libwebp/src/dec/vp8li.h')
-rw-r--r--src/3rdparty/libwebp/src/dec/vp8li.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/3rdparty/libwebp/src/dec/vp8li.h b/src/3rdparty/libwebp/src/dec/vp8li.h
index 21c593f..8886e47 100644
--- a/src/3rdparty/libwebp/src/dec/vp8li.h
+++ b/src/3rdparty/libwebp/src/dec/vp8li.h
@@ -43,6 +43,7 @@ struct VP8LTransform {
typedef struct {
int color_cache_size_;
VP8LColorCache color_cache_;
+ VP8LColorCache saved_color_cache_; // for incremental
int huffman_mask_;
int huffman_subsample_bits_;
@@ -50,12 +51,12 @@ typedef struct {
uint32_t *huffman_image_;
int num_htree_groups_;
HTreeGroup *htree_groups_;
+ HuffmanCode *huffman_tables_;
} VP8LMetadata;
typedef struct VP8LDecoder VP8LDecoder;
struct VP8LDecoder {
VP8StatusCode status_;
- VP8LDecodeState action_;
VP8LDecodeState state_;
VP8Io *io_;
@@ -66,6 +67,9 @@ struct VP8LDecoder {
uint32_t *argb_cache_; // Scratch buffer for temporary BGRA storage.
VP8LBitReader br_;
+ int incremental_; // if true, incremental decoding is expected
+ VP8LBitReader saved_br_; // note: could be local variables too
+ int saved_last_pixel_;
int width_;
int height_;