Make process_denoise_mode_change function cond-compiled.

This function is called only when temporal denoising is enabled.

Change-Id: I25a036e3d628edd34410d6e6fe1f9e68a90a8e56
This commit is contained in:
Marco 2014-09-03 11:35:06 -07:00
parent 095d48a419
commit 842454d2aa

View File

@ -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)
{