Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
37cb3eb534
Add special case for 2nd-order IIR filter.
40% faster in ff_iir_filter_flt() when c->order == 2.
14 years ago
Justin Ruggles
98cfadd648
10l: reverse the biquad coefficients.
I did not notice that the filter implementation uses a reversed history state.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Justin Ruggles
69915b48d6
iir: Change dst param to float* in ff_iir_filter_flt().
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
0361d13cf3
iir: change filter type if/else to a switch.
Simplifies error handling and makes it easier to add additional filter types.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
fcdf0a43cd
Add biquad high-pass and low-pass IIR filters.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
30112adadf
Split out Butterworth filter coeff init to a separate function.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
75b98610a7
cosmetics: vertical alignment and line wrap
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
d42dc217ed
Add memory allocation failure checks to ff_iir_filter_init_coeffs().
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
ebb230279a
cosmetics: wrap long line
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
0a3d7697b4
Add function ff_iir_filter_flt() to accept floating-point input and output.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Justin Ruggles
c3897d7690
Fix use of sstep/dstep in ff_iir_filter().
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
ca0f1e5092
IIR filter test program.
Originally committed as revision 19443 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
c8ec2f1cb8
Mark iir filter init and free functions av_cold.
Originally committed as revision 19398 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
47f49f98ca
Fix "iirfilter.c:55: warning: unused variable ‘size’"
Originally committed as revision 19397 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
e187d87d7d
Eliminate use of complex.h from iirfilter.c
Originally committed as revision 19396 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Måns Rullgård
181b336304
Fix declarations of complex numbers
Complex numbers must be declared using a base type of float, double,
or long double.
Originally committed as revision 19390 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Kostya Shishkov
a169f49881
Add generic IIR filter interface with Butterworth lowpass filter implementation
and remove obsoleted old lowpass filter.
Originally committed as revision 15005 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago