vp9-rtc: Fix noise estimation thresh for 1080p
authorMarco Paniconi <marpan@google.com>
Wed, 27 Mar 2019 21:19:04 +0000 (14:19 -0700)
committerMarco Paniconi <marpan@google.com>
Wed, 27 Mar 2019 21:21:35 +0000 (14:21 -0700)
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

index bd98d22..b605003 100644 (file)
@@ -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;