summaryrefslogtreecommitdiff
path: root/libswresample/audioconvert.c
Commit message (Collapse)AuthorAge
* swresample/audioconvert: fix invalid left shift for 64bit sample formatPaul B Mahol2019-09-26
| | | | Fixes #8002.
* build: Generalize yasm/nasm-related variable namesDiego Biurrun2017-06-21
| | | | | | | | None of them are specific to the YASM assembler. (Cherry-picked from libav commit 39e208f4d4756367c7cd2d581847e0c1b8a429c1) Signed-off-by: James Almer <jamrial@gmail.com>
* swresample: add int64 sample formatPaul B Mahol2016-08-18
|
* swresample/audioconvert: Fix undefined behavior (left shift of negative value)Michael Niedermayer2014-10-08
| | | | | | | 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>
* swr: aarch64 audio_convert and neon clobber testMichael Niedermayer2014-08-27
| | | | | | | Ported from avresample Code by: Mans Rullgard, Janne Grunau, Martin Storsjo Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample/audioconvert: fix () in FMT_PAIR_FUNC()Michael Niedermayer2014-06-18
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* audioconvert: support simd code with specific alignment requirements.Michael Niedermayer2012-12-14
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: make sure the last data element is NULL so we can use it to detect the ↵Michael Niedermayer2012-09-24
| | | | | | number of channels Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* ARM: libswresample: NEON optimised flat float to s16 conversionMans Rullgard2012-09-24
| | | | | Adapted to swr by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix warning: passing argument 2 of ctx->simd_f from incompatible ↵Michael Niedermayer2012-07-02
| | | | | | pointer type Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: use &~15Michael Niedermayer2012-06-12
| | | | | Idea-by: reimar (and ubitux on IRC) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: replace /16 by >>4Michael Niedermayer2012-06-12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix silence buffer for planar U8Michael Niedermayer2012-05-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix cpy() after the len was changed to be in samples.Michael Niedermayer2012-05-07
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: audioconvert: consider mono to be planarMichael Niedermayer2012-05-06
| | | | | | This way it will be handled by the planar==planar SIMD Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: update calling code to support mixed packed planar SIMDMichael Niedermayer2012-05-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: change simd len argument to be in samples instead of dst bytes.Michael Niedermayer2012-05-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: use memcpy when input and output matchMichael Niedermayer2012-04-29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add int16_to_int32_mmx/sseMichael Niedermayer2012-04-28
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: move AudioConvert to headerMichael Niedermayer2012-04-28
| | | | | | the next commits will need it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: change sample format representation so as to maintain the planer/packed ↵Michael Niedermayer2012-04-28
| | | | | | distinction. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: unroll audioconvert core C functionMichael Niedermayer2012-04-27
| | | | | | 36k->32k decicycles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: audioconvert, mark some constants as floats.Michael Niedermayer2012-04-27
| | | | | | idea from avr Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* indeo4, swresample: add some missing static/const to tables.Reimar Döffinger2012-01-08
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* swr: handle correctly muted channel with u8 sample fmt.Clément Bœsch2011-11-29
|
* swr: make audio convert code explicitely private.Clément Bœsch2011-11-17
| | | | Only what's declared in libswresample/swresample.h is public.
* swr: move format convert code to dedicated functions.Clément Bœsch2011-11-16
| | | | This should easier common case optimizations.
* ffmpeg: add -map_channel option.Clément Bœsch2011-11-04
| | | | Based on an initial work by Baptiste Coudurier.
* Add libswresample.Michael Niedermayer2011-09-19
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>