Searched refs:root_bits (Results 1 – 2 of 2) sorted by relevance
/external/webp/src/utils/ |
D | huffman.c | 67 int len, int root_bits) { in NextTableBitSize() argument 68 int left = 1 << (len - root_bits); in NextTableBitSize() 75 return len - root_bits; in NextTableBitSize() 78 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, in VP8LBuildHuffmanTable() argument 81 int total_size = 1 << root_bits; // total size root table + 2nd level table in VP8LBuildHuffmanTable() 93 assert(root_bits > 0); in VP8LBuildHuffmanTable() 147 int table_bits = root_bits; // key length of current table in VP8LBuildHuffmanTable() 151 for (len = 1, step = 2; len <= root_bits; ++len, step <<= 1) { in VP8LBuildHuffmanTable() 169 for (len = root_bits + 1, step = 2; len <= MAX_ALLOWED_CODE_LENGTH; in VP8LBuildHuffmanTable() 182 table_bits = NextTableBitSize(count, len, root_bits); in VP8LBuildHuffmanTable() [all …]
|
D | huffman.h | 81 int VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits,
|