summaryrefslogtreecommitdiff
path: root/libavcodec/iirfilter.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-05
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (36 commits) ARM: allow unaligned buffer in fixed-point NEON FFT4 fate: test more FFT etc sizes dca: set AVCodecContext frame_size for DTS audio YASM: Shut up unused variable compiler warning with --disable-yasm. x86_32: Fix build on x86_32 with --disable-yasm. iirfilter: add fate test doxygen: Add qmul docs. ogg: propagate return values and return more meaningful error values H.264: fix overreads of qscale_table Remove unused static tables and static inline functions. eval: clear Parser instances before using dct-test: remove 'ref' function pointer from tables build: Remove deleted 'check' target from .PHONY list. oggdec: Abort Ogg header parsing when encountering a data packet. Add LGPL license boilerplate to files lacking it. mxfenc: small typo fix doxygen: Fix documentation for some VP8 functions. sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* des: allow unaligned input and output buffers aes: allow unaligned input and output buffers ... Conflicts: libavcodec/dct-test.c libavcodec/libvpxenc.c libavcodec/x86/dsputil_mmx.c libavcodec/x86/h264_qpel_mmx.c libavfilter/x86/gradfun.c libavformat/oggdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * iirfilter: add fate testMans Rullgard2011-07-04
| | | | | | | | | | | | | | Change the test program to output text instead of binary files so it can be compared easily in FATE. Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-06-08
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (28 commits) Remove some non-compiling debug messages. ffplay: Fix non-compiling debug printf and replace it by av_dlog. H264: x86 predict init cosmetics. ac3enc: Fix linking of AC-3 encoder without the E-AC-3 encoder. Move E-AC-3 encoder functions to a separate eac3enc.c file. ac3enc: remove convenience macro, #define DEBUG ac3enc: remove unused #define vc1: re-initialize tables after width/height change. APIchanges: fill-in git commit hash for av_get_bytes_per_sample() addition samplefmt: add av_get_bytes_per_sample() iirfilter: fix biquad filter coefficients. swscale: remove duplicate conversion routine in swScale(). swscale: add yuv2planar/packed function typedefs. swscale: integrate yuv2nv12X_C into yuv2yuvX() function pointers. swscale: reindent x86 init code. swscale: extract SWS_FULL_CHR_H_INT conditional into init code. swscale: cosmetics. swscale: remove alp/chr/lumSrcOffset. swscale: un-special-case yuv2yuvX16_c(). shorten: Remove stray DEBUG #define and corresponding av_dlog statement. ... Conflicts: doc/APIchanges libavcodec/ac3enc.c libavutil/avutil.h libavutil/samplefmt.c libswscale/swscale.c libswscale/swscale_internal.h libswscale/x86/swscale_template.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * iirfilter: fix biquad filter coefficients.Justin Ruggles2011-06-07
| | | | | | | | | | The current filter implementation should only have the cx coefficients divided by gain in order to give the correct output scale.
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-05-18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix compilation of iirfilter-test. libx264: handle closed GOP codec flag lavf: remove duplicate assignment in avformat_alloc_context. lavf: use designated initializers for AVClasses. flvdec: clenup debug code asfdec: fix possible overread on broken files. asfdec: do not fall back to binary/generic search asfdec: reindent after previous commit c7bd5ed asfdec: fallback to binary search internally mpegaudio: add _fixed suffix to some names Modify x86util.asm to ease transitioning to 10-bit H.264 assembly. dct: build dct32 as separate object files qdm2: include correct header for rdft Conflicts: ffpresets/libx264-fast.ffpreset ffpresets/libx264-fast_firstpass.ffpreset ffpresets/libx264-faster.ffpreset ffpresets/libx264-faster_firstpass.ffpreset ffpresets/libx264-medium.ffpreset ffpresets/libx264-medium_firstpass.ffpreset ffpresets/libx264-placebo.ffpreset ffpresets/libx264-placebo_firstpass.ffpreset ffpresets/libx264-slow.ffpreset ffpresets/libx264-slow_firstpass.ffpreset ffpresets/libx264-slower.ffpreset ffpresets/libx264-slower_firstpass.ffpreset ffpresets/libx264-superfast.ffpreset ffpresets/libx264-superfast_firstpass.ffpreset ffpresets/libx264-ultrafast.ffpreset ffpresets/libx264-ultrafast_firstpass.ffpreset ffpresets/libx264-veryfast.ffpreset ffpresets/libx264-veryfast_firstpass.ffpreset ffpresets/libx264-veryslow.ffpreset ffpresets/libx264-veryslow_firstpass.ffpreset libavformat/flvdec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Fix compilation of iirfilter-test.Justin Ruggles2011-05-17
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add special case for 2nd-order IIR filter.Justin Ruggles2011-01-28
| | | | | | | | 40% faster in ff_iir_filter_flt() when c->order == 2.
| * 10l: reverse the biquad coefficients.Justin Ruggles2011-01-22
| | | | | | | | | | | | I did not notice that the filter implementation uses a reversed history state. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
| * iir: Change dst param to float* in ff_iir_filter_flt().Justin Ruggles2011-01-21
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * iir: change filter type if/else to a switch.Justin Ruggles2011-01-20
| | | | | | | | | | | | Simplifies error handling and makes it easier to add additional filter types. Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add biquad high-pass and low-pass IIR filters.Justin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Split out Butterworth filter coeff init to a separate function.Justin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cosmetics: vertical alignment and line wrapJustin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add memory allocation failure checks to ff_iir_filter_init_coeffs().Justin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * cosmetics: wrap long lineJustin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Add function ff_iir_filter_flt() to accept floating-point input and output.Justin Ruggles2011-01-20
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
| * Fix use of sstep/dstep in ff_iir_filter().Justin Ruggles2011-01-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | Add special case for 2nd-order IIR filter.Justin Ruggles2011-01-28
| | | | | | | | | | 40% faster in ff_iir_filter_flt() when c->order == 2. (cherry picked from commit 37cb3eb53449ccefbbe8ea7dc5e66f9036aafe6e)
* | 10l: reverse the biquad coefficients.Justin Ruggles2011-01-23
| | | | | | | | | | | | | | I did not notice that the filter implementation uses a reversed history state. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net> (cherry picked from commit 98cfadd648bfb2ab48e4c18d832e946a1ba050c8)
* | iir: Change dst param to float* in ff_iir_filter_flt().Justin Ruggles2011-01-23
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 69915b48d6a787e569826eecb6c3b34ec19aeccd)
* | iir: change filter type if/else to a switch.Justin Ruggles2011-01-21
| | | | | | | | | | | | | | Simplifies error handling and makes it easier to add additional filter types. Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 0361d13cf3956dcf38f31b9df97aca9301cdc86a)
* | Add biquad high-pass and low-pass IIR filters.Justin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit fcdf0a43cd267c1d4193aa172b024f35903c286e)
* | Split out Butterworth filter coeff init to a separate function.Justin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 30112adadf06fe2f9500e4da365eb8a58095c940)
* | cosmetics: vertical alignment and line wrapJustin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 75b98610a7ce7acf34f583a04aaccd8c619947fe)
* | Add memory allocation failure checks to ff_iir_filter_init_coeffs().Justin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit d42dc217ed2b0f886ffc50b26c2bbff1fee5feca)
* | cosmetics: wrap long lineJustin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit ebb230279aa0ecc2fda4c617860eb354531d4b63)
* | Add function ff_iir_filter_flt() to accept floating-point input and output.Justin Ruggles2011-01-21
| | | | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit 0a3d7697b4fcb62305cd4a893b621a406a029ff0)
* | Fix use of sstep/dstep in ff_iir_filter().Justin Ruggles2011-01-21
|/ | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> (cherry picked from commit c3897d7690fffe016de8ed56fdbdb9d685dbcce2)
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | 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
* IIR filter test program.Alex Converse2009-07-16
| | | | Originally committed as revision 19443 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark iir filter init and free functions av_cold.Alex Converse2009-07-10
| | | | Originally committed as revision 19398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix "iirfilter.c:55: warning: unused variable ‘size’"Alex Converse2009-07-10
| | | | Originally committed as revision 19397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Eliminate use of complex.h from iirfilter.cAlex Converse2009-07-10
| | | | Originally committed as revision 19396 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix declarations of complex numbersMåns Rullgård2009-07-09
| | | | | | | 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
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-01
| | | | | | | 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
* Add generic IIR filter interface with Butterworth lowpass filter implementationKostya Shishkov2008-08-28
and remove obsoleted old lowpass filter. Originally committed as revision 15005 to svn://svn.ffmpeg.org/ffmpeg/trunk