vp9: Adjust threshold for y sad used in copying partition.

Visual quality improvement is observed for noisy clips. Little effects
on speed tests on Nexus 6.

Change-Id: Ib38e04002220708c34102de7b5c36e9940775d89
This commit is contained in:
Jerome Jiang 2017-01-24 17:20:05 -08:00
parent 8e8e2d11bf
commit 3a7ad43fb8

View File

@ -531,9 +531,9 @@ void vp9_set_variance_partition_thresholds(VP9_COMP *cpi, int q) {
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);
}