summaryrefslogtreecommitdiff
path: root/libavresample/resample.c
Commit message (Collapse)AuthorAge
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* avresample: Remove an unused variableGanesh Ajjanagadde2015-09-29
| | | | | | This fixes a -Wunused-variable warning. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavr: Remove unreachable codeVittorio Giovara2015-09-13
| | | | Bug-Id: CID 1323180
* lavr: Remove unused labelVittorio Giovara2015-08-31
|
* lavr: Drop deprecated context reinitialization if resampling was not enabledVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* avresample: Reallocate the internal buffer to the correct sizeLuca Barbato2015-04-28
| | | | | | | | | | | | Fixes the corner case in which the internal buffer size is larger than input buffer provided and resizing it before moving the left over samples would make it write to now unallocated memory. Bug-Id: 825 CC: libav-stable@libav.org Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Replace av_dlog with normal av_log at trace levelVittorio Giovara2015-04-19
| | | | This applies to every library where performance is not critical.
* libavresample: NEON optimized FIR audio resamplingPeter Meerwald2015-02-21
| | | | | | | | | | modelled after aarch64 code on Cortex-A8, s16 and s32 code is about 2x faster, float code about 7x faster Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: NEON optimized FIR audio resamplingJanne Grunau2014-04-24
| | | | | | Optimized for the default filter length 16. 30% faster opus silk decoding.
* lavr: define ResampleContext in resample.hJanne Grunau2014-04-24
| | | | Required for arch optimized resampling.
* resample: remove an unneeded context variableAnton Khirnov2014-04-17
|
* resample: implement flushingAnton Khirnov2014-04-13
|
* resample: split linear into its own functionAnton Khirnov2014-04-11
|
* resample: add initial padding explicitlyAnton Khirnov2014-04-11
| | | | | This simplifies the code, since we do not have to deal with a possibly negative source index anymore.
* resample: split the nearest neighbour path into a separate function pointerAnton Khirnov2014-04-11
|
* resample: fix avresample_get_delay() return valueAnton Khirnov2014-04-11
| | | | | | | | The correct "next" input sample is not the first sample of the resampling buffer, but the center sample of the filter_length-sized block at the beginning. CC:libav-stable@libav.org
* lavr: typedef internal structs in internal.hJustin Ruggles2013-01-07
| | | | | Simplifies header dependencies by not including all other internal headers in internal.h.
* lavr: remove automatic context close/open for resampling compensationJustin Ruggles2012-12-16
| | | | | | | | | It adds unnecessary complication for insignificant usability improvement. The user really should know if they'll need resampling compensation before opening the context. Note that only the documentation has changed. The current functionality will still work until the next major bump.
* lavr: only save/restore the mixing matrix if mixing is being doneJustin Ruggles2012-12-16
|
* lavr: do not pass consumed samples as a parameter to ff_audio_resample()Justin Ruggles2012-11-27
| | | | | Since the resampler handles buffering of unconsumed samples internally, the caller does not need this information.
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avresample: De-doxygenize some comments where Doxygen is not appropriateDiego Biurrun2012-08-11
|
* lavr: resampling: add support for s32p, fltp, and dblp internal sample formatsJustin Ruggles2012-07-08
| | | | | | | Based partially on implementation by Michael Niedermayer <michaelni@gmx.at> in libswresample in FFmpeg. See commits: 7f1ae79d38c4edba9dbd31d7bf797e525298ac55 24ab1abfb6d55bf330022df4b10d7aec80b3f116
* lavr: resampling: add filter type and Kaiser window beta to AVOptionsJustin Ruggles2012-07-08
|
* Add libavresampleJustin Ruggles2012-04-24
This is a new library for audio sample format, channel layout, and sample rate conversion.