Home
last modified time | relevance | path

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

/external/webp/src/utils/
Dhuffman_utils.c25 HTreeGroup* VP8LHtreeGroupsNew(int num_htree_groups) { in VP8LHtreeGroupsNew() argument
27 (HTreeGroup*)WebPSafeMalloc(num_htree_groups, sizeof(*htree_groups)); in VP8LHtreeGroupsNew()
31 assert(num_htree_groups <= MAX_HTREE_GROUPS); in VP8LHtreeGroupsNew()
Dhuffman_utils.h71 HTreeGroup* VP8LHtreeGroupsNew(int num_htree_groups);
/external/webp/src/dec/
Dvp8l_dec.c367 int num_htree_groups = 1; in ReadHuffmanCodes() local
411 for (num_htree_groups = 0, i = 0; i < huffman_pixs; ++i) { in ReadHuffmanCodes()
414 if (*mapped_group == -1) *mapped_group = num_htree_groups++; in ReadHuffmanCodes()
418 num_htree_groups = num_htree_groups_max; in ReadHuffmanCodes()
437 huffman_tables = (HuffmanCode*)WebPSafeMalloc(num_htree_groups * table_size, in ReadHuffmanCodes()
439 htree_groups = VP8LHtreeGroupsNew(num_htree_groups); in ReadHuffmanCodes()
516 hdr->num_htree_groups_ = num_htree_groups; in ReadHuffmanCodes()