aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/iirfilter.c
diff options
context:
space:
mode:
authorBojan Zivkovic <bojan@mips.com>2013-03-06 14:55:06 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-20 12:44:32 +0100
commit7d29c6eebc428741004071f7a92ea37d8d1d2cce (patch)
treee4b09858dac4c966b304b00db59bcc802fdc0ef2 /libavcodec/iirfilter.c
parent26f3924d782b6081ba76fd42c4d35af6ce8cde36 (diff)
downloadffmpeg-7d29c6eebc428741004071f7a92ea37d8d1d2cce.tar.gz
mips: Optimization of IIR filter function
Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/iirfilter.c')
-rw-r--r--libavcodec/iirfilter.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/iirfilter.c b/libavcodec/iirfilter.c
index 610add12d4..049150e4ba 100644
--- a/libavcodec/iirfilter.c
+++ b/libavcodec/iirfilter.c
@@ -311,6 +311,13 @@ av_cold void ff_iir_filter_free_coeffs(struct FFIIRFilterCoeffs *coeffs)
av_free(coeffs);
}
+void ff_iir_filter_init(FFIIRFilterContext *f) {
+ f->filter_flt = ff_iir_filter_flt;
+
+ if (HAVE_MIPSFPU)
+ ff_iir_filter_init_mips(f);
+}
+
#ifdef TEST
#include <stdio.h>