Merge "Adjust varianace threshold for high noise condition."

This commit is contained in:
Marco Paniconi 2015-11-12 06:06:51 +00:00 committed by Gerrit Code Review
commit 0941ff72a0

View File

@ -492,7 +492,7 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
// Increase base variance threshold if estimated noise level is high.
if (cpi->noise_estimate.enabled) {
if (cpi->noise_estimate.level == kHigh)
threshold_base = threshold_base << 2;
threshold_base = 3 * threshold_base;
else
if (cpi->noise_estimate.level == kMedium)
threshold_base = threshold_base << 1;