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
2018-02-19swresample/rematrix: fix update of channel matrix if input or output layout ↵Tobias Rapp
is undefined Prefer direct in/out channel count values over channel layout, when available. Fixes a pan filter bug (ticket #6790). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
2017-11-01lswr/rematrix: Support s32p.Carl Eugen Hoyos
Fixes ticket #6785.
2017-06-21build: Generalize yasm/nasm-related variable namesDiego Biurrun
None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
2017-02-25lswr/rematrix: Remove an aggressive loop optimization.Carl Eugen Hoyos
Fixes undefined behaviour and a gcc warning: libswresample/rematrix.c:376:47: warning: iteration 64 invokes undefined behavior
2016-10-26swresample/rematrix: Fix float part of swr_set_matrix()Vodyannikov Aleksandr
Fixes Ticket #5897. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-27swresample: Add swr_build_matrix()Michael Niedermayer
API and Doxy documentation is taken from avresample_build_matrix() Fixes: Ticket5780 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-09-27swresample: Use double and float for matrixes for best quality and speedMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-15swresample/rematrix: Use clipping s16 rematrixing if overflows are possibleMichael Niedermayer
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-15swresample/rematrix: Use error diffusion to avoid error in the DC component ↵Michael Niedermayer
of the matrix This fixes the sum of the integer coefficients ending up summing to a value larger than the value representing unity. This issue occurs with qN0.dts when converting to stereo Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-10-15swresample: slightly nicer debug output for auto matrixwm4
This is the matrix that will be used for up/downmixing.
2015-06-04libswresample/rematrix: Check for malloc errorsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-12swresample: Allow reinitialization without ever setting channel layoutsMichael Niedermayer
2015-02-09swresample/x86/rematrix_init: Check av_malloc* return codes, forward errorsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-07libswresample: move condition to start of loop.Reimar Döffinger
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>
2014-09-07Remove pointless if.Reimar Döffinger
A branch to avoid some calculation seems unlikely to have any benefits. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2014-09-07libswresample: Avoid needlessly large on-stack array.Reimar Döffinger
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>
2014-04-24swresample: fix AV_CH_LAYOUT_STEREO_DOWNMIX inputMichael Niedermayer
Fixes Ticket 3542 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-03lswr: fix assert failure on unknown layouts.Nicolas George
2013-08-20swr/rematrix: Fix handling of AV_CH_LAYOUT_STEREO_DOWNMIX outputMichael Niedermayer
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>
2013-08-20swr: clean layouts before checking sanityMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-22swresample: fix negative rematrix volumnsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-22swresample: Make rematrix maxvalue user settableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05swr: add native_simd_oneMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-04swresample/rematrix: add S32 mixing codeMichael Niedermayer
Needed for dithering S32 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15swr/rematrix: use av_calloc()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-16swr/rematrix: move templating parameters to template itself.Clément Bœsch
2012-11-13Replace rest of libavutil/audioconvert.h with libavutil/channel_layout.hPaul B Mahol
Also remove it in once case when it is not needed. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-14swr/rematrix: fix C99 left shift overflowMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-09swr: add av_cold to init/free functionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-08swr/auto_matrix: treat a single channel as mono instead of failingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-08swr/auto_matrix: treat stereo downmix like stereo.Michael Niedermayer
Based on code by John Stebbins Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-08swr/auto_matrix: add clean layout functionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-08swr/auto_matrix: move layouts to local variablesMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-07Add Dolby/DPLII downmix support to libswresampleMichael Niedermayer
Based on code by John Stebbins <jstebbins.hb@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-07swr: update rematrix coeffs to match AC-3Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02swr: fix warning: passing argument 2 of s->mix_any_f from incompatible ↵Michael Niedermayer
pointer type Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02swr: fix mix* related function pointer warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-21lswr/rematrix: specify explicitly the name of the unsupported channel layoutsStefano Sabatini
Help debugging.
2012-06-12swr: mix_2_1_int16_mmx/sseMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12swr: mix_1_1 int16 MMXMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12swr: SIMD rematrixing and SSE/AVX mix_1_1 floatMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12swr: add native matrix for SIMDMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-09swr: skip memset(0) in rematrix when the array is known to be already 0Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-09swr: 5.1->stereo double, float and s16Michael Niedermayer
2.5 times faster than the generic code Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08swr: add all in one rematrixing function ptrMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-08swr: add inrermediate sample type for rematrixingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-02swr: add double precision support to the rematrix codeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-02swr: add lfe_mix_levelJustin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-02swr: update side to back mixing.Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-01swr: add and use function pointers for rematrixMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>