Home
last modified time | relevance | path

Searched refs:tot (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dtreecoder.c128 const unsigned int tot = c[0] + c[1]; in vp8_tree_probs_from_distribution() local
131 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()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dencodemv.c189 const unsigned int tot = ct[0] + ct[1]; in calc_prob() local
191 if (tot) in calc_prob()
193 const vp8_prob x = ((ct[0] * 255) / tot) & -2; in calc_prob()