Searched refs:count_sat (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/media/v4l2-core/ |
D | v4l2-vp9.c | 1483 static u8 merge_prob(u8 pre_prob, u32 ct0, u32 ct1, u16 count_sat, u32 max_update_factor) in merge_prob() argument 1498 count = min_t(u32, den, count_sat); in merge_prob() 1499 factor = fastdiv(max_update_factor * count, count_sat); in merge_prob() 1585 static inline void merge_probs_variant_a(u8 *p, const u32 *c, u16 count_sat, u32 update_factor) in merge_probs_variant_a() argument 1587 p[1] = merge_prob(p[1], c[0], c[1] + c[2], count_sat, update_factor); in merge_probs_variant_a() 1588 p[2] = merge_prob(p[2], c[1], c[2], count_sat, update_factor); in merge_probs_variant_a() 1591 static inline void merge_probs_variant_b(u8 *p, const u32 *c, u16 count_sat, u32 update_factor) in merge_probs_variant_b() argument 1593 p[0] = merge_prob(p[0], c[0], c[1], count_sat, update_factor); in merge_probs_variant_b()
|
/linux-6.1.9/drivers/staging/media/meson/vdec/ |
D | codec_vp9.c | 1491 int count_sat = 24; in adapt_coef_probs_cxt() local 1516 m_count = den < count_sat ? den : count_sat; in adapt_coef_probs_cxt() 1523 factor = update_factor * m_count / count_sat; in adapt_coef_probs_cxt()
|