From: Marco Date: Wed, 10 May 2017 23:46:50 +0000 (-0700) Subject: vp9; Adjust noise estimation thresholds. X-Git-Tag: v1.7.0~475^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f11a65c99dd83bc7b7b055b226924d5bb8d7fb2;p=libvpx vp9; Adjust noise estimation thresholds. Change-Id: Ia41a11df18e5a58d2b8bbecd11c249d357de2a8f --- diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index c769407df..e2239b44b 100644 --- a/vp9/encoder/vp9_noise_estimate.c +++ b/vp9/encoder/vp9_noise_estimate.c @@ -32,7 +32,7 @@ void vp9_noise_estimate_init(NOISE_ESTIMATE *const ne, int width, int height) { if (width * height >= 1920 * 1080) { ne->thresh = 200; } else if (width * height >= 1280 * 720) { - ne->thresh = 150; + ne->thresh = 140; } else if (width * height >= 640 * 360) { ne->thresh = 100; } @@ -116,7 +116,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) { // Tune these thresholds for different resolutions when denoising is // enabled. if (cm->width > 640 && cm->width < 1920) { - thresh_consec_zeromv = 5; + thresh_consec_zeromv = 4; thresh_sum_diff = 200; thresh_sum_spatial = (120 * 120) << 8; thresh_spatial_var = (48 * 48) << 8;