shithub: libvpx

Download patch

ref: af6d2c7d42c181ff8b89ab0fe849b71301d8cc1b
parent: c827c59eafac8f03933c33a0dfa8deceed2a8255
author: Alex Converse <[email protected]>
date: Fri Jul 31 11:50:17 EDT 2015

Turn off simple_model_rd_from_var at speed 4.

This got erroneously changed during the refactor. This fixes
SvcTest.TwoPassEncode2TemporalLayersWithMultipleFrameContextsAndTiles.

Change-Id: Ifa5ab0e098396c5e2d10478db87df256eadfa4c7

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -193,7 +193,6 @@
     sf->use_fast_coef_costing = 1;
     sf->motion_field_mode_search = !boosted;
     sf->partition_search_breakout_rate_thr = 300;
-    sf->simple_model_rd_from_var = 1;
   }
 
   if (speed >= 5) {
@@ -207,6 +206,7 @@
     }
     sf->partition_search_breakout_rate_thr = 500;
     sf->mv.reduce_first_step_size = 1;
+    sf->simple_model_rd_from_var = 1;
   }
 }
 
@@ -336,7 +336,6 @@
     sf->inter_mode_mask[BLOCK_64X64] = INTER_NEAREST;
     sf->max_intra_bsize = BLOCK_32X32;
     sf->allow_skip_recode = 1;
-    sf->simple_model_rd_from_var = 1;
   }
 
   if (speed >= 5) {
@@ -363,6 +362,7 @@
     sf->use_fast_coef_updates = is_keyframe ? TWO_LOOP : ONE_LOOP_REDUCED;
     sf->mode_search_skip_flags = FLAG_SKIP_INTRA_DIRMISMATCH;
     sf->tx_size_search_method = is_keyframe ? USE_LARGESTALL : USE_TX_8X8;
+    sf->simple_model_rd_from_var = 1;
 
     if (!is_keyframe) {
       int i;