shithub: libvpx

Download patch

ref: 725606a6783b293d45434b3dba75bd34e04c22d9
parent: d5edf56bb5109555f60e89ec5895cdc4db7500bf
parent: f82280820a88e3b9b42c95bd0e172ddc7a6a7b22
author: Marco Paniconi <[email protected]>
date: Wed Feb 15 15:07:19 EST 2017

Merge "vp9. Use same source_sad threshold for all speeds."

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2272,8 +2272,7 @@
         int num_samples = 0;
         int sb_cols = (cm->mi_cols + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE;
         int sb_rows = (cm->mi_rows + MI_BLOCK_SIZE - 1) / MI_BLOCK_SIZE;
-        uint64_t avg_source_sad_threshold = 5000;
-        if (cpi->oxcf.speed >= 8) avg_source_sad_threshold = 10000;
+        uint64_t avg_source_sad_threshold = 10000;
         if (cpi->oxcf.lag_in_frames > 0) {
           src_y = frames[frame]->y_buffer;
           src_ystride = frames[frame]->y_stride;