ref: 164db8278f68a5ab376500ed6aad99ef7da3e9b0
parent: 9b1a2aa82b214c12a57537e4885902c3dd9d05f1
parent: d94d0ed12f4f9c43d332d7f848c52cfee8423e39
author: Marco Paniconi <[email protected]>
date: Fri Jan 27 17:47:44 EST 2017
Merge "vp9: Fix to pick_filter_level for highbitdepth build."
--- a/vp9/encoder/vp9_picklpf.c
+++ b/vp9/encoder/vp9_picklpf.c
@@ -180,11 +180,11 @@
}
#else
int filt_guess = ROUND_POWER_OF_TWO(q * 20723 + 1015158, 18);
+#endif // CONFIG_VP9_HIGHBITDEPTH
if (cpi->oxcf.pass == 0 && cpi->oxcf.rc_mode == VPX_CBR &&
cpi->oxcf.content != VP9E_CONTENT_SCREEN && cm->frame_type != KEY_FRAME)
filt_guess = 5 * filt_guess >> 3;
-#endif // CONFIG_VP9_HIGHBITDEPTH
if (cm->frame_type == KEY_FRAME) filt_guess -= 4;
lf->filter_level = clamp(filt_guess, min_filter_level, max_filter_level);
} else {