Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Unified Diff: third_party/brotli/dec/state.h

Issue 1061993007: Update Brotli to revision ec03509 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/brotli/dec/decode.c ('k') | third_party/brotli/dec/streams.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/dec/state.h
diff --git a/third_party/brotli/dec/state.h b/third_party/brotli/dec/state.h
index 3b985ec081e4fc015efa46f14eed95159113ca33..e5d6b5a5d0a52fa02298fa8cc47e7abf10ab3eef 100644
--- a/third_party/brotli/dec/state.h
+++ b/third_party/brotli/dec/state.h
@@ -39,7 +39,12 @@ typedef enum {
BROTLI_STATE_BLOCK_DISTANCE = 15,
BROTLI_STATE_BLOCK_POST = 16,
BROTLI_STATE_UNCOMPRESSED = 17,
+ BROTLI_STATE_METADATA = 18,
+ BROTLI_STATE_BLOCK_INNER_WRITE = 19,
BROTLI_STATE_METABLOCK_DONE = 20,
+ BROTLI_STATE_BLOCK_POST_WRITE_1 = 21,
+ BROTLI_STATE_BLOCK_POST_WRITE_2 = 22,
+ BROTLI_STATE_BLOCK_POST_CONTINUE = 23,
BROTLI_STATE_HUFFMAN_CODE_0 = 30,
BROTLI_STATE_HUFFMAN_CODE_1 = 31,
BROTLI_STATE_HUFFMAN_CODE_2 = 32,
@@ -51,6 +56,9 @@ typedef enum {
BROTLI_STATE_SUB_UNCOMPRESSED_FILL = 52,
BROTLI_STATE_SUB_UNCOMPRESSED_COPY = 53,
BROTLI_STATE_SUB_UNCOMPRESSED_WARMUP = 54,
+ BROTLI_STATE_SUB_UNCOMPRESSED_WRITE_1 = 55,
+ BROTLI_STATE_SUB_UNCOMPRESSED_WRITE_2 = 56,
+ BROTLI_STATE_SUB_UNCOMPRESSED_WRITE_3 = 57,
BROTLI_STATE_SUB_HUFFMAN_LENGTH_BEGIN = 60,
BROTLI_STATE_SUB_HUFFMAN_LENGTH_SYMBOLS = 61,
BROTLI_STATE_SUB_HUFFMAN_DONE = 62,
@@ -91,6 +99,7 @@ typedef struct {
int trivial_literal_context;
int meta_block_remaining_len;
+ int is_metadata;
int is_uncompressed;
int block_length[3];
int block_type[3];
@@ -131,6 +140,9 @@ typedef struct {
/* For CopyUncompressedBlockToOutput */
int nbytes;
+ /* For partial write operations */
+ int partially_written;
+
/* For HuffmanTreeGroupDecode */
int htrees_decoded;
« no previous file with comments | « third_party/brotli/dec/decode.c ('k') | third_party/brotli/dec/streams.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698