shithub: libvpx

Download patch

ref: e031f49f897c27c94448159d4ce31a1c5810a84a
parent: c09e95fc7da1c91db3cef34dc61010ab33443eea
author: Marco Paniconi <marpan@google.com>
date: Wed Mar 27 10:19:04 EDT 2019

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

--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -124,7 +124,7 @@
     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;