]> granicus.if.org Git - libvpx/commitdiff
Adjust varianace threshold for high noise condition.
authorMarco <marpan@google.com>
Thu, 12 Nov 2015 02:05:11 +0000 (18:05 -0800)
committerMarco <marpan@google.com>
Thu, 12 Nov 2015 02:06:21 +0000 (18:06 -0800)
Change-Id: I91c722e480328ff95b8c57614d8176ccaceb2539

vp9/encoder/vp9_encodeframe.c

index 9d66839f9ebf17621e495e9f4abcb1f3f431570f..93cf25c024c862000af0f0259a8feb2f199939e2 100644 (file)
@@ -492,7 +492,7 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) {
     // 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;