summaryrefslogtreecommitdiff
path: root/libavcodec/iirfilter.c
Commit message (Collapse)AuthorAge
* Merge commit '52730e0f867fe77b7d2353d8b44e92edb7079ca5'Clément Bœsch2017-03-20
|\ | | | | | | | | | | | | | | | | * commit '52730e0f867fe77b7d2353d8b44e92edb7079ca5': iir_filter: Change type of array stride parameters to ptrdiff_t The merge also updates the MIPS code and drop the extra log.h include. Merged-by: Clément Bœsch <u@pkh.me>
| * iir_filter: Change type of array stride parameters to ptrdiff_tDiego Biurrun2016-09-07
| | | | | | | | ptrdiff_t is the correct type for array strides and similar.
* | Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-11
|\| | | | | | | | | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * build: Split test programs off into separate filesDiego Biurrun2016-04-07
| | | | | | | | | | This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
* | Merge commit '3b08d9d932eef09403074d5af31e10d8011e840b'Derek Buitenhuis2016-04-21
|\| | | | | | | | | | | | | * commit '3b08d9d932eef09403074d5af31e10d8011e840b': testprogs: K&R formatting cosmetics Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
| * testprogs: K&R formatting cosmeticsDiego Biurrun2016-03-24
| |
* | avcodec/iirfilter: Make ff_iir_filter_free_state() also zero the freed pointerMichael Niedermayer2014-10-14
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avcodec/iirfilter: Change ff_iir_filter_free_coeffs() so it clears the ↵Michael Niedermayer2014-10-14
| | | | | | | | | | | | pointers as well Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487'Michael Niedermayer2013-05-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '6fee1b90ce3bf4fbdfde7016e0890057c9000487': avcodec: Add av_cold attributes to init functions missing them Conflicts: libavcodec/aacpsy.c libavcodec/atrac3.c libavcodec/dvdsubdec.c libavcodec/ffv1.c libavcodec/ffv1enc.c libavcodec/h261enc.c libavcodec/h264_parser.c libavcodec/h264dsp.c libavcodec/h264pred.c libavcodec/libschroedingerenc.c libavcodec/libxvid_rc.c libavcodec/mpeg12.c libavcodec/mpeg12enc.c libavcodec/proresdsp.c libavcodec/rangecoder.c libavcodec/videodsp.c libavcodec/x86/proresdsp_init.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avcodec: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
| |
* | mips: Optimization of IIR filter functionBojan Zivkovic2013-03-20
| | | | | | | | | | | | Signed-off-by: Bojan Zivkovic <bojan@mips.com> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967'Michael Niedermayer2012-12-05
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'cb45553f577f8e0ebfe05d3287e1b6fa5859b967': Remove pointless #undefs of previously forbidden functions. fate: Add dependencies for bmp, cdxl, dfa, mp3 Conflicts: doc/examples/muxing.c libavfilter/filtfmts.c libavutil/des.c libavutil/eval.c libavutil/log.c libavutil/parseutils.c tests/fate/mp3.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Remove pointless #undefs of previously forbidden functions.Anton Khirnov2012-12-04
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-08-16
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: Fix even more missing includes after the common.h removal build: Factor out rangecoder dependencies to CONFIG_RANGECODER build: Factor out error resilience dependencies to CONFIG_ERROR_RESILIENCE x86: avcodec: Consistently name all init files Add more missing includes after removing the implicit common.h Add some more missing includes after removing the implicit common.h Don't include common.h from avutil.h rtmp: Automatically compute the hash for SWFVerification Conflicts: configure doc/APIchanges doc/examples/decoding_encoding.c libavcodec/Makefile libavcodec/assdec.c libavcodec/audio_frame_queue.c libavcodec/avpacket.c libavcodec/dv_profile.c libavcodec/dwt.c libavcodec/libtheoraenc.c libavcodec/rawdec.c libavcodec/rv40dsp.c libavcodec/tiff.c libavcodec/tiffenc.c libavcodec/v210dec.h libavcodec/vc1dsp.c libavcodec/x86/Makefile libavfilter/asrc_anullsrc.c libavfilter/avfilter.c libavfilter/buffer.c libavfilter/formats.c libavfilter/vf_ass.c libavfilter/vf_drawtext.c libavfilter/vf_fade.c libavfilter/vf_select.c libavfilter/video.c libavfilter/vsrc_testsrc.c libavformat/version.h libavutil/audioconvert.c libavutil/error.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | 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