shithub: libvpx

Download patch

ref: ff1fef9607354869c034ce8b40f55d8a7988727e
parent: f4960326869f9bc63b8f7286ee5a85f951d02cdb
parent: 349c3118bd4ae5009c2ab82742fa32a4f8440394
author: Marco Paniconi <[email protected]>
date: Fri Apr 7 13:13:21 EDT 2017

Merge "vp9: Fix to noise estimation for temporal denoising."

--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -132,8 +132,10 @@
     ne->level = kLowLow;
 #if CONFIG_VP9_TEMPORAL_DENOISING
     if (cpi->oxcf.noise_sensitivity > 0 && denoise_svc(cpi) &&
-        cpi->svc.current_superframe > 1)
+        cpi->svc.current_superframe > 1) {
       vp9_denoiser_set_noise_level(&cpi->denoiser, ne->level);
+      copy_frame(&cpi->denoiser.last_source, cpi->Source);
+    }
 #endif
     return;
   } else {