Home
last modified time | relevance | path

Searched refs:HuffmanCode (Results 1 – 9 of 9) sorted by relevance

/external/brotli/dec/
Dhuffman.h38 } HuffmanCode; typedef
41 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
46 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,
53 BROTLI_INTERNAL uint32_t BrotliBuildSimpleHuffmanTable(HuffmanCode* table,
58 HuffmanCode** htrees;
59 HuffmanCode* codes;
Dstate.h128 HuffmanCode* htree_command;
139 HuffmanCode* block_type_trees;
140 HuffmanCode* block_len_trees;
157 HuffmanCode* literal_htree;
174 HuffmanCode table[32];
188 HuffmanCode* next;
194 HuffmanCode context_map_table[BROTLI_HUFFMAN_MAX_SIZE_272];
Dhuffman.c80 static BROTLI_INLINE void ReplicateValue(HuffmanCode* table, in ReplicateValue()
82 HuffmanCode code) { in ReplicateValue()
104 void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* table, in BrotliBuildCodeLengthsHuffmanTable()
107 HuffmanCode code; /* current table entry */ in BrotliBuildCodeLengthsHuffmanTable()
171 uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table, in BrotliBuildHuffmanTable()
175 HuffmanCode code; /* current table entry */ in BrotliBuildHuffmanTable()
176 HuffmanCode* table; /* next available space in table */ in BrotliBuildHuffmanTable()
267 uint32_t BrotliBuildSimpleHuffmanTable(HuffmanCode* table, in BrotliBuildSimpleHuffmanTable()
Dstate.c156 const size_t code_size = sizeof(HuffmanCode) * ntrees * max_table_size; in BrotliDecoderHuffmanTreeGroupInit()
157 const size_t htree_size = sizeof(HuffmanCode*) * ntrees; in BrotliDecoderHuffmanTreeGroupInit()
159 HuffmanCode** p = (HuffmanCode**)BROTLI_ALLOC(s, code_size + htree_size); in BrotliDecoderHuffmanTreeGroupInit()
163 group->codes = (HuffmanCode*)(&p[ntrees]); in BrotliDecoderHuffmanTreeGroupInit()
Ddecode.c299 const HuffmanCode* table, in DecodeSymbol()
314 static BROTLI_INLINE uint32_t ReadSymbol(const HuffmanCode* table, in ReadSymbol()
322 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeDecodeSymbol()
361 const HuffmanCode* table, BrotliBitReader* br, uint32_t* result) { in SafeReadSymbol()
372 const HuffmanCode* table, in PreloadSymbol()
386 static BROTLI_INLINE uint32_t ReadPreloadedSymbol(const HuffmanCode* table, in ReadPreloadedSymbol()
393 const HuffmanCode* ext = table + (val & HUFFMAN_TABLE_MASK) + *value; in ReadPreloadedSymbol()
551 const HuffmanCode* p = s->table; in ReadSymbolCodeLengths()
589 const HuffmanCode* p = s->table; in SafeReadSymbolCodeLengths()
686 HuffmanCode* table, in ReadHuffmanCode()
[all …]
/external/webp/src/utils/
Dhuffman_utils.c53 static WEBP_INLINE void ReplicateValue(HuffmanCode* table, in ReplicateValue()
55 HuffmanCode code) { in ReplicateValue()
80 static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in BuildHuffmanTable()
83 HuffmanCode* table = root_table; // next available space in table in BuildHuffmanTable()
129 HuffmanCode code; in BuildHuffmanTable()
155 HuffmanCode code; in BuildHuffmanTable()
173 HuffmanCode code; in BuildHuffmanTable()
205 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in VP8LBuildHuffmanTable()
Dhuffman_utils.h36 } HuffmanCode; typedef
58 HuffmanCode* htrees[HUFFMAN_CODES_PER_META_CODE];
81 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,
/external/webp/src/dec/
Dvp8l_dec.c183 static WEBP_INLINE int ReadSymbol(const HuffmanCode* table, in ReadSymbol()
219 static int AccumulateHCode(HuffmanCode hcode, int shift, in AccumulateHCode()
232 HuffmanCode hcode = htree_group->htrees[GREEN][bits]; in BuildPackedTable()
256 HuffmanCode table[1 << LENGTHS_TABLE_BITS]; in ReadHuffmanCodeLengths()
276 const HuffmanCode* p; in ReadHuffmanCodeLengths()
310 int* const code_lengths, HuffmanCode* const table) { in ReadHuffmanCode()
365 HuffmanCode* huffman_tables = NULL; in ReadHuffmanCodes()
366 HuffmanCode* next = NULL; in ReadHuffmanCodes()
406 huffman_tables = (HuffmanCode*)WebPSafeMalloc(num_htree_groups * table_size, in ReadHuffmanCodes()
420 HuffmanCode** const htrees = htree_group->htrees; in ReadHuffmanCodes()
[all …]
Dvp8li_dec.h54 HuffmanCode *huffman_tables_;