Searched refs:code_lengths (Results 1 - 6 of 6) sorted by relevance
/external/webp/src/utils/ |
H A D | huffman_encode_utils.h | 32 uint8_t* code_lengths; // Code lengths of the symbols. member in struct:__anon24253
|
H A D | huffman_utils.c | 81 const int code_lengths[], int code_lengths_size, 93 assert(code_lengths != NULL); 99 if (code_lengths[symbol] > MAX_ALLOWED_CODE_LENGTH) { 102 ++count[code_lengths[symbol]]; 121 const int symbol_code_length = code_lengths[symbol]; 122 if (code_lengths[symbol] > 0) { 206 const int code_lengths[], int code_lengths_size) { 213 code_lengths, code_lengths_size, sorted); 219 code_lengths, code_lengths_size, sorted); 80 BuildHuffmanTable(HuffmanCode* const root_table, int root_bits, const int code_lengths[], int code_lengths_size, uint16_t sorted[]) argument 205 VP8LBuildHuffmanTable(HuffmanCode* const root_table, int root_bits, const int code_lengths[], int code_lengths_size) argument
|
H A D | huffman_utils.h | 77 // The 'code_lengths' is pre-allocated temporary memory buffer used for creating 82 const int code_lengths[], int code_lengths_size);
|
H A D | huffman_encode_utils.c | 335 const int value = tree->code_lengths[i]; 338 while (k < depth_size && tree->code_lengths[k] == value) ++k; 384 const int code_length = tree->code_lengths[i]; 398 const int code_length = tree->code_lengths[i]; 414 huff_code->code_lengths);
|
/external/webp/src/dec/ |
H A D | vp8l_dec.c | 250 int num_symbols, int* const code_lengths) { 284 code_lengths[symbol++] = code_len; 296 while (repeat-- > 0) code_lengths[symbol++] = length; 307 // 'code_lengths' is pre-allocated temporary buffer, used for creating Huffman 310 int* const code_lengths, HuffmanCode* const table) { 316 memset(code_lengths, 0, alphabet_size * sizeof(*code_lengths)); 323 code_lengths[symbol] = 1; 327 code_lengths[symbol] = 1; 343 code_lengths); 248 ReadHuffmanCodeLengths( VP8LDecoder* const dec, const int* const code_length_code_lengths, int num_symbols, int* const code_lengths) argument 309 ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, int* const code_lengths, HuffmanCode* const table) argument 369 int* code_lengths = NULL; local [all...] |
/external/webp/src/enc/ |
H A D | vp8l_enc.c | 425 huffman_codes[i].code_lengths = lengths; 487 if (huffman_code->code_lengths[k] != 0) { 493 huffman_code->code_lengths[k] = 0; 506 VP8LPutBits(bw, huffman_code->codes[ix], huffman_code->code_lengths[ix]); 532 huffman_code.code_lengths = code_length_bitdepth; 597 if (huffman_code->code_lengths[i] != 0) { 627 const int depth = code->code_lengths[code_index]; 638 const int depth = code->code_lengths[code_index];
|
Completed in 129 milliseconds