From: Marco Paniconi Date: Wed, 27 Mar 2019 21:19:04 +0000 (-0700) Subject: vp9-rtc: Fix noise estimation thresh for 1080p X-Git-Tag: v1.8.1~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e031f49f897c27c94448159d4ce31a1c5810a84a;p=platform%2Fupstream%2Flibvpx.git 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 --- diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index bd98d22..b605003 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;