summaryrefslogtreecommitdiff
path: root/libavcodec/resample2.c
Commit message (Collapse)AuthorAgeFilesLines
* resample2: use av_assert()Michael Niedermayer2012-07-021-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: doxygen: misc consistency, spelling and wording fixes vcr1: drop unnecessary emms_c() calls without MMX code Replace all uses of av_close_input_file() with avformat_close_input(). lavf: add avformat_close_input(). lavf: deprecate av_close_input_stream(). lavf doxy: add some basic demuxing documentation. lavf doxy: add some general lavf information. lavf doxy: add misc utility functions to a group. lavf doxy: add av_guess_codec/format to the encoding group. lavf doxy: add core functions to a doxy group. Add basic libavdevice documentation. lavc: convert error_recognition to err_recognition. avconv: update -map option help text x86: Require 7 registers for the cabac asm x86: bswap: remove test for bswap instruction bswap: make generic implementation more compiler-friendly h264: remove useless cast proresdec: fix decode_slice() prototype Conflicts: configure doc/APIchanges ffprobe.c libavcodec/avcodec.h libavcodec/celp_math.h libavcodec/h264.c libavfilter/src_movie.c libavformat/anm.c libavformat/avformat.h libavformat/version.h libavutil/avstring.h libavutil/bswap.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * 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>
* | resample2: fix potential overflowMichael Niedermayer2011-10-271-3/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | resample: Fix overflowMichael Niedermayer2011-10-271-2/+4
|/ | | | | Found-by: Jim Radford Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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
* optimizationMichael Niedermayer2004-10-201-4/+4
| | | | Originally committed as revision 3616 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make filter size, int32/int16 and a few other things selectable at compiletimeMichael Niedermayer2004-10-201-11/+29
| | | | Originally committed as revision 3615 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10lMichael Niedermayer2004-10-201-2/+2
| | | | Originally committed as revision 3614 to svn://svn.ffmpeg.org/ffmpeg/trunk