Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | lavr: always reset mix function names and pointers in mix_function_init() | Justin Ruggles | 2013-01-17 | 1 | -3/+4 |
| | | | | CC: libav-stable@libav.org | ||||
* | lavr: call mix_function_init() in ff_audio_mix_set_matrix() | Justin Ruggles | 2013-01-17 | 1 | -5/+1 |
| | | | | | | | | 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 Ruggles | 2013-01-08 | 2 | -0/+86 |
| | |||||
* | x86: lavr: add SSE2 quantize() for dithering | Justin Ruggles | 2013-01-08 | 5 | -0/+102 |
| | |||||
* | lavr: log channel conversion description for any-to-any functions | Justin Ruggles | 2013-01-07 | 1 | -2/+3 |
| | |||||
* | lavr: mix: reduce the mixing matrix when possible | Justin Ruggles | 2013-01-07 | 1 | -30/+186 |
| | | | | | | | | | | | | | | | | | 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: reindent | Justin Ruggles | 2013-01-07 | 1 | -25/+28 |
| | |||||
* | lavr: add a public function for setting a custom channel map | Justin Ruggles | 2013-01-07 | 10 | -27/+301 |
| | | | | This allows reordering, duplication, and silencing of input channels. | ||||
* | lavr: typedef internal structs in internal.h | Justin Ruggles | 2013-01-07 | 8 | -14/+16 |
| | | | | | Simplifies header dependencies by not including all other internal headers in internal.h. | ||||
* | x86: lavr: use the x86inc.asm automatic stack alignment in mixing functions | Justin Ruggles | 2013-01-05 | 1 | -26/+9 |
| | | | | CC:libav-stable@libav.org | ||||
* | lavr: fix missing " in header documentation | Peter Meerwald | 2013-01-04 | 1 | -1/+1 |
| | | | | | Signed-off-by: Peter Meerwald <p.meerwald@bct-electronic.com> Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | miscellaneous typo fixes | Diego Biurrun | 2012-12-21 | 1 | -1/+1 |
| | |||||
* | lavr: add option for dithering during sample format conversion to s16 | Justin Ruggles | 2012-12-19 | 10 | -12/+583 |
| | |||||
* | avresample: use valid log context in mixing functions | Hendrik Leppkes | 2012-12-16 | 1 | -5/+5 |
| | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | lavr: remove automatic context close/open for resampling compensation | Justin Ruggles | 2012-12-16 | 3 | -7/+15 |
| | | | | | | | | | 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 done | Justin Ruggles | 2012-12-16 | 1 | -6/+12 |
| | |||||
* | lavr: move AudioMix struct definition to audio_mix.c | Justin Ruggles | 2012-12-15 | 2 | -22/+24 |
| | |||||
* | lavr: fix segfault due to overlooked change needed in 14758e3 | Justin Ruggles | 2012-12-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org> | ||||
* | lavr: temporarily store custom matrix in AVAudioResampleContext | Justin Ruggles | 2012-12-11 | 6 | -158/+216 |
| | | | | | | | | | 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 Ruggles | 2012-12-11 | 1 | -1/+5 |
| | |||||
* | lavr: do not pass consumed samples as a parameter to ff_audio_resample() | Justin Ruggles | 2012-11-27 | 3 | -10/+6 |
| | | | | | 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 value | Justin Ruggles | 2012-11-27 | 1 | -1/+1 |
| | |||||
* | lavr: do not pass sample count as a parameter to ff_audio_convert() | Justin Ruggles | 2012-11-27 | 3 | -8/+11 |
| | | | | | 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-32 | Ronald S. Bultje | 2012-11-17 | 1 | -1/+9 |
| | | | | Fixes crashes on Win32 and stack overruns on x86-32 in general. | ||||
* | lavr: fix the decision for writing directly to the output buffer | Justin Ruggles | 2012-11-17 | 1 | -4/+5 |
| | | | | | | 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 ifdefs | Diego Biurrun | 2012-11-11 | 2 | -42/+0 |
| | | | | An assembler able to cope with AVX instructions is now required. | ||||
* | Include libavutil/channel_layout.h instead of libavutil/audioconvert.h | Justin Ruggles | 2012-11-11 | 1 | -1/+1 |
| | | | | Also reorder some other #include when applicable. | ||||
* | x86: PALIGNR: port to cpuflags | Diego Biurrun | 2012-11-09 | 1 | -6/+0 |
| | |||||
* | x86: avresample: Add missing colons to assembly labels | Diego Biurrun | 2012-11-06 | 1 | -2/+2 |
| | | | | YASM accepts labels without colons, but NASM issues warnings. | ||||
* | x86: yasm: Use complete source path for macro helper %includes | Diego Biurrun | 2012-10-31 | 2 | -2/+2 |
| | | | | | This is more consistent with the way we handle C #includes and it simplifies the build system. | ||||
* | x86: include x86inc.asm in x86util.asm | Diego Biurrun | 2012-10-31 | 2 | -2/+0 |
| | | | | This is necessary to allow refactoring some x86util macros with cpuflags. | ||||
* | lavr: document upper bound on number of output samples. | Anton Khirnov | 2012-10-29 | 1 | -0/+4 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | lavr: add general API usage doxy | Anton Khirnov | 2012-10-29 | 1 | -0/+71 |
| | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net> | ||||
* | lavr: handle clipping in the float to s32 conversion | Justin Ruggles | 2012-10-13 | 1 | -1/+7 |
| | | | | | | | | | | | 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> | ||||
* | lavr: bump major to 1 and declare it stable. | Anton Khirnov | 2012-10-05 | 1 | -2/+2 |
| | |||||
* | lavr: change the type of the data buffers to uint8_t**. | Anton Khirnov | 2012-10-05 | 5 | -11/+11 |
| | | | | | | This is more consistent with what the rest of Libav does. This breaks API. | ||||
* | ARM: libavresample: NEON optimised generic fltp to s16 conversion | Mans Rullgard | 2012-09-13 | 2 | -0/+238 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | ARM: libavresample: NEON optimised stereo fltp to s16 conversion | Mans Rullgard | 2012-09-13 | 2 | -0/+69 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | ARM: libavresample: NEON optimised flat float to s16 conversion | Mans Rullgard | 2012-09-13 | 5 | -0/+110 |
| | | | | Signed-off-by: Mans Rullgard <mans@mansr.com> | ||||
* | lavr/audio_mix_matrix: acknowledge the existence of LFE2. | Tim Walker | 2012-09-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com> | ||||
* | x86: Replace checks for CPU extensions and flags by convenience macros | Diego Biurrun | 2012-09-08 | 2 | -17/+17 |
| | | | | | This separates code relying on inline from that relying on external assembly and fixes instances where the coalesced check was incorrect. | ||||
* | avopt: Explicitly store float/double option defaults in .dbl | Martin Storsjö | 2012-09-04 | 1 | -4/+4 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -14/+14 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member | Martin Storsjö | 2012-09-04 | 1 | -9/+9 |
| | | | | Signed-off-by: Martin Storsjö <martin@martin.st> | ||||
* | x86: Split inline and external assembly #ifdefs | Diego Biurrun | 2012-08-31 | 2 | -22/+22 |
| | |||||
* | x86: cosmetics: Comment some #endifs for better readability | Diego Biurrun | 2012-08-30 | 1 | -1/+1 |
| | |||||
* | AVOptions: store defaults for INT64 options in int64 union member. | Anton Khirnov | 2012-08-24 | 1 | -2/+2 |
| | | | | | Double does not have enough precision to represent all int64 numbers exactly. | ||||
* | lavr: x86: optimized 6-channel flt to fltp conversion | Justin Ruggles | 2012-08-23 | 2 | -0/+72 |
| | |||||
* | lavr: x86: optimized 2-channel flt to fltp conversion | Justin Ruggles | 2012-08-23 | 2 | -0/+41 |
| | |||||
* | lavr: x86: optimized 6-channel flt to s16p conversion | Justin Ruggles | 2012-08-23 | 2 | -0/+87 |
| |