Lines Matching refs:prob
1173 static int update_prob(int delta, int prob) in update_prob() argument
1176 return prob; in update_prob()
1178 return prob <= 128 ? in update_prob()
1179 1 + inv_recenter_nonneg(delta, prob - 1) : in update_prob()
1180 255 - inv_recenter_nonneg(delta, 255 - prob); in update_prob()
1348 static inline int update_mv_prob(int delta, int prob) in update_mv_prob() argument
1351 return prob; in update_mv_prob()
1485 u32 den, prob, count, factor; in merge_prob() local
1497 prob = clamp(((ct0 << 8) + (den >> 1)) / den, (u32)1, (u32)255); in merge_prob()
1506 return pre_prob + (((prob - pre_prob) * factor + 128) >> 8); in merge_prob()
1753 static inline u8 adapt_prob(u8 prob, const u32 counts[2]) in adapt_prob() argument
1755 return noncoef_merge_prob(prob, counts[0], counts[1]); in adapt_prob()