Searched refs:huff_codes (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/libwebp/utils/
H A Dhuffman.h75 // The 'huff_codes' and 'code_lengths' are pre-allocated temporary memory
80 int* const huff_codes,
93 // 'huff_codes' should be pre-allocated.
96 int code_lengths_size, int* const huff_codes);
H A Dhuffman.c112 int* const huff_codes) {
122 assert(huff_codes != NULL);
151 huff_codes[symbol] = next_codes[code_lengths[symbol]]++;
153 huff_codes[symbol] = NON_EXISTENT_SYMBOL;
110 VP8LHuffmanCodeLengthsToCodes( const int* const code_lengths, int code_lengths_size, int* const huff_codes) argument
/external/webp/src/utils/
H A Dhuffman.h75 // The 'huff_codes' and 'code_lengths' are pre-allocated temporary memory
80 int* const huff_codes,
93 // 'huff_codes' should be pre-allocated.
96 int code_lengths_size, int* const huff_codes);
H A Dhuffman.c112 int* const huff_codes) {
122 assert(huff_codes != NULL);
151 huff_codes[symbol] = next_codes[code_lengths[symbol]]++;
153 huff_codes[symbol] = NON_EXISTENT_SYMBOL;
110 VP8LHuffmanCodeLengthsToCodes( const int* const code_lengths, int code_lengths_size, int* const huff_codes) argument
/external/chromium_org/third_party/libwebp/dec/
H A Dvp8l.c190 int huff_codes[NUM_CODE_LENGTH_CODES] = { 0 }; local
193 huff_codes, NUM_CODE_LENGTH_CODES)) {
243 int* const code_lengths, int* const huff_codes,
282 ok = ok && VP8LHuffmanTreeBuildImplicit(tree, code_lengths, huff_codes,
303 int* huff_codes = NULL; local
343 huff_codes =
344 (int*)WebPSafeMalloc((uint64_t)max_alphabet_size, sizeof(*huff_codes));
346 if (htree_groups == NULL || code_lengths == NULL || huff_codes == NULL) {
359 if (!ReadHuffmanCode(alphabet_size, dec, code_lengths, huff_codes,
365 WebPSafeFree(huff_codes);
242 ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, int* const code_lengths, int* const huff_codes, HuffmanTree* const tree) argument
[all...]
/external/webp/src/dec/
H A Dvp8l.c190 int huff_codes[NUM_CODE_LENGTH_CODES] = { 0 }; local
193 huff_codes, NUM_CODE_LENGTH_CODES)) {
243 int* const code_lengths, int* const huff_codes,
282 ok = ok && VP8LHuffmanTreeBuildImplicit(tree, code_lengths, huff_codes,
303 int* huff_codes = NULL; local
343 huff_codes =
344 (int*)WebPSafeMalloc((uint64_t)max_alphabet_size, sizeof(*huff_codes));
346 if (htree_groups == NULL || code_lengths == NULL || huff_codes == NULL) {
359 if (!ReadHuffmanCode(alphabet_size, dec, code_lengths, huff_codes,
365 WebPSafeFree(huff_codes);
242 ReadHuffmanCode(int alphabet_size, VP8LDecoder* const dec, int* const code_lengths, int* const huff_codes, HuffmanTree* const tree) argument
[all...]

Completed in 690 milliseconds