Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swresample: slightly nicer debug output for auto matrix | wm4 | 2015-10-15 | 1 | -2/+7 |
| | | | | This is the matrix that will be used for up/downmixing. | ||||
* | libswresample/rematrix: Check for malloc errors | Michael Niedermayer | 2015-06-04 | 1 | -0/+8 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swresample: Allow reinitialization without ever setting channel layouts | Michael Niedermayer | 2015-04-12 | 1 | -2/+2 |
| | |||||
* | swresample/x86/rematrix_init: Check av_malloc* return codes, forward errors | Michael Niedermayer | 2015-02-09 | 1 | -1/+2 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | libswresample: move condition to start of loop. | Reimar Döffinger | 2014-09-07 | 1 | -4/+6 |
| | | | | | | | | | This avoids several issue like calculating sum/maxcoef incorrectly due to adding up matrix entries that will be overwritten, as well as out-of-range writes to s->matrix if the maximum allowed number of channels is used. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> | ||||
* | Remove pointless if. | Reimar Döffinger | 2014-09-07 | 1 | -3/+1 |
| | | | | | | A branch to avoid some calculation seems unlikely to have any benefits. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> | ||||
* | libswresample: Avoid needlessly large on-stack array. | Reimar Döffinger | 2014-09-07 | 1 | -5/+9 |
| | | | | | | | | We only actually need to use a tiny part of it. Unfortunately we seem to have no real test coverage on the code, so this is a bit risky. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> | ||||
* | swresample: fix AV_CH_LAYOUT_STEREO_DOWNMIX input | Michael Niedermayer | 2014-04-24 | 1 | -0/+5 |
| | | | | | | Fixes Ticket 3542 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | lswr: fix assert failure on unknown layouts. | Nicolas George | 2013-11-03 | 1 | -2/+2 |
| | |||||
* | swr/rematrix: Fix handling of AV_CH_LAYOUT_STEREO_DOWNMIX output | Michael Niedermayer | 2013-08-20 | 1 | -3/+5 |
| | | | | | | | | | | Fixes Ticket2859 Note, testcases related to the downmix channels are welcome. (id like to make sure this is working correctly now, as obviously it didnt work before ...) Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: clean layouts before checking sanity | Michael Niedermayer | 2013-08-20 | 1 | -1/+2 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swresample: fix negative rematrix volumns | Michael Niedermayer | 2013-07-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swresample: Make rematrix maxvalue user settable | Michael Niedermayer | 2013-07-22 | 1 | -2/+11 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add native_simd_one | Michael Niedermayer | 2013-06-04 | 1 | -0/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swresample/rematrix: add S32 mixing code | Michael Niedermayer | 2013-06-04 | 1 | -0/+15 |
| | | | | | | Needed for dithering S32 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/rematrix: use av_calloc() | Michael Niedermayer | 2013-04-15 | 1 | -3/+3 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/rematrix: move templating parameters to template itself. | Clément Bœsch | 2012-11-15 | 1 | -33/+8 |
| | |||||
* | Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.h | Paul B Mahol | 2012-11-13 | 1 | -1/+1 |
| | | | | | | Also remove it in once case when it is not needed. Signed-off-by: Paul B Mahol <onemda@gmail.com> | ||||
* | swr/rematrix: fix C99 left shift overflow | Michael Niedermayer | 2012-10-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add av_cold to init/free functions | Michael Niedermayer | 2012-09-09 | 1 | -3/+3 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/auto_matrix: treat a single channel as mono instead of failing | Michael Niedermayer | 2012-09-08 | 1 | -0/+7 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/auto_matrix: treat stereo downmix like stereo. | Michael Niedermayer | 2012-09-08 | 1 | -0/+2 |
| | | | | | Based on code by John Stebbins Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/auto_matrix: add clean layout function | Michael Niedermayer | 2012-09-08 | 1 | -1/+9 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr/auto_matrix: move layouts to local variables | Michael Niedermayer | 2012-09-08 | 1 | -35/+37 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | Add Dolby/DPLII downmix support to libswresample | Michael Niedermayer | 2012-09-07 | 1 | -6/+42 |
| | | | | | | Based on code by John Stebbins <jstebbins.hb@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: update rematrix coeffs to match AC-3 | Michael Niedermayer | 2012-09-07 | 1 | -2/+7 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: fix warning: passing argument 2 of s->mix_any_f from incompatible ↵ | Michael Niedermayer | 2012-07-02 | 1 | -1/+1 |
| | | | | | | pointer type Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: fix mix* related function pointer warnings | Michael Niedermayer | 2012-07-02 | 1 | -9/+9 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | lswr/rematrix: specify explicitly the name of the unsupported channel layouts | Stefano Sabatini | 2012-06-21 | 1 | -2/+5 |
| | | | | Help debugging. | ||||
* | swr: mix_2_1_int16_mmx/sse | Michael Niedermayer | 2012-06-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: mix_1_1 int16 MMX | Michael Niedermayer | 2012-06-12 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: SIMD rematrixing and SSE/AVX mix_1_1 float | Michael Niedermayer | 2012-06-12 | 1 | -2/+20 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add native matrix for SIMD | Michael Niedermayer | 2012-06-12 | 1 | -0/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: skip memset(0) in rematrix when the array is known to be already 0 | Michael Niedermayer | 2012-06-09 | 1 | -1/+2 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: 5.1->stereo double, float and s16 | Michael Niedermayer | 2012-06-08 | 1 | -0/+3 |
| | | | | | | 2.5 times faster than the generic code Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add all in one rematrixing function ptr | Michael Niedermayer | 2012-06-08 | 1 | -0/+7 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add inrermediate sample type for rematrixing | Michael Niedermayer | 2012-06-08 | 1 | -0/+5 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add double precision support to the rematrix code | Michael Niedermayer | 2012-05-02 | 1 | -0/+30 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add lfe_mix_level | Justin Ruggles | 2012-05-02 | 1 | -0/+11 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: update side to back mixing. | Justin Ruggles | 2012-05-02 | 1 | -2/+9 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add and use function pointers for rematrix | Michael Niedermayer | 2012-05-01 | 1 | -18/+13 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add native matrix for rematrixing | Michael Niedermayer | 2012-05-01 | 1 | -0/+23 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: change sample format representation so as to maintain the planer/packed ↵ | Michael Niedermayer | 2012-04-28 | 1 | -6/+6 |
| | | | | | | distinction. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: simplify code by using av_get_bytes_per_sample() | Michael Niedermayer | 2012-04-11 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: use assert in swri_sum2 to check that only supported formats are used. | Michael Niedermayer | 2012-04-10 | 1 | -0/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: add dither support. | Michael Niedermayer | 2012-04-10 | 1 | -9/+10 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: update copyright year for rematrix | Michael Niedermayer | 2012-04-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | swr: special case for empty channels in rematrix. | Nicolas George | 2012-03-07 | 1 | -0/+3 |
| | | | | Speed += 10% overall for pan=stereo:FL=FL+FR from wav to null. | ||||
* | libswr: allow to set custom matrices. | Nicolas George | 2012-02-20 | 1 | -9/+42 |
| | |||||
* | swr: use "swri_" prefix instead of "swr_" for the private API. | Clément Bœsch | 2011-11-17 | 1 | -2/+2 |
| |