vp9-screen: Adjust speed features at speed 8
authorMarco Paniconi <marpan@google.com>
Thu, 21 Mar 2019 17:36:31 +0000 (10:36 -0700)
committerMarco Paniconi <marpan@google.com>
Thu, 21 Mar 2019 17:39:06 +0000 (10:39 -0700)
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

vp9/encoder/vp9_speed_features.c

index 92c115f..8366425 100644 (file)
@@ -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;