From e031f49f897c27c94448159d4ce31a1c5810a84a Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 27 Mar 2019 14:19:04 -0700 Subject: [PATCH] vp9-rtc: Fix noise estimation thresh for 1080p Use the same thresholds as for 720p for now, leads to better noise estimation on test clips. Change-Id: I55e11346a747fe149f521315a38d75e28b3e774e --- vp9/encoder/vp9_noise_estimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index bd98d221a..b60500346 100644 --- a/vp9/encoder/vp9_noise_estimate.c +++ b/vp9/encoder/vp9_noise_estimate.c @@ -124,7 +124,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) { last_source = &cpi->denoiser.last_source; // Tune these thresholds for different resolutions when denoising is // enabled. - if (cm->width > 640 && cm->width < 1920) { + if (cm->width > 640 && cm->width <= 1920) { thresh_consec_zeromv = 2; thresh_sum_diff = 200; thresh_sum_spatial = (120 * 120) << 8; -- 2.40.0