From 1827764450def2970b1866f10d0c359e6d118069 Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 11 Nov 2015 18:05:11 -0800 Subject: Adjust varianace threshold for high noise condition. Change-Id: I91c722e480328ff95b8c57614d8176ccaceb2539 --- vp9/encoder/vp9_encodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 9d66839f9..93cf25c02 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -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; -- cgit v1.2.3