Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dhuffman_utils.c26 HTreeGroup* const htree_groups = in VP8LHtreeGroupsNew() local
27 (HTreeGroup*)WebPSafeMalloc(num_htree_groups, sizeof(*htree_groups)); in VP8LHtreeGroupsNew()
28 if (htree_groups == NULL) { in VP8LHtreeGroupsNew()
32 return htree_groups; in VP8LHtreeGroupsNew()
35 void VP8LHtreeGroupsFree(HTreeGroup* const htree_groups) { in VP8LHtreeGroupsFree() argument
36 if (htree_groups != NULL) { in VP8LHtreeGroupsFree()
37 WebPSafeFree(htree_groups); in VP8LHtreeGroupsFree()
Dhuffman_utils.h74 void VP8LHtreeGroupsFree(HTreeGroup* const htree_groups);
/external/webp/src/dec/
Dvp8l_dec.c364 HTreeGroup* htree_groups = NULL; in ReadHuffmanCodes() local
439 htree_groups = VP8LHtreeGroupsNew(num_htree_groups); in ReadHuffmanCodes()
441 if (htree_groups == NULL || code_lengths == NULL || huffman_tables == NULL) { in ReadHuffmanCodes()
463 &htree_groups[(mapping == NULL) ? i : mapping[i]]; in ReadHuffmanCodes()
517 hdr->htree_groups_ = htree_groups; in ReadHuffmanCodes()
526 VP8LHtreeGroupsFree(htree_groups); in ReadHuffmanCodes()