shithub: libvpx

Download patch

ref: d2fb6a1785f21cc4a460adf419548c04bbf0f3d0
parent: 7e1c766158070c5abcce19d35467a65656836367
author: Marco Paniconi <marpan@google.com>
date: Fri Feb 22 15:02:27 EST 2019

vp9-rtc: Decrease noise estimation thresh for kLow

Increases denoising for noisy content.

Change-Id: Iff8573f8dca7b177ef53ee6682d691e6cd8e2740

--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -97,7 +97,7 @@
   } else {
     if (ne->value > ne->thresh)
       noise_level = kMedium;
-    else if (ne->value > ((9 * ne->thresh) >> 4))
+    else if (ne->value > (ne->thresh >> 1))
       noise_level = kLow;
     else
       noise_level = kLowLow;