shithub: libvpx

Download patch

ref: 80ea2788b168399807121df7e6052a8462c9ed1e
parent: 5cde05fda8e7567949c13aa1097c9abb6051b36c
author: Marco Paniconi <marpan@google.com>
date: Thu Mar 21 06:36:31 EDT 2019

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

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -720,8 +720,7 @@
     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;