diff options
author | Bojan Zivkovic <bojan@mips.com> | 2013-03-06 17:55:06 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-20 15:44:32 +0400 |
commit | 7d29c6eebc428741004071f7a92ea37d8d1d2cce (patch) | |
tree | e4b09858dac4c966b304b00db59bcc802fdc0ef2 /libavcodec/iirfilter.c | |
parent | 26f3924d782b6081ba76fd42c4d35af6ce8cde36 (diff) |
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.c | 7 |
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> |