Home
last modified time | relevance | path

Searched refs:tree_nodes (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_context_tree.c95 const int tree_nodes = 64 + 16 + 4 + 1; in vp9_setup_pc_tree() local
107 vpx_calloc(tree_nodes, sizeof(*td->pc_tree))); in vp9_setup_pc_tree()
137 td->pc_root = &td->pc_tree[tree_nodes - 1]; in vp9_setup_pc_tree()
154 const int tree_nodes = 64 + 16 + 4 + 1; in vp9_free_pc_tree() local
156 for (i = 0; i < tree_nodes; ++i) free_tree_contexts(&td->pc_tree[i]); in vp9_free_pc_tree()
/external/libaom/libaom/av1/encoder/
Dcontext_tree.c139 const int tree_nodes = in get_pc_tree_nodes() local
141 return tree_nodes; in get_pc_tree_nodes()
152 const int tree_nodes = in av1_setup_pc_tree() local
162 aom_calloc(tree_nodes, sizeof(*td->pc_tree))); in av1_setup_pc_tree()
213 td->pc_root = &td->pc_tree[tree_nodes - 1]; in av1_setup_pc_tree()
224 const int tree_nodes = in av1_free_pc_tree() local
226 for (int i = 0; i < tree_nodes; ++i) { in av1_free_pc_tree()