Index: third_party/libwebp/dec/vp8li.h |
diff --git a/third_party/libwebp/dec/vp8li.h b/third_party/libwebp/dec/vp8li.h |
index 21c593feb8444c59df2c13d2cfde5caaba990d9c..8886e47f62d9d8ef620af92a08d5ed69a0508212 100644 |
--- a/third_party/libwebp/dec/vp8li.h |
+++ b/third_party/libwebp/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_; |