Home
last modified time | relevance | path

Searched refs:root_bits (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/utils/
A Dhuffman_utils.c67 int len, int root_bits) { in NextTableBitSize() argument
68 int left = 1 << (len - root_bits); in NextTableBitSize()
75 return len - root_bits; in NextTableBitSize()
95 assert(root_bits > 0); in BuildHuffmanTable()
143 int table_bits = root_bits; // key length of current table in BuildHuffmanTable()
147 for (len = 1, step = 2; len <= root_bits; ++len, step <<= 1) { in BuildHuffmanTable()
176 table_bits = NextTableBitSize(count, len, root_bits); in BuildHuffmanTable()
180 root_table[low].bits = (uint8_t)(table_bits + root_bits); in BuildHuffmanTable()
183 code.bits = (uint8_t)(len - root_bits); in BuildHuffmanTable()
212 total_size = BuildHuffmanTable(root_table, root_bits, in VP8LBuildHuffmanTable()
[all …]
A Dhuffman_utils.h81 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,

Completed in 4 milliseconds