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:
@@ -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) {
|
static void process_denoiser_mode_change(VP8_COMP *cpi) {
|
||||||
const VP8_COMMON *const cm = &cpi->common;
|
const VP8_COMMON *const cm = &cpi->common;
|
||||||
int i, j;
|
int i, j;
|
||||||
@@ -3399,6 +3400,7 @@ static void process_denoiser_mode_change(VP8_COMP *cpi) {
|
|||||||
cpi->denoiser.nmse_source_diff_count = 0;
|
cpi->denoiser.nmse_source_diff_count = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm)
|
void vp8_loopfilter_frame(VP8_COMP *cpi, VP8_COMMON *cm)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user