shithub: libvpx

Download patch

ref: 1827764450def2970b1866f10d0c359e6d118069
parent: 4d38dbdfb597902528dc72cbe6d87ffe30574dd9
author: Marco <[email protected]>
date: Wed Nov 11 13:05:11 EST 2015

Adjust varianace threshold for high noise condition.

Change-Id: I91c722e480328ff95b8c57614d8176ccaceb2539

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -492,7 +492,7 @@
     // Increase base variance threshold if estimated noise level is high.
     if (cpi->noise_estimate.enabled) {
       if (cpi->noise_estimate.level == kHigh)
-        threshold_base = threshold_base << 2;
+        threshold_base = 3 * threshold_base;
       else
         if (cpi->noise_estimate.level == kMedium)
           threshold_base = threshold_base << 1;