]> granicus.if.org Git - libvpx/commitdiff
vp9: Enable more aggresive short circuit for speed 8.
authorJerome Jiang <jianj@google.com>
Fri, 6 Jan 2017 18:06:37 +0000 (10:06 -0800)
committerJerome Jiang <jianj@google.com>
Fri, 6 Jan 2017 18:23:34 +0000 (10:23 -0800)
Set short_circuit_low_temp_var to 3 for speed 8 for all res.
No strong visual difference on all clips.

Change-Id: Ia6d9a314291ab1c14d5421bbdd769974083aeb2a

vp9/encoder/vp9_speed_features.c

index 1db22eeba32e9b043bcfe434a4eb5fda573dedda..81cb431ba586591940096b41fc62afd23b299ab5 100644 (file)
@@ -520,11 +520,7 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf, int speed,
     if (!cpi->use_svc && cpi->oxcf.rc_mode == VPX_CBR &&
         content != VP9E_CONTENT_SCREEN) {
       // More aggressive short circuit for speed 8.
-      sf->short_circuit_low_temp_var = 2;
-      // More aggressive short circuit for low resolution
-      if (cm->width <= 640 && cm->height <= 480) {
-        sf->short_circuit_low_temp_var = 3;
-      }
+      sf->short_circuit_low_temp_var = 3;
     }
     sf->limit_newmv_early_exit = 0;
   }