Home
last modified time | relevance | path

Searched refs:tree_nodes (Results 1 – 3 of 3) 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.c137 const int tree_nodes = tree_nodes_inc + 256 + 64 + 16 + 4 + 1; in av1_setup_pc_tree() local
146 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() local
197 for (int i = 0; i < tree_nodes; ++i) { in av1_free_pc_tree()
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/
Dtraining_ops.cc840 std::vector<TreeNode> tree_nodes; in PruneTree() local
841 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()