ref: 888bb6c133d083e9490483006c088197e5cfdb2b
parent: d630cda5977aba0f6034cc80d6d1dd9143128870
parent: 2ff2376fbcb240c202a51d0f77b339da4ee63450
author: Marco Paniconi <[email protected]>
date: Fri Jan 13 01:22:52 EST 2017
Merge "vp9: Update threshold for partition copy."
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -527,11 +527,13 @@
: 1000;
cpi->vbp_bsize_min = BLOCK_16X16;
if (cm->width <= 352 && cm->height <= 288)
- cpi->vbp_threshold_copy = 40960;
+ cpi->vbp_threshold_copy = 4000;
+ else if (cm->width <= 640 && cm->height <= 360)
+ cpi->vbp_threshold_copy = 9000;
else
- cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 6) > 32000
- ? (cpi->y_dequant[q][1] << 6)
- : 32000;
+ cpi->vbp_threshold_copy = (cpi->y_dequant[q][1] << 5) > 16000
+ ? (cpi->y_dequant[q][1] << 5)
+ : 16000;
}
cpi->vbp_threshold_minmax = 15 + (q >> 3);
}