Searched refs:ConstructHuffmanCode (Results 1 – 2 of 2) sorted by relevance
/external/brotli/c/dec/ |
D | huffman.c | 145 code = ConstructHuffmanCode(0, (uint16_t)sorted[0]); in BrotliBuildCodeLengthsHuffmanTable() 160 code = ConstructHuffmanCode((uint8_t)bits, (uint16_t)sorted[symbol++]); in BrotliBuildCodeLengthsHuffmanTable() 215 code = ConstructHuffmanCode((uint8_t)bits, (uint16_t)symbol); in BrotliBuildHuffmanTable() 244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable() 250 code = ConstructHuffmanCode((uint8_t)(len - root_bits), (uint16_t)symbol); in BrotliBuildHuffmanTable() 269 table[0] = ConstructHuffmanCode(0, val[0]); in BrotliBuildSimpleHuffmanTable() 273 table[0] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() 274 table[1] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 276 table[0] = ConstructHuffmanCode(1, val[1]); in BrotliBuildSimpleHuffmanTable() 277 table[1] = ConstructHuffmanCode(1, val[0]); in BrotliBuildSimpleHuffmanTable() [all …]
|
D | huffman.h | 49 static BROTLI_INLINE HuffmanCode ConstructHuffmanCode(const uint8_t bits, in ConstructHuffmanCode() function 83 static BROTLI_INLINE HuffmanCode ConstructHuffmanCode(const uint8_t bits, in ConstructHuffmanCode() function
|