aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample
Commit message (Collapse)AuthorAgeFilesLines
...
* swr: fix #endif comment ref.Clément Bœsch2011-11-171-1/+1
|
* swr: replace deprecated av_set_int() with av_opt_set_int().Clément Bœsch2011-11-161-6/+6
|
* swr: replace deprecated av_opt_set_defaults2() with av_opt_set_defaults().Clément Bœsch2011-11-161-1/+1
|
* swr: replace deprecated av_get_bits_per_sample_fmt() with ↵Clément Bœsch2011-11-161-3/+3
| | | | av_get_bytes_per_sample().
* swr: use designated initializers for the class.Clément Bœsch2011-11-161-1/+8
|
* swr: rename resample2 to resample.Clément Bœsch2011-11-162-1/+1
|
* swr: move format convert code to dedicated functions.Clément Bœsch2011-11-161-39/+77
| | | | This should easier common case optimizations.
* swr: set the default used_ch_count value to zero.Clément Bœsch2011-11-141-2/+1
| | | | | | | This allows an appropriate behaviour when it is not specified (fallback to the number of input channels). Fixes Ticket523
* ffmpeg: add -map_channel option.Clément Bœsch2011-11-046-18/+44
| | | | Based on an initial work by Baptiste Coudurier.
* swr: document how flushing works and bump minor version.Michael Niedermayer2011-11-041-1/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr-test: test flushingMichael Niedermayer2011-11-041-1/+29
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Support flushing last samples out.Michael Niedermayer2011-11-041-1/+22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* resample2: fix potential overflowMichael Niedermayer2011-10-271-3/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* resample: Fix overflowMichael Niedermayer2011-10-271-2/+4
| | | | | Found-by: Jim Radford Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: add parameter to tune volumeMichael Niedermayer2011-10-263-2/+15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: change type of integers from 16 to 32bit to allow increasing ↵Michael Niedermayer2011-10-262-6/+6
| | | | | | volume with it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: add type for coefficientsMichael Niedermayer2011-10-262-2/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Fix swresample.c:293:5: warning: passing argument 2 of ↵Michael Niedermayer2011-10-211-1/+1
| | | | | | ‘fill_audiodata’ from incompatible pointer type Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: remove unused variable.Michael Niedermayer2011-10-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Fix assignment discards qualifiers from pointer target type warning.Michael Niedermayer2011-10-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* resample2: Fix passing argument from incompatible pointer type warnings.Michael Niedermayer2011-10-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Mark src as const in swr_resample()Michael Niedermayer2011-10-212-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: Fix several passing argument from incompatible pointer type warnings.Michael Niedermayer2011-10-211-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.Clément Bœsch2011-10-171-15/+15
|
* Do not warn about wrong channel layout if no channel layout is defined.Carl Eugen Hoyos2011-10-161-1/+1
|
* swresample: fix another broken indent chunk.Clément Bœsch2011-10-101-19/+18
| | | | Also use a consistent style inside that block.
* swresample: fix broken indent.Clément Bœsch2011-10-102-44/+44
|
* swresample/rematrix: show matrix with debug log levelMichael Niedermayer2011-10-071-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: use av_get_default_channel_layout instead of guess_layoutMarton Balint2011-10-071-14/+3
| | | | | Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: Try to handle cases with input channel count and layout mismatching.Michael Niedermayer2011-10-061-0/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswresample: support directly converting sampleformats and packed/planar ↵Michael Niedermayer2011-10-062-0/+15
| | | | | | | | in a single pass. Previously a intermediate planar format was used when both input and output where packed. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: check for invalid sample formats.Michael Niedermayer2011-10-011-1/+9
| | | | | Bug-Found-by: Justin Ruggles Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr_test: test planar audioMichael Niedermayer2011-10-011-12/+49
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: minor fixes to get planar audio workingMichael Niedermayer2011-10-011-10/+22
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr_test: dont test samples that have not been writtenMichael Niedermayer2011-09-291-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: remove unused variable.Nicolas George2011-09-281-1/+0
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswr/rematrix: remove unused variable.Nicolas George2011-09-281-1/+1
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswr/rematrix: add braces to silence a warning.Nicolas George2011-09-281-1/+1
| | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: dont use floats for int16 code.Michael Niedermayer2011-09-193-10/+20
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* rematrix: use double during init.Michael Niedermayer2011-09-191-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: replace sqrt(0.5) by M_SQRT1_2Michael Niedermayer2011-09-191-23/+23
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix shared lib buildMichael Niedermayer2011-09-192-1/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Add libswresample.Michael Niedermayer2011-09-1910-0/+1588
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>