shithub: libvpx

Download patch

ref: 78a69469042e309786f390040eb8d92de00615d0
parent: c0c789ab501c569b808034340c7ca5e97d907b4f
parent: c216c8d6f29c74f58bebc11701b762fbfd74c55a
author: Marco Paniconi <[email protected]>
date: Tue Mar 14 13:50:17 EDT 2017

Merge "vp9: Speed >= 8: Enable simple_block_yrd speed feature."

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -652,7 +652,7 @@
 #endif
 
   if (cpi->sf.use_simple_block_yrd && cpi->common.frame_type != KEY_FRAME &&
-      !cyclic_refresh_segment_id_boosted(xd->mi[0]->segment_id)) {
+      bsize < BLOCK_32X32) {
     unsigned int var_y, sse_y;
     (void)tx_size;
     model_rd_for_sb_y(cpi, bsize, x, xd, &this_rdc->rate, &this_rdc->dist,
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -568,7 +568,7 @@
       sf->adaptive_rd_thresh = 2;
     }
     sf->limit_newmv_early_exit = 0;
-    sf->use_simple_block_yrd = 0;
+    if (cm->width > 640 && cm->height > 480) sf->use_simple_block_yrd = 1;
   }
   // Turn off adaptive_rd_thresh if row_mt is on for all the non-rd paths. This
   // causes too many locks in realtime mode in certain platforms (Android ARM,