ref: 70a365269326a034c2f3a60dc2424c92da157f1b
parent: a762cef917876e02b6c1acd09900db6562819647
parent: 3a7ad43fb81a456909d02dc4c2feff289a17430c
author: Jerome Jiang <jianj@google.com>
date: Wed Jan 25 12:54:14 EST 2017
Merge "vp9: Adjust threshold for y sad used in copying partition."
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -531,9 +531,9 @@
else if (cm->width <= 640 && cm->height <= 360)
cpi->vbp_threshold_copy = 8000;
else
- cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 4) > 16000
- ? (cpi->y_dequant[q][1] << 4)
- : 16000;
+ cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 3) > 8000
+ ? (cpi->y_dequant[q][1] << 3)
+ : 8000;
}
cpi->vbp_threshold_minmax = 15 + (q >> 3);
}