From: Marco Date: Thu, 12 Nov 2015 02:05:11 +0000 (-0800) Subject: Adjust varianace threshold for high noise condition. X-Git-Tag: v1.6.0~560^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1827764450def2970b1866f10d0c359e6d118069;p=libvpx Adjust varianace threshold for high noise condition. Change-Id: I91c722e480328ff95b8c57614d8176ccaceb2539 --- 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;