summaryrefslogtreecommitdiff
path: root/libavcodec/resample2.c
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-10-06
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: yuv4mpeg: return proper error codes. Give all anonymously typedeffed structs in headers a name fate: Add parseutils test parseutils-test: Drop random colors from parsing test vf_pad/scale: use double precision for aspect ratios. build: error on variable-length arrays ppc: swscale: rework yuv2planeX_altivec() ppc: fmtconvert: kill VLA in float_to_int16_interleave_altivec() x86: dsputil: kill VLA in gmc_mmx() libspeexenc: Updated commentary to reflect recent changes libspeexenc: Add an option for enabling DTX doc/APIchanges: fill in missing dates and hashes. lavr: bump major to 1 and declare it stable. lavr: change the type of the data buffers to uint8_t**. lavc: deprecate the audio resampling API. Conflicts: cmdutils.h configure doc/APIchanges ffplay.c libavcodec/dwt.h libavcodec/libspeexenc.c libavfilter/vf_pad.c libavfilter/vf_scale.c libavformat/asf.h tests/fate/libavutil.mak tests/ref/fate/parseutils Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * lavc: deprecate the audio resampling API.Anton Khirnov2012-10-05
| | | | | | | | It has been superseded by lavr.
* | 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>
* | resample2: use av_assert()Michael Niedermayer2012-07-02
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-12
| |
| * Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | resample2: fix potential overflowMichael Niedermayer2011-10-27
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | resample: Fix overflowMichael Niedermayer2011-10-27
|/ | | | | Found-by: Jim Radford Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* resample: replace VLA with malloc/freeMåns Rullgård2010-07-09
| | | | 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-09
| | | | Originally committed as revision 24141 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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
* Make av_build_filter static (and remove av_): It is not used outside ↵Carl Eugen Hoyos2010-02-28
| | | | | | 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-06
| | | | | | 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-23
| | | | | | 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-09
| | | | Originally committed as revision 17099 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
* cosmetics: Fix two common typos: wont --> will not, lets --> let us.Diego Biurrun2008-07-24
| | | | Originally committed as revision 14372 to svn://svn.ffmpeg.org/ffmpeg/trunk
* typo: occured --> occurredDiego Biurrun2008-03-22
| | | | Originally committed as revision 12549 to svn://svn.ffmpeg.org/ffmpeg/trunk
* use av_clip_int16() where it makes senseAurelien Jacobs2007-08-11
| | | | Originally committed as revision 10078 to svn://svn.ffmpeg.org/ffmpeg/trunk
* license header consistency cosmeticsDiego Biurrun2007-07-05
| | | | Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
* misc typo fixesDiego Biurrun2007-06-12
| | | | 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-10
| | | | Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove unused variable.Diego Biurrun2007-04-08
| | | | 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-22
| | | | | | (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-22
| | | | | | 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-22
| | | | | | 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-22
| | | | | | 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-22
| | | | 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-22
| | | | | | (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-22
| | | | | | 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-21
| | | | Originally committed as revision 8472 to svn://svn.ffmpeg.org/ffmpeg/trunk
* make high precision mode accessible at compile timeMichael Niedermayer2007-03-21
| | | | Originally committed as revision 8470 to svn://svn.ffmpeg.org/ffmpeg/trunk
* increase bits for non default highprecision modeMichael Niedermayer2007-03-21
| | | | Originally committed as revision 8469 to svn://svn.ffmpeg.org/ffmpeg/trunk
* code for testing the accuracy of the resamplerMichael Niedermayer2007-03-21
| | | | 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-21
| | | | | | | 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-25
| | | | Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename ABS macro to FFABS.Diego Biurrun2006-10-11
| | | | 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-07
| | | | | | 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-18
| | | | | | | 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-12
| | | | Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
* COSMETICS: Remove all trailing whitespace.Diego Biurrun2005-12-17
| | | | 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-14
| | | | | | 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-12
| | | | Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
* faster and slightly less accurate nearest neighbor resamplerMichael Niedermayer2004-12-31
| | | | Originally committed as revision 3789 to svn://svn.ffmpeg.org/ffmpeg/trunk
* special case for filter_length==1Michael Niedermayer2004-12-31
| | | | Originally committed as revision 3787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* av_resample_compensate() doxyMichael Niedermayer2004-11-12
| | | | Originally committed as revision 3671 to svn://svn.ffmpeg.org/ffmpeg/trunk
* user selectble cutoff frequencyMichael Niedermayer2004-10-21
| | | | 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-21
| | | | Originally committed as revision 3618 to svn://svn.ffmpeg.org/ffmpeg/trunk