Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libavresample: NEON optimized FIR audio resampling | Peter Meerwald | 2015-02-21 | 6 | -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_cold | Peter Meerwald | 2015-02-20 | 1 | -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 overflow | Luca Barbato | 2014-10-18 | 1 | -1/+1 |
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 732225 | ||||
* | avresample: prevent theoretical division by zero | Vittorio Giovara | 2014-10-18 | 1 | -1/+4 |
| | | | | | CC: libav-stable@libav.org Bug-Id: CID 1231986 | ||||
* | lavr: Update the planar check in ff_audio_convert | Luca Barbato | 2014-08-17 | 1 | -2/+2 |
| | | | | | | Leftover from fbc0b8659967ea54a8472b5f795270d38bb085dd. Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | avresample: Introduce AVFrame-based API | Luca Barbato | 2014-08-10 | 3 | -1/+200 |
| | |||||
* | Bump major versions of all libraries. | Anton Khirnov | 2014-08-09 | 1 | -2/+2 |
| | |||||
* | Postpone API-incompatible changes until the next bump. | Anton Khirnov | 2014-08-09 | 1 | -1/+1 |
| | |||||
* | lavr: Do not change the sample format for mono audio | Justin Ruggles | 2014-08-03 | 4 | -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_samples | Luca Barbato | 2014-05-28 | 3 | -8/+39 |
| | | | | | Utility function to get the upper bound on the number of samples the resampler would output. | ||||
* | build: handle library dependencies in configure | Janne Grunau | 2014-05-13 | 1 | -1/+0 |
| | | | | | Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak. | ||||
* | aarch64: NEON optimized FIR audio resampling | Janne Grunau | 2014-04-24 | 6 | -2/+342 |
| | | | | | | Optimized for the default filter length 16. 30% faster opus silk decoding. | ||||
* | lavr: define ResampleContext in resample.h | Janne Grunau | 2014-04-24 | 2 | -29/+29 |
| | | | | Required for arch optimized resampling. | ||||
* | aarch64: NEON float to s16 audio conversion | Janne Grunau | 2014-04-22 | 5 | -0/+419 |
| | |||||
* | resample: remove an unneeded context variable | Anton Khirnov | 2014-04-17 | 1 | -8/+3 |
| | |||||
* | lavr: allocate the resampling buffer with a positive size | Anton Khirnov | 2014-04-13 | 1 | -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 flushing | Anton Khirnov | 2014-04-13 | 1 | -7/+39 |
| | |||||
* | resample: split linear into its own function | Anton Khirnov | 2014-04-11 | 2 | -15/+27 |
| | |||||
* | resample: add initial padding explicitly | Anton Khirnov | 2014-04-11 | 2 | -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 Khirnov | 2014-04-11 | 1 | -2/+2 |
| | | | | negative sample_index is handled in the block above. | ||||
* | resample: reindent | Anton Khirnov | 2014-04-11 | 1 | -21/+20 |
| | |||||
* | resample: split the nearest neighbour path into a separate function pointer | Anton Khirnov | 2014-04-11 | 2 | -13/+25 |
| | |||||
* | resample: fix avresample_get_delay() return value | Anton Khirnov | 2014-04-11 | 1 | -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 ifdefs | Diego Biurrun | 2014-04-04 | 1 | -2/+0 |
| | | | | Dead code elimination is enough to avoid undefined references in these cases. | ||||
* | Add missing headers to make template files compile (more) standalone | Diego Biurrun | 2014-03-26 | 1 | -0/+6 |
| | |||||
* | lavr: return an error if a avresample_open() is called on an open context | Anton Khirnov | 2014-02-22 | 1 | -0/+5 |
| | |||||
* | lavr: add a function for checking whether AVAudioResampleContext is open | Anton Khirnov | 2014-02-22 | 3 | -1/+14 |
| | |||||
* | lavr: mix front center channel as indicated in the ATSC A/52 specification. | Tim Walker | 2014-02-08 | 1 | -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 symbols | Martin Storsjö | 2014-02-07 | 1 | -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 arm | Janne Grunau | 2014-01-15 | 2 | -0/+32 |
| | |||||
* | x86/arm: Add clobber tests to libavresample | Martin Storsjö | 2014-01-13 | 4 | -0/+67 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with ↵ | Anton Khirnov | 2014-01-03 | 1 | -1/+1 |
| | | | | output zeroing | ||||
* | audio_mix: fix zeroing output channels in certain cases | Anton Khirnov | 2014-01-03 | 1 | -2/+5 |
| | | | | | | | | | | | 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 NULL | Anton Khirnov | 2014-01-03 | 1 | -1/+1 |
| | | | | | | | 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.h | Diego Biurrun | 2013-12-26 | 1 | -0/+2 |
| | | | | This is a more sensible place for these macros. | ||||
* | Add missing #includes for *INT64_MAX and *INT64_C | Diego Biurrun | 2013-11-23 | 1 | -0/+2 |
| | |||||
* | lavr: check that current_buffer is not NULL before using it | Justin Ruggles | 2013-10-27 | 1 | -1/+2 |
| | | | | | | | Fixes a segfault during resampling when compiled with -DDEBUG. Fixes all fate-lavr-resample tests with -DDEBUG. CC:libav-stable@libav.org | ||||
* | x86inc: Remove our FMA4 support | Derek Buitenhuis | 2013-10-14 | 1 | -9/+9 |
| | | | | | | | | This is so we can sync to x264's version of FMA4 support. This partialy reverts commit 79687079a97a039c325ab79d7a95920d800b791f. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> | ||||
* | avresample/x86: Switch operand order for mulps | Derek Buitenhuis | 2013-10-14 | 1 | -1/+1 |
| | | | | | | | | With the forthcoming VEX instruction emulation, mulps must have only the third operand point to memory, as this is what vmulps expects. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> | ||||
* | audio_mix: fix channel order in mix_1_to_2_fltp_flt_c | Anton Khirnov | 2013-10-12 | 1 | -10/+10 |
| | | | | CC:libav-stable@libav.org | ||||
* | Give less generic names to global library option arrays | Diego Biurrun | 2013-08-02 | 1 | -2/+2 |
| | |||||
* | miscellaneous typo fixes | Diego Biurrun | 2013-07-25 | 1 | -1/+1 |
| | |||||
* | Consistently use "cpu_flags" as variable/parameter name for CPU flags | Diego Biurrun | 2013-07-18 | 3 | -24/+24 |
| | |||||
* | lavr doxy: add version.h to the lavr group | Anton Khirnov | 2013-05-17 | 1 | -0/+6 |
| | |||||
* | avresample: Add av_cold attributes to init functions missing them | Diego Biurrun | 2013-05-04 | 2 | -3/+4 |
| | |||||
* | cosmetics: Remove unnecessary extern keywords from function declarations | Diego Biurrun | 2013-03-27 | 3 | -167/+166 |
| | |||||
* | lavr: allow setting internal_sample_fmt option by string | Justin Ruggles | 2013-02-23 | 1 | -1/+11 |
| | |||||
* | lavr: Add "resample_cutoff" option as a duplicate of "cutoff" | Justin Ruggles | 2013-02-23 | 1 | -0/+2 |
| | | | | | Avoids an option name conflict with libavcodec, which is needed in order to work properly with avconv. | ||||
* | lavr: fix mixing matrix reduction when normalization is disabled | Justin Ruggles | 2013-02-12 | 1 | -0/+11 |
| | | | | | | | In some cases when an input contributes fully to the corresponding output, other inputs may also contribute to the same output. This is the case, for example, for the default 5.1 to stereo downmix matrix without normalization. | ||||
* | lavr: fix matrix reduction for upmixing in certain cases | Justin Ruggles | 2013-02-12 | 1 | -0/+10 |
| | | | | | Do not skip an output if the corresponding input contributes to other output channels. |