Home
last modified time | relevance | path

Searched refs:root_table (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/utils/
Dhuffman_utils.c80 static int BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in BuildHuffmanTable() argument
83 HuffmanCode* table = root_table; // next available space in table in BuildHuffmanTable()
94 assert((root_table != NULL && sorted != NULL) || in BuildHuffmanTable()
95 (root_table == NULL && sorted == NULL)); in BuildHuffmanTable()
161 if (root_table == NULL) continue; in BuildHuffmanTable()
183 if (root_table != NULL) table += table_size; in BuildHuffmanTable()
188 if (root_table != NULL) { in BuildHuffmanTable()
189 root_table[low].bits = (uint8_t)(table_bits + root_bits); in BuildHuffmanTable()
190 root_table[low].value = (uint16_t)((table - root_table) - low); in BuildHuffmanTable()
193 if (root_table != NULL) { in BuildHuffmanTable()
[all …]
Dhuffman_utils.h104 int VP8LBuildHuffmanTable(HuffmanTables* const root_table, int root_bits,
/third_party/node/deps/brotli/c/dec/
Dhuffman.c169 uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table, in BrotliBuildHuffmanTable() argument
196 table = root_table; in BrotliBuildHuffmanTable()
244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable()
246 (uint16_t)(((size_t)(table - root_table)) - sub_key)); in BrotliBuildHuffmanTable()
Dhuffman.h91 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
96 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,
/third_party/skia/third_party/externals/brotli/c/dec/
Dhuffman.c169 uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table, in BrotliBuildHuffmanTable() argument
196 table = root_table; in BrotliBuildHuffmanTable()
244 root_table[sub_key] = ConstructHuffmanCode( in BrotliBuildHuffmanTable()
246 (uint16_t)(((size_t)(table - root_table)) - sub_key)); in BrotliBuildHuffmanTable()
Dhuffman.h91 BROTLI_INTERNAL void BrotliBuildCodeLengthsHuffmanTable(HuffmanCode* root_table,
96 BROTLI_INTERNAL uint32_t BrotliBuildHuffmanTable(HuffmanCode* root_table,