From 572022a3504c357d8df680cc9444b20fa03e1dec Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 30 Oct 2014 11:08:05 +0100 Subject: [PATCH] filters_mips_dsp_r2.c: disable unfilters the output does not match the C-code. Change-Id: Ie7b7387478a6b5c3f08691628ae00f059cf6d899 --- src/dsp/filters_mips_dsp_r2.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/dsp/filters_mips_dsp_r2.c b/src/dsp/filters_mips_dsp_r2.c index d9e554ff..564cbc2c 100644 --- a/src/dsp/filters_mips_dsp_r2.c +++ b/src/dsp/filters_mips_dsp_r2.c @@ -322,9 +322,13 @@ void VP8FiltersInitMIPSdspR2(void) { WebPFilters[WEBP_FILTER_VERTICAL] = VerticalFilter; WebPFilters[WEBP_FILTER_GRADIENT] = GradientFilter; - WebPUnfilters[WEBP_FILTER_HORIZONTAL] = HorizontalUnfilter; - WebPUnfilters[WEBP_FILTER_VERTICAL] = VerticalUnfilter; - WebPUnfilters[WEBP_FILTER_GRADIENT] = GradientUnfilter; + // TODO(djordje.pesut): these 3 filters do not match the C implementation. + // WebPUnfilters[WEBP_FILTER_HORIZONTAL] = HorizontalUnfilter; + // WebPUnfilters[WEBP_FILTER_VERTICAL] = VerticalUnfilter; + // WebPUnfilters[WEBP_FILTER_GRADIENT] = GradientUnfilter; + (void)HorizontalUnfilter; + (void)VerticalUnfilter; + (void)GradientUnfilter; #endif // WEBP_USE_MIPS_DSP_R2 }