Searched refs:tot (Results 1 – 2 of 2) sorted by relevance
128 const unsigned int tot = c[0] + c[1]; in vp8_tree_probs_from_distribution() local131 assert(tot < (1 << 24)); /* no overflow below */ in vp8_tree_probs_from_distribution()134 if (tot) in vp8_tree_probs_from_distribution()136 const unsigned int p = ((c[0] * Pfac) + (rd ? tot >> 1 : 0)) / tot; in vp8_tree_probs_from_distribution()
189 const unsigned int tot = ct[0] + ct[1]; in calc_prob() local191 if (tot) in calc_prob()193 const vp8_prob x = ((ct[0] * 255) / tot) & -2; in calc_prob()