summaryrefslogtreecommitdiffstats
path: root/libavresample
Commit message (Collapse)AuthorAgeFilesLines
* Bump major versions of all librariesVittorio Giovara2017-03-231-1/+1
| | | | | | | | | This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-03-011-3/+3
| | | | None of them are specific to the YASM assembler.
* Mark some arrays that never change as const.Anton Khirnov2017-02-011-1/+1
|
* build: Generate pkg-config files from Make and not from configureDiego Biurrun2016-12-221-0/+1
| | | | | | | | This moves work from the configure to the Make stage where it can be parallelized and ensures that pkgconfig files are updated when library versions change. Bug-Id: 449
* Fix some mismatches between function parameter and doxygen parameter names.Diego Biurrun2016-11-211-2/+2
|
* build: Change structure of the linker version script templatesDiego Biurrun2016-05-291-3/+5
| | | | | | Split version files into one line per symbol/directive to allow compatibility with the Solaris linker without preprocessing and eliminate $ from version file templates to simplify the postprocessing shell command.
* tests: Move all test programs to a subdirectoryDiego Biurrun2016-05-132-1/+3
|
* cosmetics: Fix spelling mistakesVittorio Giovara2016-05-042-3/+3
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* build: miscellaneous cosmeticsDiego Biurrun2016-04-072-8/+8
| | | | | | 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-144-9/+13
| | | | | | | | 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-051-0/+4
| | | | Bug-Id: 911
* avresample: Remove an unused variableGanesh Ajjanagadde2015-09-291-1/+0
| | | | | | This fixes a -Wunused-variable warning. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* lavr: Remove unreachable codeVittorio Giovara2015-09-131-4/+1
| | | | Bug-Id: CID 1323180
* lavr: Remove unused labelVittorio Giovara2015-08-311-1/+0
|
* Bump major versions of all librariesVittorio Giovara2015-08-281-2/+2
| | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* lavr: Drop deprecated context reinitialization if resampling was not enabledVittorio Giovara2015-08-282-58/+0
| | | | Deprecated in 11/2012.
* x86inc: Drop SECTION_TEXT macroHenrik Gramner2015-08-113-3/+3
| | | | | | | 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-313-4/+8
| | | | | 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-281-1/+3
| | | | | | | | | | | | 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-194-42/+42
| | | | This applies to every library where performance is not critical.
* libavresample: NEON optimized FIR audio resamplingPeter Meerwald2015-02-216-2/+470
| | | | | | | | | | 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-201-2/+2
| | | | | 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-181-1/+1
| | | | | CC: libav-stable@libav.org Bug-Id: CID 732225
* avresample: prevent theoretical division by zeroVittorio Giovara2014-10-181-1/+4
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1231986
* lavr: Update the planar check in ff_audio_convertLuca Barbato2014-08-171-2/+2
| | | | | | Leftover from fbc0b8659967ea54a8472b5f795270d38bb085dd. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* avresample: Introduce AVFrame-based APILuca Barbato2014-08-103-1/+200
|
* Bump major versions of all libraries.Anton Khirnov2014-08-091-2/+2
|
* Postpone API-incompatible changes until the next bump.Anton Khirnov2014-08-091-1/+1
|
* lavr: Do not change the sample format for mono audioJustin Ruggles2014-08-034-12/+16
| | | | | | | 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-283-8/+39
| | | | | Utility function to get the upper bound on the number of samples the resampler would output.
* build: handle library dependencies in configureJanne Grunau2014-05-131-1/+0
| | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
* aarch64: NEON optimized FIR audio resamplingJanne Grunau2014-04-246-2/+342
| | | | | | Optimized for the default filter length 16. 30% faster opus silk decoding.
* lavr: define ResampleContext in resample.hJanne Grunau2014-04-242-29/+29
| | | | Required for arch optimized resampling.
* aarch64: NEON float to s16 audio conversionJanne Grunau2014-04-225-0/+419
|
* resample: remove an unneeded context variableAnton Khirnov2014-04-171-8/+3
|
* lavr: allocate the resampling buffer with a positive sizeAnton Khirnov2014-04-131-1/+1
| | | | | | 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-131-7/+39
|
* resample: split linear into its own functionAnton Khirnov2014-04-112-15/+27
|
* resample: add initial padding explicitlyAnton Khirnov2014-04-112-22/+36
| | | | | 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-111-2/+2
| | | | negative sample_index is handled in the block above.
* resample: reindentAnton Khirnov2014-04-111-21/+20
|
* resample: split the nearest neighbour path into a separate function pointerAnton Khirnov2014-04-112-13/+25
|
* resample: fix avresample_get_delay() return valueAnton Khirnov2014-04-111-1/+5
| | | | | | | | 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-041-2/+0
| | | | Dead code elimination is enough to avoid undefined references in these cases.
* Add missing headers to make template files compile (more) standaloneDiego Biurrun2014-03-261-0/+6
|
* lavr: return an error if a avresample_open() is called on an open contextAnton Khirnov2014-02-221-0/+5
|
* lavr: add a function for checking whether AVAudioResampleContext is openAnton Khirnov2014-02-223-1/+14
|
* lavr: mix front center channel as indicated in the ATSC A/52 specification.Tim Walker2014-02-081-2/+7
| | | | 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-071-2/+2
| | | | | | 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-152-0/+32
|
OpenPOWER on IntegriCloud