summaryrefslogtreecommitdiff
path: root/libavresample
Commit message (Collapse)AuthorAge
...
* lavr: check that current_buffer is not NULL before using itJustin Ruggles2013-10-27
| | | | | | | 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 supportDerek Buitenhuis2013-10-14
| | | | | | | | 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 mulpsDerek Buitenhuis2013-10-14
| | | | | | | | 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_cAnton Khirnov2013-10-12
| | | | CC:libav-stable@libav.org
* Give less generic names to global library option arraysDiego Biurrun2013-08-02
|
* miscellaneous typo fixesDiego Biurrun2013-07-25
|
* Consistently use "cpu_flags" as variable/parameter name for CPU flagsDiego Biurrun2013-07-18
|
* lavr doxy: add version.h to the lavr groupAnton Khirnov2013-05-17
|
* avresample: Add av_cold attributes to init functions missing themDiego Biurrun2013-05-04
|
* cosmetics: Remove unnecessary extern keywords from function declarationsDiego Biurrun2013-03-27
|
* lavr: allow setting internal_sample_fmt option by stringJustin Ruggles2013-02-23
|
* lavr: Add "resample_cutoff" option as a duplicate of "cutoff"Justin Ruggles2013-02-23
| | | | | 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 disabledJustin Ruggles2013-02-12
| | | | | | | 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 casesJustin Ruggles2013-02-12
| | | | | Do not skip an output if the corresponding input contributes to other output channels.
* lavr: cosmetics: reindentJustin Ruggles2013-02-12
|
* lavr: make sure that the mix function is reset even if no mixing will be doneJustin Ruggles2013-02-12
| | | | | If the matrix reduction ends up with no mixing matrix needed, we need to still reset the mix function accordingly and log the info to the user.
* lavr: print out the mix matrix in ff_audio_mix_set_matrix()Justin Ruggles2013-02-12
| | | | This will print the new matrix if it is set after initialization.
* lavr: always reset mix function names and pointers in mix_function_init()Justin Ruggles2013-01-17
| | | | CC: libav-stable@libav.org
* lavr: call mix_function_init() in ff_audio_mix_set_matrix()Justin Ruggles2013-01-17
| | | | | | | | This is needed if a custom matrix is set by the user after opening the AVAudioResampleContext because the matrix channel count can change if different mixing coefficients are used. CC:libav-stable@libav.org
* x86: lavr: add SSE2/AVX dither_int_to_float()Justin Ruggles2013-01-08
|
* x86: lavr: add SSE2 quantize() for ditheringJustin Ruggles2013-01-08
|
* lavr: log channel conversion description for any-to-any functionsJustin Ruggles2013-01-07
|
* lavr: mix: reduce the mixing matrix when possibleJustin Ruggles2013-01-07
| | | | | | | | | | | | | | | | | If the matrix results in an output channel not getting a contribution from any input channel and the corresponding input channel does not contribute to any outputs, we can skip the channel during mixing and silence it after mixing. If the matrix results in an input channel not contributing to any output channels and it is not in the output mix, or if the input channel only contributes fully to the same output channel, we can skip the channel during mixing. If the matrix results in an output channel only getting full contribution from the corresponding input channel and that input channel does not contribute to any other output channels, we can skip the channel during mixing.
* lavr: cosmetics: reindentJustin Ruggles2013-01-07
|
* lavr: add a public function for setting a custom channel mapJustin Ruggles2013-01-07
| | | | This allows reordering, duplication, and silencing of input channels.
* lavr: typedef internal structs in internal.hJustin Ruggles2013-01-07
| | | | | Simplifies header dependencies by not including all other internal headers in internal.h.
* x86: lavr: use the x86inc.asm automatic stack alignment in mixing functionsJustin Ruggles2013-01-05
| | | | CC:libav-stable@libav.org
* lavr: fix missing " in header documentationPeter Meerwald2013-01-04
| | | | | Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* miscellaneous typo fixesDiego Biurrun2012-12-21
|
* lavr: add option for dithering during sample format conversion to s16Justin Ruggles2012-12-19
|
* avresample: use valid log context in mixing functionsHendrik Leppkes2012-12-16
| | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* 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: move AudioMix struct definition to audio_mix.cJustin Ruggles2012-12-15
|
* lavr: fix segfault due to overlooked change needed in 14758e3Justin Ruggles2012-12-12
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* lavr: temporarily store custom matrix in AVAudioResampleContextJustin Ruggles2012-12-11
| | | | | | | | | This allows AudioMix to be treated the same way as other conversion contexts and removes the requirement to allocate it at the same time as the AVAudioResampleContext. The current matrix get/set functions are split between the public interface and AudioMix private functions.
* lavr: clarify documentation for avresample_get/set_matrix()Justin Ruggles2012-12-11
|
* 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.
* lavr: correct the documentation for the ff_audio_resample() return valueJustin Ruggles2012-11-27
|
* lavr: do not pass sample count as a parameter to ff_audio_convert()Justin Ruggles2012-11-27
| | | | | It will always be the number of samples in the input buffer, so just use that directly instead of passing it as a separate parameter.
* x86: lavr: fix stack allocation for 7 and 8 channel downmixing on x86-32Ronald S. Bultje2012-11-17
| | | | Fixes crashes on Win32 and stack overruns on x86-32 in general.
* lavr: fix the decision for writing directly to the output bufferJustin Ruggles2012-11-17
| | | | | | If there are any samples remaining in the output fifo from previous conversion calls, we have to output those samples first instead of doing direct output of the current samples.
* build: Drop AVX assembly ifdefsDiego Biurrun2012-11-11
| | | | An assembler able to cope with AVX instructions is now required.
* Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles2012-11-11
| | | | Also reorder some other #include when applicable.
* x86: PALIGNR: port to cpuflagsDiego Biurrun2012-11-09
|
* x86: avresample: Add missing colons to assembly labelsDiego Biurrun2012-11-06
| | | | YASM accepts labels without colons, but NASM issues warnings.
* x86: yasm: Use complete source path for macro helper %includesDiego Biurrun2012-10-31
| | | | | This is more consistent with the way we handle C #includes and it simplifies the build system.
* x86: include x86inc.asm in x86util.asmDiego Biurrun2012-10-31
| | | | This is necessary to allow refactoring some x86util macros with cpuflags.
* lavr: document upper bound on number of output samples.Anton Khirnov2012-10-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* lavr: add general API usage doxyAnton Khirnov2012-10-29
| | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>