summaryrefslogtreecommitdiffstats
path: root/modules/brotli/enc/encoder_dict.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-11-13 15:59:29 +0000
committerMoonchild <moonchild@palemoon.org>2020-11-18 10:58:22 +0000
commitb645d59b1e170af1cb0963935bd8c915e56c431c (patch)
tree49fdc8001d5758558ada7a711f31e08095388294 /modules/brotli/enc/encoder_dict.h
parent71e0814af25e8619782294e65aa42aa1044dabdc (diff)
downloadUXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar
UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.gz
UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.lz
UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.tar.xz
UXP-b645d59b1e170af1cb0963935bd8c915e56c431c.zip
Issue #1683 - Update Brotli lib to 1.0.9
Diffstat (limited to 'modules/brotli/enc/encoder_dict.h')
-rw-r--r--modules/brotli/enc/encoder_dict.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/brotli/enc/encoder_dict.h b/modules/brotli/enc/encoder_dict.h
index 3cb6b0ac1..a1c329fbf 100644
--- a/modules/brotli/enc/encoder_dict.h
+++ b/modules/brotli/enc/encoder_dict.h
@@ -19,13 +19,15 @@ extern "C" {
/* Dictionary data (words and transforms) for 1 possible context */
typedef struct BrotliEncoderDictionary {
const BrotliDictionary* words;
+ uint32_t num_transforms;
/* cut off for fast encoder */
uint32_t cutoffTransformsCount;
uint64_t cutoffTransforms;
/* from dictionary_hash.h, for fast encoder */
- const uint16_t* hash_table;
+ const uint16_t* hash_table_words;
+ const uint8_t* hash_table_lengths;
/* from static_dict_lut.h, for slow encoder */
const uint16_t* buckets;