Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/verisilicon/
H A Drockchip_av1_filmgrain.c200 static inline s32 round_power_of_two(const s32 val, s32 n) in round_power_of_two() function
253 round_power_of_two(gaussian_sequence in rockchip_av1_generate_luma_grain_block()
282 round_power_of_two(wsum, ar_coeff_shift), in rockchip_av1_generate_luma_grain_block()
317 round_power_of_two(gaussian_sequence in rockchip_av1_generate_chroma_grain_block()
335 round_power_of_two(gaussian_sequence in rockchip_av1_generate_chroma_grain_block()
381 av_luma = round_power_of_two(av_luma, 2); in rockchip_av1_generate_chroma_grain_block()
390 round_power_of_two(wsum_cb, ar_coeff_shift), in rockchip_av1_generate_chroma_grain_block()
396 round_power_of_two(wsum_cr, ar_coeff_shift), in rockchip_av1_generate_chroma_grain_block()
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dcodec_vp9.c332 static inline int round_power_of_two(int value, int num) in round_power_of_two() function
1470 new_prob = round_power_of_two(pre_prob * (256 - factor) + in vp9_tree_merge_probs()
1525 round_power_of_two(pre_prob * (256 - factor) + in adapt_coef_probs_cxt()
1676 round_power_of_two(pre_prob * in adapt_coef_probs()