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
2022-06-15all: Replace if (ARCH_FOO) checks by #if ARCH_FOOAndreas Rheinhardt
This is more spec-compliant because it does not rely on dead-code elimination by the compiler. Especially MSVC has problems with this, as can be seen in https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/296373.html or https://ffmpeg.org/pipermail/ffmpeg-devel/2022-May/297022.html This commit does not eliminate every instance where we rely on dead code elimination: It only tackles branching to the initialization of arch-specific dsp code, not e.g. all uses of CONFIG_ and HAVE_ checks. But maybe it is already enough to compile FFmpeg with MSVC with whole-programm-optimizations enabled (if one does not disable too many components). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-04-01libswresample/audioconvert: Fix undefined NULL + 0Andreas Rheinhardt
Affected 26 FATE tests like swr-resample_async-s16p-44100-8000. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-30swresample/audioconvert: Fix left shift of negative valueAndreas Rheinhardt
Fixes ticket #8219. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2019-09-26swresample/audioconvert: fix invalid left shift for 64bit sample formatPaul B Mahol
Fixes #8002.
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>
2016-08-18swresample: add int64 sample formatPaul B Mahol
2014-10-08swresample/audioconvert: Fix undefined behavior (left shift of negative value)Michael Niedermayer
Fixes: asan_heap-oob_4da4f3_8_asan_heap-oob_4da4f3_419_scene1a.mm Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-27swr: aarch64 audio_convert and neon clobber testMichael Niedermayer
Ported from avresample Code by: Mans Rullgard, Janne Grunau, Martin Storsjo Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-18swresample/audioconvert: fix () in FMT_PAIR_FUNC()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-12-14audioconvert: support simd code with specific alignment requirements.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25swr: make sure the last data element is NULL so we can use it to detect the ↵Michael Niedermayer
number of channels Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-25ARM: libswresample: NEON optimised flat float to s16 conversionMans Rullgard
Adapted to swr by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-02swr: fix warning: passing argument 2 of ctx->simd_f from incompatible ↵Michael Niedermayer
pointer type Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12swr: use &~15Michael Niedermayer
Idea-by: reimar (and ubitux on IRC) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-06-12swr: replace /16 by >>4Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-07swr: fix silence buffer for planar U8Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-07swr: fix cpy() after the len was changed to be in samples.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-06swr: audioconvert: consider mono to be planarMichael Niedermayer
This way it will be handled by the planar==planar SIMD Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-05swr: update calling code to support mixed packed planar SIMDMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-05-05swr: change simd len argument to be in samples instead of dst bytes.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-29swr: use memcpy when input and output matchMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-28swr: add int16_to_int32_mmx/sseMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-28swr: move AudioConvert to headerMichael Niedermayer
the next commits will need it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-28swr: change sample format representation so as to maintain the planer/packed ↵Michael Niedermayer
distinction. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-27swr: unroll audioconvert core C functionMichael Niedermayer
36k->32k decicycles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-27swr: audioconvert, mark some constants as floats.Michael Niedermayer
idea from avr Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-01-08indeo4, swresample: add some missing static/const to tables.Reimar Döffinger
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2011-11-29swr: handle correctly muted channel with u8 sample fmt.Clément Bœsch
2011-11-17swr: make audio convert code explicitely private.Clément Bœsch
Only what's declared in libswresample/swresample.h is public.
2011-11-16swr: move format convert code to dedicated functions.Clément Bœsch
This should easier common case optimizations.
2011-11-04ffmpeg: add -map_channel option.Clément Bœsch
Based on an initial work by Baptiste Coudurier.
2011-09-19Add libswresample.Michael Niedermayer
Similar to libswscale this does resampling and format convertion, just for audio instead of video. changing sampling rate, sample formats, channel layouts and sample packing all in one with a very simple public interface. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>