Lines Matching defs:BrotliDecoderStateStruct
254 struct BrotliDecoderStateStruct { struct
255 BrotliRunningState state;
258 int loop_counter;
260 BrotliBitReader br;
262 brotli_alloc_func alloc_func;
263 brotli_free_func free_func;
264 void* memory_manager_opaque;
268 union {
271 } buffer;
272 brotli_reg_t buffer_length;
274 int pos;
275 int max_backward_distance;
276 int max_distance;
277 int ringbuffer_size;
278 int ringbuffer_mask;
279 int dist_rb_idx;
280 int dist_rb[4];
281 int error_code;
282 int meta_block_remaining_len;
284 uint8_t* ringbuffer;
285 uint8_t* ringbuffer_end;
286 HuffmanCode* htree_command;
287 const uint8_t* context_lookup;
288 uint8_t* context_map_slice;
289 uint8_t* dist_context_map_slice;
293 HuffmanTreeGroup literal_hgroup;
294 HuffmanTreeGroup insert_copy_hgroup;
295 HuffmanTreeGroup distance_hgroup;
296 HuffmanCode* block_type_trees;
297 HuffmanCode* block_len_trees;
300 int trivial_literal_context;
303 int distance_context;
304 brotli_reg_t block_length[3];
305 brotli_reg_t block_length_index;
306 brotli_reg_t num_block_types[3];
307 brotli_reg_t block_type_rb[6];
308 brotli_reg_t distance_postfix_bits;
309 brotli_reg_t num_direct_distance_codes;
310 brotli_reg_t num_dist_htrees;
311 uint8_t* dist_context_map;
312 HuffmanCode* literal_htree;
315 size_t rb_roundtrips; /* how many times we went around the ring-buffer */
316 size_t partial_pos_out; /* how much output to the user in total */
319 brotli_reg_t mtf_upper_bound;
320 uint32_t mtf[64 + 1];
322 int copy_length;
323 int distance_code;
325 uint8_t dist_htree_index;
330 brotli_decoder_metadata_start_func metadata_start_func;
331 brotli_decoder_metadata_chunk_func metadata_chunk_func;
332 void* metadata_callback_opaque;
335 uint64_t used_input; /* how many bytes of input are consumed */
338 BrotliRunningMetablockHeaderState substate_metablock_header;
339 BrotliRunningUncompressedState substate_uncompressed;
340 BrotliRunningDecodeUint8State substate_decode_uint8;
341 BrotliRunningReadBlockLengthState substate_read_block_length;
343 int new_ringbuffer_size;
346 unsigned int is_last_metablock : 1;
347 unsigned int is_uncompressed : 1;
371 typedef struct BrotliDecoderStateStruct BrotliDecoderStateInternal; argument