Lines Matching refs:tree
6 * tree. An additional intellectual property rights grant can be found
8 * be found in the AUTHORS file in the root of the source tree.
13 static void tree2tok(struct vp9_token *tokens, const vp9_tree_index *tree,
19 const vp9_tree_index j = tree[i++];
24 tree2tok(tokens, tree, j, v, l);
30 const vp9_tree_index *tree) {
31 tree2tok(tokens, tree, 0, 0, 0);
34 static unsigned int convert_distribution(unsigned int i, vp9_tree tree,
39 if (tree[i] <= 0)
40 left = num_events[-tree[i]];
42 left = convert_distribution(tree[i], tree, branch_ct, num_events);
44 if (tree[i + 1] <= 0)
45 right = num_events[-tree[i + 1]];
47 right = convert_distribution(tree[i + 1], tree, branch_ct, num_events);
54 void vp9_tree_probs_from_distribution(vp9_tree tree,
57 convert_distribution(0, tree, branch_ct, num_events);