ref: 842454d2aa42f3e7e5ce676c2f10691d6caab76c
parent: 095d48a419a5804276b98e69c28c43b23dc6ba7e
author: Marco <[email protected]>
date: Wed Sep 3 07:35:06 EDT 2014
Make process_denoise_mode_change function cond-compiled. This function is called only when temporal denoising is enabled. Change-Id: I25a036e3d628edd34410d6e6fe1f9e68a90a8e56
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3293,6 +3293,7 @@
}
+#if CONFIG_TEMPORAL_DENOISING
static void process_denoiser_mode_change(VP8_COMP *cpi) {
const VP8_COMMON *const cm = &cpi->common;
int i, j;
@@ -3399,6 +3400,7 @@
cpi->denoiser.nmse_source_diff_count = 0;
}
}
+#endif
void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm)
{