Home
last modified time | relevance | path

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

/external/webp/src/enc/
Dvp8l_enc.c459 HuffmanTree* huff_tree = NULL; in GetHuffBitLengthsAndCodes() local
498 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, in GetHuffBitLengthsAndCodes()
499 sizeof(*huff_tree)); in GetHuffBitLengthsAndCodes()
500 if (buf_rle == NULL || huff_tree == NULL) goto End; in GetHuffBitLengthsAndCodes()
506 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0); in GetHuffBitLengthsAndCodes()
507 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1); in GetHuffBitLengthsAndCodes()
508 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2); in GetHuffBitLengthsAndCodes()
509 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3); in GetHuffBitLengthsAndCodes()
510 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4); in GetHuffBitLengthsAndCodes()
514 WebPSafeFree(huff_tree); in GetHuffBitLengthsAndCodes()
[all …]
/external/webp/src/utils/
Dhuffman_encode_utils.h53 uint8_t* const buf_rle, HuffmanTree* const huff_tree,
Dhuffman_encode_utils.c408 HuffmanTree* const huff_tree, in VP8LCreateHuffmanTree() argument
413 GenerateOptimalTree(histogram, num_symbols, huff_tree, tree_depth_limit, in VP8LCreateHuffmanTree()