• Home
  • Raw
  • Download

Lines Matching defs:BrotliDecoderStateStruct

101 struct BrotliDecoderStateStruct {  struct
102 BrotliRunningState state;
105 int loop_counter;
107 BrotliBitReader br;
109 brotli_alloc_func alloc_func;
110 brotli_free_func free_func;
111 void* memory_manager_opaque;
114 union {
117 } buffer;
118 uint32_t buffer_length;
120 int pos;
121 int max_backward_distance;
122 int max_distance;
123 int ringbuffer_size;
124 int ringbuffer_mask;
125 int dist_rb_idx;
126 int dist_rb[4];
127 int error_code;
128 uint32_t sub_loop_counter;
129 uint8_t* ringbuffer;
130 uint8_t* ringbuffer_end;
131 HuffmanCode* htree_command;
132 const uint8_t* context_lookup;
133 uint8_t* context_map_slice;
134 uint8_t* dist_context_map_slice;
138 HuffmanTreeGroup literal_hgroup;
139 HuffmanTreeGroup insert_copy_hgroup;
140 HuffmanTreeGroup distance_hgroup;
141 HuffmanCode* block_type_trees;
142 HuffmanCode* block_len_trees;
145 int trivial_literal_context;
148 int distance_context;
149 int meta_block_remaining_len;
150 uint32_t block_length_index;
151 uint32_t block_length[3];
152 uint32_t num_block_types[3];
153 uint32_t block_type_rb[6];
154 uint32_t distance_postfix_bits;
155 uint32_t num_direct_distance_codes;
156 int distance_postfix_mask;
157 uint32_t num_dist_htrees;
158 uint8_t* dist_context_map;
159 HuffmanCode* literal_htree;
160 uint8_t dist_htree_index;
161 uint32_t repeat_code_len;
162 uint32_t prev_code_len;
164 int copy_length;
165 int distance_code;
168 size_t rb_roundtrips; /* how many times we went around the ring-buffer */
169 size_t partial_pos_out; /* how much output to the user in total */
172 uint32_t symbol;
173 uint32_t repeat;
174 uint32_t space;
176 HuffmanCode table[32];
178 uint16_t* symbol_lists;
180 uint16_t symbols_lists_array[BROTLI_HUFFMAN_MAX_CODE_LENGTH + 1 +
183 int next_symbol[32];
184 uint8_t code_length_code_lengths[BROTLI_CODE_LENGTH_CODES];
186 uint16_t code_length_histo[16];
189 int htree_index;
190 HuffmanCode* next;
193 uint32_t context_index;
194 uint32_t max_run_length_prefix;
195 uint32_t code;
196 HuffmanCode context_map_table[BROTLI_HUFFMAN_MAX_SIZE_272];
199 uint32_t mtf_upper_bound;
200 uint32_t mtf[64 + 1];
205 BrotliRunningMetablockHeaderState substate_metablock_header;
206 BrotliRunningTreeGroupState substate_tree_group;
207 BrotliRunningContextMapState substate_context_map;
208 BrotliRunningUncompressedState substate_uncompressed;
209 BrotliRunningHuffmanState substate_huffman;
210 BrotliRunningDecodeUint8State substate_decode_uint8;
234 typedef struct BrotliDecoderStateStruct BrotliDecoderStateInternal; argument