Searched refs:tree_nodes (Results 1 – 3 of 3) sorted by relevance
95 const int tree_nodes = 64 + 16 + 4 + 1; in vp9_setup_pc_tree() local107 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() local156 for (i = 0; i < tree_nodes; ++i) free_tree_contexts(&td->pc_tree[i]); in vp9_free_pc_tree()
137 const int tree_nodes = tree_nodes_inc + 256 + 64 + 16 + 4 + 1; in av1_setup_pc_tree() local146 aom_calloc(tree_nodes, sizeof(*td->pc_tree))); in av1_setup_pc_tree()184 td->pc_root[i] = &td->pc_tree[tree_nodes - 1]; in av1_setup_pc_tree()196 const int tree_nodes = tree_nodes_inc + 256 + 64 + 16 + 4 + 1; in av1_free_pc_tree() local197 for (int i = 0; i < tree_nodes; ++i) { in av1_free_pc_tree()
840 std::vector<TreeNode> tree_nodes; in PruneTree() local841 tree_nodes.reserve(tree_config->nodes_size()); in PruneTree()843 tree_nodes.push_back(node); in PruneTree()849 RecursivePruneTree(0, &tree_nodes); in PruneTree()852 (*tree_config->add_nodes()) = tree_nodes[0]; in PruneTree()855 for (size_t node_idx = 0; node_idx < tree_nodes.size(); ++node_idx) { in PruneTree()857 auto& original_node = tree_nodes[node_idx]; in PruneTree()872 (*tree_config->add_nodes()) = tree_nodes[child_idx]; in PruneTree()