summaryrefslogtreecommitdiff
path: root/libavresample
Commit message (Collapse)AuthorAge
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-13
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: miscellaneous cosmeticsDiego Biurrun2016-04-07
| | | | | | Restore alphabetical order in lists, break overly long lines, do some prettyprinting, add some explanatory section comments, group parts together that belong together logically.
* avresample: Mark avresample_buffer() as pointer to constKip Warner2015-12-14
| | | | | | | | That buffer is read only and marking it accordingly let the user passing a constant buffer to it without having a const-correctness warning. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Document avresample_open() a little betterLuca Barbato2015-11-05
| | | | Bug-Id: 911
* 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
|
* Bump major versions of all librariesVittorio Giovara2015-08-28
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavr: Drop deprecated context reinitialization if resampling was not enabledVittorio Giovara2015-08-28
| | | | Deprecated in 11/2012.
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-11
| | | | | | | The .text section is already 16-byte aligned by default on all supported platforms so `SECTION_TEXT` isn't any different from `SECTION .text`. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* x86: check for AV_CPU_FLAG_AVXSLOW where usefulJames Almer2015-05-31
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* 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>
* libavresample: Annotate AARCH64 init function with av_coldPeter Meerwald2015-02-20
| | | | | Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Martin Storsjö <martin@martin.st>
* avresample: Make sure the even check does not overflowLuca Barbato2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732225
* avresample: prevent theoretical division by zeroVittorio Giovara2014-10-18
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1231986
* lavr: Update the planar check in ff_audio_convertLuca Barbato2014-08-17
| | | | | | Leftover from fbc0b8659967ea54a8472b5f795270d38bb085dd. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Introduce AVFrame-based APILuca Barbato2014-08-10
|
* Bump major versions of all libraries.Anton Khirnov2014-08-09
|
* Postpone API-incompatible changes until the next bump.Anton Khirnov2014-08-09
|
* lavr: Do not change the sample format for mono audioJustin Ruggles2014-08-03
| | | | | | | This treats mono as planar internally within libavresample rather than changing the sample format. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Add avresample_get_out_samplesLuca Barbato2014-05-28
| | | | | Utility function to get the upper bound on the number of samples the resampler would output.
* build: handle library dependencies in configureJanne Grunau2014-05-13
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* 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.
* aarch64: NEON float to s16 audio conversionJanne Grunau2014-04-22
|
* resample: remove an unneeded context variableAnton Khirnov2014-04-17
|
* lavr: allocate the resampling buffer with a positive sizeAnton Khirnov2014-04-13
| | | | | | This fixes cases where very few input samples (fewer than needed for one output sample) are passed to lavr at the beginning. CC:libav-stable@libav.org
* 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: drop useless abs()Anton Khirnov2014-04-11
| | | | negative sample_index is handled in the block above.
* resample: reindentAnton Khirnov2014-04-11
|
* 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
* x86: Drop some unnecessary YASM ifdefsDiego Biurrun2014-04-04
| | | | Dead code elimination is enough to avoid undefined references in these cases.
* Add missing headers to make template files compile (more) standaloneDiego Biurrun2014-03-26
|
* lavr: return an error if a avresample_open() is called on an open contextAnton Khirnov2014-02-22
|
* lavr: add a function for checking whether AVAudioResampleContext is openAnton Khirnov2014-02-22
|
* lavr: mix front center channel as indicated in the ATSC A/52 specification.Tim Walker2014-02-08
| | | | When mixing 3 front channels into 2, the center channel is mixed into left and right with the center mix level, not -3dB.
* arm: Add X() around all references to extern symbolsMartin Storsjö2014-02-07
| | | | | | Don't rely on the fact that an unprefixed label currently exists. Signed-off-by: Martin Storsjö <martin@martin.st>
* aarch64: port neon clobber test from armJanne Grunau2014-01-15
|
* x86/arm: Add clobber tests to libavresampleMartin Storsjö2014-01-13
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with ↵Anton Khirnov2014-01-03
| | | | output zeroing
* audio_mix: fix zeroing output channels in certain casesAnton Khirnov2014-01-03
| | | | | | | | | | | Specifically, when the corresponding input channel exists and its matrix column is all-zero (which is necessary for zeroing the output), the matrix column must be removed from the matrix. This is not done currently, so the mixing code would end up using uninitialized pointers from stack. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
* audio_mix: initialize the data pointers to NULLAnton Khirnov2014-01-03
| | | | | | | This should make it easier to catch problems where some of those pointers are used uninitialized, since reading from NULL should always crash, while random numbers from stack can turn out to be valid pointers, so random memory may be silently overwritten.
* avutil: Move library version related macros to version.hDiego Biurrun2013-12-26
| | | | This is a more sensible place for these macros.
* Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun2013-11-23
|