summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco <marpan@google.com>2014-09-03 11:35:06 -0700
committerMarco <marpan@google.com>2014-09-03 11:39:34 -0700
commit842454d2aa42f3e7e5ce676c2f10691d6caab76c (patch)
tree2323d70dc86eb267a4760e6f3e0ab1e87a85b4b2
parent095d48a419a5804276b98e69c28c43b23dc6ba7e (diff)
downloadlibvpx-842454d2aa42f3e7e5ce676c2f10691d6caab76c.tar
libvpx-842454d2aa42f3e7e5ce676c2f10691d6caab76c.tar.gz
libvpx-842454d2aa42f3e7e5ce676c2f10691d6caab76c.tar.bz2
libvpx-842454d2aa42f3e7e5ce676c2f10691d6caab76c.zip
Make process_denoise_mode_change function cond-compiled.
This function is called only when temporal denoising is enabled. Change-Id: I25a036e3d628edd34410d6e6fe1f9e68a90a8e56
-rw-r--r--vp8/encoder/onyx_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c
index 38b89997b..74e75c4cf 100644
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -3293,6 +3293,7 @@ static void update_reference_frames(VP8_COMP *cpi)
}
+#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 @@ static void process_denoiser_mode_change(VP8_COMP *cpi) {
cpi->denoiser.nmse_source_diff_count = 0;
}
}
+#endif
void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm)
{