Home
last modified time | relevance | path

Searched refs:num_hnodes (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Didcinvideo.c86 static int huff_smallest_node(hnode *hnodes, int num_hnodes) { in huff_smallest_node() argument
92 for(i = 0; i < num_hnodes; i++) { in huff_smallest_node()
120 int num_hnodes, i; in huff_build_tree() local
122 num_hnodes = HUF_TOKENS; in huff_build_tree()
128 node = &hnodes[num_hnodes]; /* next free node */ in huff_build_tree()
131 node->children[0] = huff_smallest_node(hnodes, num_hnodes); in huff_build_tree()
135 node->children[1] = huff_smallest_node(hnodes, num_hnodes); in huff_build_tree()
142 num_hnodes++; in huff_build_tree()
145 s->num_huff_nodes[prev] = num_hnodes - 1; in huff_build_tree()

Completed in 2 milliseconds