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.h97 void VP8LHtreeGroupsFree(HTreeGroup* const htree_groups);
/external/webp/src/dec/
Dvp8l_dec.c366 HTreeGroup* htree_groups = NULL; in ReadHuffmanCodes() local
442 htree_groups = VP8LHtreeGroupsNew(num_htree_groups); in ReadHuffmanCodes()
444 if (htree_groups == NULL || code_lengths == NULL || in ReadHuffmanCodes()
467 &htree_groups[(mapping == NULL) ? i : mapping[i]]; in ReadHuffmanCodes()
522 hdr->htree_groups_ = htree_groups; in ReadHuffmanCodes()
530 VP8LHtreeGroupsFree(htree_groups); in ReadHuffmanCodes()