Home
last modified time | relevance | path

Searched refs:huff_codes (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/utils/
Dhuffman.h80 int* const huff_codes,
96 int code_lengths_size, int* const huff_codes);
Dhuffman.c112 int* const huff_codes) { in VP8LHuffmanCodeLengthsToCodes() argument
122 assert(huff_codes != NULL); in VP8LHuffmanCodeLengthsToCodes()
151 huff_codes[symbol] = next_codes[code_lengths[symbol]]++; in VP8LHuffmanCodeLengthsToCodes()
153 huff_codes[symbol] = NON_EXISTENT_SYMBOL; in VP8LHuffmanCodeLengthsToCodes()
/external/webp/src/dec/
Dvp8l.c190 int huff_codes[NUM_CODE_LENGTH_CODES] = { 0 }; in ReadHuffmanCodeLengths() local
193 huff_codes, NUM_CODE_LENGTH_CODES)) { in ReadHuffmanCodeLengths()
244 int* const code_lengths, int* const huff_codes, in ReadHuffmanCode() argument
283 ok = ok && VP8LHuffmanTreeBuildImplicit(tree, code_lengths, huff_codes, in ReadHuffmanCode()
304 int* huff_codes = NULL; in ReadHuffmanCodes() local
344 huff_codes = in ReadHuffmanCodes()
345 (int*)WebPSafeMalloc((uint64_t)max_alphabet_size, sizeof(*huff_codes)); in ReadHuffmanCodes()
347 if (htree_groups == NULL || code_lengths == NULL || huff_codes == NULL) { in ReadHuffmanCodes()
360 if (!ReadHuffmanCode(alphabet_size, dec, code_lengths, huff_codes, in ReadHuffmanCodes()
366 WebPSafeFree(huff_codes); in ReadHuffmanCodes()
[all …]