Searched refs:filt_guess (Results 1 – 2 of 2) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_picklpf.c | 164 int filt_guess; in vp9_pick_filter_level() local 167 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18); in vp9_pick_filter_level() 170 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 4060632, 20); in vp9_pick_filter_level() 174 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 16242526, 22); in vp9_pick_filter_level() 178 int filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18); in vp9_pick_filter_level() local 183 filt_guess = 5 * filt_guess >> 3; in vp9_pick_filter_level() 185 if (cm->frame_type == KEY_FRAME) filt_guess -= 4; in vp9_pick_filter_level() 186 lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level); in vp9_pick_filter_level()
|
/external/libaom/libaom/av1/encoder/ |
D | picklpf.c | 228 int filt_guess; in av1_pick_filter_level() local 231 filt_guess = in av1_pick_filter_level() 237 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 4060632, 20); in av1_pick_filter_level() 240 filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 16242526, 22); in av1_pick_filter_level() 250 filt_guess -= 4; in av1_pick_filter_level() 252 lf->filter_level[0] = clamp(filt_guess, min_filter_level, max_filter_level); in av1_pick_filter_level() 253 lf->filter_level[1] = clamp(filt_guess, min_filter_level, max_filter_level); in av1_pick_filter_level() 254 lf->filter_level_u = clamp(filt_guess, min_filter_level, max_filter_level); in av1_pick_filter_level() 255 lf->filter_level_v = clamp(filt_guess, min_filter_level, max_filter_level); in av1_pick_filter_level()
|