Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-24lavr: allow setting internal_sample_fmt option by stringJustin Ruggles
2013-02-24lavr: Add "resample_cutoff" option as a duplicate of "cutoff"Justin Ruggles
Avoids an option name conflict with libavcodec, which is needed in order to work properly with avconv.
2013-02-12lavr: fix mixing matrix reduction when normalization is disabledJustin Ruggles
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.
2013-02-12lavr: fix matrix reduction for upmixing in certain casesJustin Ruggles
Do not skip an output if the corresponding input contributes to other output channels.
2013-02-12lavr: cosmetics: reindentJustin Ruggles
2013-02-12lavr: make sure that the mix function is reset even if no mixing will be doneJustin Ruggles
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.
2013-02-12lavr: print out the mix matrix in ff_audio_mix_set_matrix()Justin Ruggles
This will print the new matrix if it is set after initialization.
2013-01-18lavr: always reset mix function names and pointers in mix_function_init()Justin Ruggles
CC: libav-stable@libav.org
2013-01-18lavr: call mix_function_init() in ff_audio_mix_set_matrix()Justin Ruggles
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
2013-01-08x86: lavr: add SSE2/AVX dither_int_to_float()Justin Ruggles
2013-01-08x86: lavr: add SSE2 quantize() for ditheringJustin Ruggles
2013-01-08lavr: log channel conversion description for any-to-any functionsJustin Ruggles
2013-01-08lavr: mix: reduce the mixing matrix when possibleJustin Ruggles
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.
2013-01-08lavr: cosmetics: reindentJustin Ruggles
2013-01-08lavr: add a public function for setting a custom channel mapJustin Ruggles
This allows reordering, duplication, and silencing of input channels.
2013-01-08lavr: typedef internal structs in internal.hJustin Ruggles
Simplifies header dependencies by not including all other internal headers in internal.h.
2013-01-06x86: lavr: use the x86inc.asm automatic stack alignment in mixing functionsJustin Ruggles
CC:libav-stable@libav.org
2013-01-04lavr: fix missing " in header documentationPeter Meerwald
Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com> Signed-off-by: Martin Storsjö <martin@martin.st>
2012-12-21miscellaneous typo fixesDiego Biurrun
2012-12-20lavr: add option for dithering during sample format conversion to s16Justin Ruggles
2012-12-17avresample: use valid log context in mixing functionsHendrik Leppkes
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-12-17lavr: remove automatic context close/open for resampling compensationJustin Ruggles
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.
2012-12-17lavr: only save/restore the mixing matrix if mixing is being doneJustin Ruggles
2012-12-15lavr: move AudioMix struct definition to audio_mix.cJustin Ruggles
2012-12-12lavr: fix segfault due to overlooked change needed in 14758e3Justin Ruggles
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-12-11lavr: temporarily store custom matrix in AVAudioResampleContextJustin Ruggles
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.
2012-12-11lavr: clarify documentation for avresample_get/set_matrix()Justin Ruggles
2012-11-28lavr: do not pass consumed samples as a parameter to ff_audio_resample()Justin Ruggles
Since the resampler handles buffering of unconsumed samples internally, the caller does not need this information.
2012-11-28lavr: correct the documentation for the ff_audio_resample() return valueJustin Ruggles
2012-11-28lavr: do not pass sample count as a parameter to ff_audio_convert()Justin Ruggles
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.
2012-11-18x86: lavr: fix stack allocation for 7 and 8 channel downmixing on x86-32Ronald S. Bultje
Fixes crashes on Win32 and stack overruns on x86-32 in general.
2012-11-18lavr: fix the decision for writing directly to the output bufferJustin Ruggles
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.
2012-11-11build: Drop AVX assembly ifdefsDiego Biurrun
An assembler able to cope with AVX instructions is now required.
2012-11-11Include libavutil/channel_layout.h instead of libavutil/audioconvert.hJustin Ruggles
Also reorder some other #include when applicable.
2012-11-10x86: PALIGNR: port to cpuflagsDiego Biurrun
2012-11-06x86: avresample: Add missing colons to assembly labelsDiego Biurrun
YASM accepts labels without colons, but NASM issues warnings.
2012-10-31x86: yasm: Use complete source path for macro helper %includesDiego Biurrun
This is more consistent with the way we handle C #includes and it simplifies the build system.
2012-10-31x86: include x86inc.asm in x86util.asmDiego Biurrun
This is necessary to allow refactoring some x86util macros with cpuflags.
2012-10-29lavr: document upper bound on number of output samples.Anton Khirnov
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-10-29lavr: add general API usage doxyAnton Khirnov
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2012-10-13lavr: handle clipping in the float to s32 conversionJustin Ruggles
We cannot clip to INT_MAX because that value cannot be exactly represented by a float value and ends up overflowing during conversion anyway. We need to use a slightly smaller float value, which ends up with slightly inaccurate results for samples which clip or nearly clip, but it is close enough. Using doubles as intermediates in the conversion would be more accurate, but it takes about twice as much time. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2012-10-05lavr: bump major to 1 and declare it stable.Anton Khirnov
2012-10-05lavr: change the type of the data buffers to uint8_t**.Anton Khirnov
This is more consistent with what the rest of Libav does. This breaks API.
2012-09-13ARM: libavresample: NEON optimised generic fltp to s16 conversionMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-13ARM: libavresample: NEON optimised stereo fltp to s16 conversionMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-13ARM: libavresample: NEON optimised flat float to s16 conversionMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-09-13lavr/audio_mix_matrix: acknowledge the existence of LFE2.Tim Walker
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
2012-09-08x86: Replace checks for CPU extensions and flags by convenience macrosDiego Biurrun
This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect.
2012-09-05avopt: Explicitly store float/double option defaults in .dblMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-09-05avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö
Signed-off-by: Martin Storsjö <martin@martin.st>