Searched defs:huff_tree (Results 1 - 2 of 2) sorted by relevance
/external/webp/src/utils/ |
H A D | huffman_encode_utils.c | 408 HuffmanTree* const huff_tree, 413 GenerateOptimalTree(histogram, num_symbols, huff_tree, tree_depth_limit, 406 VP8LCreateHuffmanTree(uint32_t* const histogram, int tree_depth_limit, uint8_t* const buf_rle, HuffmanTree* const huff_tree, HuffmanTreeCode* const huff_code) argument
|
/external/webp/src/enc/ |
H A D | vp8l_enc.c | 397 HuffmanTree* huff_tree = NULL; local 435 huff_tree = (HuffmanTree*)WebPSafeMalloc(3ULL * max_num_symbols, 436 sizeof(*huff_tree)); 437 if (buf_rle == NULL || huff_tree == NULL) goto End; 443 VP8LCreateHuffmanTree(histo->literal_, 15, buf_rle, huff_tree, codes + 0); 444 VP8LCreateHuffmanTree(histo->red_, 15, buf_rle, huff_tree, codes + 1); 445 VP8LCreateHuffmanTree(histo->blue_, 15, buf_rle, huff_tree, codes + 2); 446 VP8LCreateHuffmanTree(histo->alpha_, 15, buf_rle, huff_tree, codes + 3); 447 VP8LCreateHuffmanTree(histo->distance_, 15, buf_rle, huff_tree, codes + 4); 451 WebPSafeFree(huff_tree); 522 StoreFullHuffmanCode(VP8LBitWriter* const bw, HuffmanTree* const huff_tree, HuffmanTreeToken* const tokens, const HuffmanTreeCode* const tree) argument 585 StoreHuffmanCode(VP8LBitWriter* const bw, HuffmanTree* const huff_tree, HuffmanTreeToken* const tokens, const HuffmanTreeCode* const huffman_code) argument 720 HuffmanTree* const huff_tree = (HuffmanTree*)WebPSafeMalloc( local 810 HuffmanTree* huff_tree = NULL; local [all...] |
Completed in 761 milliseconds