From: Marco Paniconi Date: Thu, 21 Mar 2019 17:36:31 +0000 (-0700) Subject: vp9-screen: Adjust speed features at speed 8 X-Git-Tag: v1.8.1~167 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80ea2788b168399807121df7e6052a8462c9ed1e;p=libvpx vp9-screen: Adjust speed features at speed 8 Keep loopfilter on, and use half-pel instead of full. This reduces big quality gap between the speed 8 and 7, but still keeps speed 8 about 30-40% faster than speed 7. Tested on screenshare clips with scroll and slide changes. Change-Id: Id63b44f59655f3e3dc1b49d89291d97e7323081a --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 92c115fd1..836642594 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -720,8 +720,7 @@ static void set_rt_speed_feature_framesize_independent( if (!frame_is_intra_only(cm) && cm->width * cm->height <= 352 * 288) { sf->nonrd_use_ml_partition = 1; } - if (content == VP9E_CONTENT_SCREEN) sf->mv.subpel_force_stop = FULL_PEL; - if (content == VP9E_CONTENT_SCREEN) sf->lpf_pick = LPF_PICK_MINIMAL_LPF; + if (content == VP9E_CONTENT_SCREEN) sf->mv.subpel_force_stop = HALF_PEL; // Only keep INTRA_DC mode for speed 8. if (!is_keyframe) { int i = 0;