summaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.c
Commit message (Collapse)AuthorAgeFilesLines
* swr: realloc_audio: support packed audio buffersMichael Niedermayer2012-03-251-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: More flexible and convenient bufferingMichael Niedermayer2012-03-251-41/+101
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: fix segfault when 0 out size is used.Michael Niedermayer2012-03-251-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: Fix partial flushing.Michael Niedermayer2012-03-251-2/+2
| | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <[email protected]>
* swr: allow flushing in multiple steps if the output is too small.Michael Niedermayer2012-03-251-11/+14
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: check that there is enough information to do rematrixing when needed.Michael Niedermayer2012-03-231-0/+5
| | | | | | | Fixes assertion failure. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <[email protected]>
* cosmetics: fix some typosLou Logan2012-03-131-1/+1
| | | | | | | | | | Patch attached. From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001 From: Lou Logan <[email protected]> Date: Mon, 12 Mar 2012 14:13:44 -0800 Subject: [PATCH] cosmetics: fix some typos Signed-off-by: Michael Niedermayer <[email protected]>
* libswr: allow to set custom matrices.Nicolas George2012-02-201-1/+2
|
* swr: fix swresample_version()Michael Niedermayer2011-12-231-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: increase LIBSWRESAMPLE_VERSION_MICRO to 100Michael Niedermayer2011-12-221-0/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: add swresample_version swresample_configuration and swresample_licenseMichael Niedermayer2011-12-221-0/+16
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swr: fix assert failureMichael Niedermayer2011-12-201-1/+6
| | | | | | | Bug found by: Oana Stratulat GCI-id: 7211207 Signed-off-by: Michael Niedermayer <[email protected]>
* swr: fix invalid sample format message.Clément Bœsch2011-11-241-2/+2
| | | | | If the sample format is invalid, av_get_sample_fmt_name() will always return NULL.
* swr: use native planar sample formats.Clément Bœsch2011-11-241-4/+4
|
* swr: fix test program.Clément Bœsch2011-11-241-0/+1
| | | | | | | The number of used channels need to be reset to zero when swr_alloc_set_opts() is called successive times. This is a regression introduced in c8136ebd.
* swr: change minimum I/O channel count to zero.Clément Bœsch2011-11-201-2/+2
| | | | | This will silence the warning of av_set_opt_int() in swr for input/output channels when the layout is not yet defined (or supported).
* swr: move code to avoid resample forward declaration.Clément Bœsch2011-11-171-93/+91
|
* swr: introduce a public function to customize the channel mapping.Clément Bœsch2011-11-171-3/+8
|
* swr: use av_opt_set_int() instead of manual assignments in swr_alloc_set_opts().Clément Bœsch2011-11-171-4/+3
|
* swr: correctly raise rematrix AVERROR.Clément Bœsch2011-11-171-2/+2
|
* swr: make swr_* functions match the prototypes.Clément Bœsch2011-11-171-6/+6
|
* swr: rename swr_alloc2() to swr_alloc_set_opts().Clément Bœsch2011-11-171-3/+4
|
* swr: use "swri_" prefix instead of "swr_" for the private API.Clément Bœsch2011-11-171-8/+8
|
* swr: make audio convert code explicitely private.Clément Bœsch2011-11-171-15/+15
| | | | Only what's declared in libswresample/swresample.h is public.
* 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: 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-041-9/+23
| | | | Based on an initial work by Baptiste Coudurier.
* swr: Support flushing last samples out.Michael Niedermayer2011-11-041-1/+22
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* rematrix: add parameter to tune volumeMichael Niedermayer2011-10-261-1/+2
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* 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 <[email protected]>
* swr: remove unused variable.Michael Niedermayer2011-10-211-1/+1
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* 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: use av_get_default_channel_layout instead of guess_layoutMarton Balint2011-10-071-14/+3
| | | | | Signed-off-by: Marton Balint <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* swresample: Try to handle cases with input channel count and layout mismatching.Michael Niedermayer2011-10-061-0/+5
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* libswresample: support directly converting sampleformats and packed/planar ↵Michael Niedermayer2011-10-061-0/+14
| | | | | | | | in a single pass. Previously a intermediate planar format was used when both input and output where packed. Signed-off-by: Michael Niedermayer <[email protected]>
* swresample: check for invalid sample formats.Michael Niedermayer2011-10-011-1/+9
| | | | | Bug-Found-by: Justin Ruggles Signed-off-by: Michael Niedermayer <[email protected]>
* swr: minor fixes to get planar audio workingMichael Niedermayer2011-10-011-10/+22
| | | | Signed-off-by: Michael Niedermayer <[email protected]>
* swresample: remove unused variable.Nicolas George2011-09-281-1/+0
| | | | | Signed-off-by: Nicolas George <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]>
* Add libswresample.Michael Niedermayer2011-09-191-0/+432
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 <[email protected]>