Searched refs:code_lengths (Results 1 - 6 of 6) sorted by relevance
/external/webp/src/utils/ |
H A D | huffman.h | 55 const int* const code_lengths, 62 const int* const code_lengths, 70 int HuffmanCodeLengthsToCodes(const int* const code_lengths,
|
H A D | huffman.c | 70 int HuffmanCodeLengthsToCodes(const int* const code_lengths, argument 79 assert(code_lengths != NULL); 85 if (code_lengths[symbol] > max_code_length) { 86 max_code_length = code_lengths[symbol]; 93 ++code_length_hist[code_lengths[symbol]]; 109 if (code_lengths[symbol] > 0) { 110 huff_codes[symbol] = next_codes[code_lengths[symbol]]++; 144 const int* const code_lengths, 151 assert(code_lengths != NULL); 155 if (code_lengths[symbo 143 HuffmanTreeBuildImplicit(HuffmanTree* const tree, const int* const code_lengths, int code_lengths_size) argument 202 HuffmanTreeBuildExplicit(HuffmanTree* const tree, const int* const code_lengths, const int* const codes, const int* const symbols, int max_symbol, int num_symbols) argument [all...] |
H A D | huffman_encode.h | 30 uint8_t* code_lengths; // Code lengths of the symbols. member in struct:__anon15076
|
H A D | huffman_encode.c | 355 const int value = tree->code_lengths[i]; 358 while (k < depth_size && tree->code_lengths[k] == value) ++k; 404 const int code_length = tree->code_lengths[i]; 418 const int code_length = tree->code_lengths[i]; 433 tree_depth_limit, tree->code_lengths)) {
|
/external/webp/src/dec/ |
H A D | vp8l.c | 179 int num_symbols, int* const code_lengths) { 211 code_lengths[symbol++] = code_len; 224 while (repeat-- > 0) code_lengths[symbol++] = length; 244 int code_lengths[2]; local 250 code_lengths[0] = num_symbols - 1; 255 code_lengths[1] = num_symbols - 1; 257 ok = HuffmanTreeBuildExplicit(tree, code_lengths, codes, symbols, 260 int* code_lengths = NULL; local 269 code_lengths = 270 (int*)WebPSafeCalloc((uint64_t)alphabet_size, sizeof(*code_lengths)); 177 ReadHuffmanCodeLengths( VP8LDecoder* const dec, const int* const code_length_code_lengths, int num_symbols, int* const code_lengths) argument [all...] |
/external/webp/src/enc/ |
H A D | vp8l.c | 216 huffman_codes[i].code_lengths = lengths; 265 if (huffman_code->code_lengths[k] != 0) { 271 huffman_code->code_lengths[k] = 0; 284 VP8LWriteBits(bw, huffman_code->code_lengths[ix], huffman_code->codes[ix]); 312 huffman_code.code_lengths = code_length_bitdepth; 379 if (huffman_code->code_lengths[i] != 0) { 410 const int depth = code->code_lengths[index];
|
Completed in 85 milliseconds