shithub: libvpx

Download patch

ref: c2f6a7df8d500ba540503d042dc1dbc519a2a873
parent: 9cafc46d9ea9606d6a5cfb1948331db2aca6a39f
author: Marco <[email protected]>
date: Mon Nov 2 04:10:01 EST 2015

vp9 denoiser: Don't estimate noise on resized trigger frame.

Change-Id: I60461f011d1aba0b1eb6584c6940f745221915f4

--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -569,7 +569,8 @@
   // Estimate of noise level every frame_period frames.
   // Estimate is between current source and last source.
   if (cm->current_video_frame % frame_period != 0 ||
-     cpi->denoiser.last_source.y_buffer == NULL) {
+     cpi->denoiser.last_source.y_buffer == NULL ||
+     cpi->resize_pending != 0) {
     copy_frame(&cpi->denoiser.last_source, cpi->Source);
     return;
   } else {