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.c371 int num_htree_groups = 1; in ReadHuffmanCodes() local
415 for (num_htree_groups = 0, i = 0; i < huffman_pixs; ++i) { in ReadHuffmanCodes()
418 if (*mapped_group == -1) *mapped_group = num_htree_groups++; in ReadHuffmanCodes()
428 num_htree_groups = num_htree_groups_max; in ReadHuffmanCodes()
447 huffman_tables = (HuffmanCode*)WebPSafeMalloc(num_htree_groups * table_size, in ReadHuffmanCodes()
449 htree_groups = VP8LHtreeGroupsNew(num_htree_groups); in ReadHuffmanCodes()
518 hdr->num_htree_groups_ = num_htree_groups; in ReadHuffmanCodes()