shithub: libvpx

Download patch

ref: e540ca715558f2e4dcf536f717b9888f1e19b4be
parent: 6dcd9b37eafa9f333efbcdc4c33e4e5d11480521
author: Marco <marpan@google.com>
date: Fri Jun 9 13:48:03 EDT 2017

vp9: SVC: Use prune_evenemore only for non_reference.

Set subpel prune_evenmore only for non_reference frames,
instead of all TL > 0 frames. Gain some quality back at
cost of small speed loss (~1-2%).

Change only effects SVC encoding at speed >= 7.

Change-Id: I5b9f51e51dccfd7050521a66996176b0415ca3f9

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -551,8 +551,9 @@
       sf->mv.fullpel_search_step_param = 6;
     }
     if (cpi->svc.temporal_layer_id > 0) {
-      sf->mv.subpel_search_method = SUBPEL_TREE_PRUNED_EVENMORE;
       sf->use_simple_block_yrd = 1;
+      if (cpi->svc.non_reference_frame)
+        sf->mv.subpel_search_method = SUBPEL_TREE_PRUNED_EVENMORE;
     }
     if (!cpi->external_resize) sf->use_source_sad = 1;
     if (sf->use_source_sad) {