Lines Matching refs:segcounts

52 static void calc_segtree_probs(int *segcounts, vpx_prob *segment_tree_probs) {  in calc_segtree_probs()  argument
54 const int c01 = segcounts[0] + segcounts[1]; in calc_segtree_probs()
55 const int c23 = segcounts[2] + segcounts[3]; in calc_segtree_probs()
56 const int c45 = segcounts[4] + segcounts[5]; in calc_segtree_probs()
57 const int c67 = segcounts[6] + segcounts[7]; in calc_segtree_probs()
62 segment_tree_probs[3] = get_binary_prob(segcounts[0], segcounts[1]); in calc_segtree_probs()
63 segment_tree_probs[4] = get_binary_prob(segcounts[2], segcounts[3]); in calc_segtree_probs()
64 segment_tree_probs[5] = get_binary_prob(segcounts[4], segcounts[5]); in calc_segtree_probs()
65 segment_tree_probs[6] = get_binary_prob(segcounts[6], segcounts[7]); in calc_segtree_probs()
69 static int cost_segmap(int *segcounts, vpx_prob *probs) { in cost_segmap() argument
70 const int c01 = segcounts[0] + segcounts[1]; in cost_segmap()
71 const int c23 = segcounts[2] + segcounts[3]; in cost_segmap()
72 const int c45 = segcounts[4] + segcounts[5]; in cost_segmap()
73 const int c67 = segcounts[6] + segcounts[7]; in cost_segmap()
87 cost += segcounts[0] * vp9_cost_zero(probs[3]) + in cost_segmap()
88 segcounts[1] * vp9_cost_one(probs[3]); in cost_segmap()
90 cost += segcounts[2] * vp9_cost_zero(probs[4]) + in cost_segmap()
91 segcounts[3] * vp9_cost_one(probs[4]); in cost_segmap()
99 cost += segcounts[4] * vp9_cost_zero(probs[5]) + in cost_segmap()
100 segcounts[5] * vp9_cost_one(probs[5]); in cost_segmap()
102 cost += segcounts[6] * vp9_cost_zero(probs[6]) + in cost_segmap()
103 segcounts[7] * vp9_cost_one(probs[6]); in cost_segmap()