summaryrefslogtreecommitdiff
path: root/libavcodec/resample2.c
Commit message (Collapse)AuthorAgeFilesLines
* avcodec/resample2: replace #define by typedefGanesh Ajjanagadde2015-11-201-6/+6
| | | | | | | | See e.g https://stackoverflow.com/questions/1666353/are-typedef-and-define-the-same-in-c for rationale. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* avcodec/resample2: Use av_malloc(z)_array()Michael Niedermayer2014-07-171-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Revert "Merge commit '0517c9e098092709397cc522c59fa63c83cc81be'" bring the ↵Michael Niedermayer2013-03-131-0/+319
| | | | | | | | | | | | | | | old audio resampling API back This reverts commit d3edc65dd1e5b5d4246fcb8bcd216eb558bab7d4, reversing changes made to 150de78d7c9cee65b4095832b25ae353e0d7c7af. Conflicts: libavcodec/version.h It seems there are several applications still using it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* lavc: remove disabled FF_API_AVCODEC_RESAMPLE cruftAnton Khirnov2013-03-111-324/+0
|
* Remove unnecessary dsputil.h #includesDiego Biurrun2013-02-261-1/+0
|
* lavc: deprecate the audio resampling API.Anton Khirnov2012-10-051-0/+4
| | | | It has been superseded by lavr.
* Don't include common.h from avutil.hMartin Storsjö2012-08-151-0/+1
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* doxygen: misc consistency, spelling and wording fixesDiego Biurrun2011-12-121-1/+1
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-191-4/+4
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* resample: replace VLA with malloc/freeMåns Rullgård2010-07-091-3/+13
| | | | Originally committed as revision 24142 to svn://svn.ffmpeg.org/ffmpeg/trunk
* resample: check memory allocations in av_resample_init()Måns Rullgård2010-07-091-0/+8
| | | | Originally committed as revision 24141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-201-1/+1
| | | | | | | | 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
* Make av_build_filter static (and remove av_): It is not used outside ↵Carl Eugen Hoyos2010-02-281-2/+2
| | | | | | resample2.c. Originally committed as revision 22118 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Stop the approximation in bessel() once it does no longer improve.Michael Niedermayer2010-01-061-1/+3
| | | | | | This is faster. Originally committed as revision 21038 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move av_class to AVResampleContext instead of ReSampleContext.Benoit Fouet2009-03-231-0/+1
| | | | | | Fixes issue 852. Originally committed as revision 18170 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move doxy for public resample2 functions to the public header.Michael Niedermayer2009-02-091-25/+0
| | | | Originally committed as revision 17099 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use full internal pathname in doxygen @file directives.Diego Biurrun2009-02-011-1/+1
| | | | | | | 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
* cosmetics: Fix two common typos: wont --> will not, lets --> let us.Diego Biurrun2008-07-241-1/+1
| | | | Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-221-2/+2
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_clip_int16() where it makes senseAurelien Jacobs2007-08-111-1/+1
| | | | Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-051-1/+0
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-121-2/+2
| | | | Originally committed as revision 9291 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove redundant #inclusion of common.h, avcodec.h already #includes it.Diego Biurrun2007-05-101-1/+0
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2007-04-081-1/+1
| | | | Originally committed as revision 8681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* replace long double in the audiophile kiddy mode with doubles, its faster ↵Michael Niedermayer2007-03-221-3/+3
| | | | | | (and more portable) and the audiophile placebo 120db stopband attenuation isnt affected Originally committed as revision 8482 to svn://svn.ffmpeg.org/ffmpeg/trunk
* change high precision mode to 30 bits again after making the code less ↵Michael Niedermayer2007-03-221-1/+1
| | | | | | overflow sensitive Originally committed as revision 8481 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize linear filter coeff interpolation code, this also makes the code ↵Michael Niedermayer2007-03-221-5/+4
| | | | | | less prone to overflows Originally committed as revision 8480 to svn://svn.ffmpeg.org/ffmpeg/trunk
* revert r8469 (increase bits for non default highprecision mode)Michael Niedermayer2007-03-221-1/+1
| | | | | | it causes overflows with linear interpolated filters coefficients Originally committed as revision 8476 to svn://svn.ffmpeg.org/ffmpeg/trunk
* AUDIOPHILE_KIDDY_MODEMichael Niedermayer2007-03-221-5/+21
| | | | Originally committed as revision 8475 to svn://svn.ffmpeg.org/ffmpeg/trunk
* optimize bessel function instead of trusting gcc to do trivial optimizations ↵Michael Niedermayer2007-03-221-2/+3
| | | | | | (as gcc doesnt ...) Originally committed as revision 8474 to svn://svn.ffmpeg.org/ffmpeg/trunk
* select more sensible default windows (= attenuation beyond the dynamic range ↵Michael Niedermayer2007-03-221-1/+3
| | | | | | of your input is silly if it negatively affects other parameters) Originally committed as revision 8473 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make kaiser windows with other beta than 16 availableMichael Niedermayer2007-03-211-3/+3
| | | | Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make high precision mode accessible at compile timeMichael Niedermayer2007-03-211-1/+1
| | | | Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* increase bits for non default highprecision modeMichael Niedermayer2007-03-211-1/+1
| | | | Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* code for testing the accuracy of the resamplerMichael Niedermayer2007-03-211-0/+36
| | | | Originally committed as revision 8468 to svn://svn.ffmpeg.org/ffmpeg/trunk
* remove dithering of filter coefficients, improves precision by 1-2 bits andMichael Niedermayer2007-03-211-3/+1
| | | | | | | improves subjective sound quality on artificial sample (udial.wav resampling to 32khz) Originally committed as revision 8467 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add av_ prefix to clip functionsReimar Döffinger2007-02-251-1/+1
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ABS macro to FFABS.Diego Biurrun2006-10-111-1/+1
| | | | Originally committed as revision 6666 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change license headers to say 'FFmpeg' instead of 'this program/this library'Diego Biurrun2006-10-071-4/+6
| | | | | | and fix GPL/LGPL version mismatches. Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add const to (mostly) char* and make some functions static, which aren't usedStefan Huehner2006-06-181-1/+1
| | | | | | | outside their declaring source file and which have no corresponding prototype. patch by Stefan Huehner stefan^^@^^huehner^^.^^org Originally committed as revision 5497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update licensing information: The FSF changed postal address.Diego Biurrun2006-01-121-1/+1
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-171-8/+8
| | | | Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
* minor fixes for invalid audio data patch by (Wolfram Gloger: wmglo, dent med ↵Wolfram Gloger2005-08-141-1/+1
| | | | | | uni-muenchen de) Originally committed as revision 4524 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)Kurosu2005-01-121-2/+0
| | | | Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* faster and slightly less accurate nearest neighbor resamplerMichael Niedermayer2004-12-311-13/+11
| | | | Originally committed as revision 3789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* special case for filter_length==1Michael Niedermayer2004-12-311-1/+18
| | | | Originally committed as revision 3787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_resample_compensate() doxyMichael Niedermayer2004-11-121-0/+12
| | | | Originally committed as revision 3671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* user selectble cutoff frequencyMichael Niedermayer2004-10-211-2/+2
| | | | Originally committed as revision 3619 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 100l (dont reset the sample position at the block end)Michael Niedermayer2004-10-211-1/+1
| | | | Originally committed as revision 3618 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make most resample filter parameters selectable at runtimeMichael Niedermayer2004-10-211-22/+22
| | | | Originally committed as revision 3617 to svn://svn.ffmpeg.org/ffmpeg/trunk