Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-vp9.c1483 static u8 merge_prob(u8 pre_prob, u32 ct0, u32 ct1, u16 count_sat, u32 max_update_factor) in merge_prob() argument
1494 return pre_prob; in merge_prob()
1506 return pre_prob + (((prob - pre_prob) * factor + 128) >> 8); in merge_prob()
1509 static inline u8 noncoef_merge_prob(u8 pre_prob, u32 ct0, u32 ct1) in noncoef_merge_prob() argument
1511 return merge_prob(pre_prob, ct0, ct1, 20, 128); in noncoef_merge_prob()
/linux-6.1.9/drivers/staging/media/meson/vdec/
Dcodec_vp9.c1449 int pre_prob, new_prob; in vp9_tree_merge_probs() local
1455 pre_prob = (prob_32 >> prob_shift) & 0xff; in vp9_tree_merge_probs()
1460 new_prob = pre_prob; in vp9_tree_merge_probs()
1470 new_prob = round_power_of_two(pre_prob * (256 - factor) + in vp9_tree_merge_probs()
1488 int pre_prob, new_prob; in adapt_coef_probs_cxt() local
1511 pre_prob = (prob_32 >> prob_shift) & 0xff; in adapt_coef_probs_cxt()
1525 round_power_of_two(pre_prob * (256 - factor) + in adapt_coef_probs_cxt()
1561 int pre_prob; in adapt_coef_probs() local
1662 pre_prob = (prob_32 >> prob_shift) & 0xff; in adapt_coef_probs()
1665 new_prob = pre_prob; in adapt_coef_probs()
[all …]