shithub: libvpx

Download patch

ref: f217049dbe0df053a60c3cabaef85bbbe613338b
parent: b6fe63a505c8aff5de5cd15c7b83f5e5bc1c9952
parent: 47270b6858d3b8e3cbb9e5cddee203977382a1a6
author: Marco Paniconi <[email protected]>
date: Fri Jan 13 14:07:56 EST 2017

Merge "vp9: Adjust threshold for copy partiton, for speed=8."

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -529,10 +529,10 @@
       if (cm->width <= 352 && cm->height <= 288)
         cpi->vbp_threshold_copy = 4000;
       else if (cm->width <= 640 && cm->height <= 360)
-        cpi->vbp_threshold_copy = 9000;
+        cpi->vbp_threshold_copy = 8000;
       else
-        cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 5) > 16000
-                                      ? (cpi->y_dequant[q][1] << 5)
+        cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 4) > 16000
+                                      ? (cpi->y_dequant[q][1] << 4)
                                       : 16000;
     }
     cpi->vbp_threshold_minmax = 15 + (q >> 3);