Commit 842454d2 authored by Marco's avatar Marco
Browse files

Make process_denoise_mode_change function cond-compiled.

This function is called only when temporal denoising is enabled.

Change-Id: I25a036e3d628edd34410d6e6fe1f9e68a90a8e56
parent 095d48a4
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment