Searched refs:huff_tree (Results 1 – 3 of 3) sorted by relevance
/external/webp/src/enc/ |
D | vp8l_enc.c | 481 HuffmanTree* huff_tree = NULL; in GetHuffBitLengthsAndCodes() local 520 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, in GetHuffBitLengthsAndCodes() 521 sizeof(*huff_tree)); in GetHuffBitLengthsAndCodes() 522 if (buf_rle == NULL || huff_tree == NULL) goto End; in GetHuffBitLengthsAndCodes() 528 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0); in GetHuffBitLengthsAndCodes() 529 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1); in GetHuffBitLengthsAndCodes() 530 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2); in GetHuffBitLengthsAndCodes() 531 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3); in GetHuffBitLengthsAndCodes() 532 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4); in GetHuffBitLengthsAndCodes() 536 WebPSafeFree(huff_tree); in GetHuffBitLengthsAndCodes() [all …]
|
/external/webp/src/utils/ |
D | huffman_encode_utils.h | 53 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
|
D | huffman_encode_utils.c | 408 HuffmanTree* const huff_tree, in VP8LCreateHuffmanTree() argument 413 GenerateOptimalTree(histogram, num_symbols, huff_tree, tree_depth_limit, in VP8LCreateHuffmanTree()
|