aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample
Commit message (Collapse)AuthorAgeFilesLines
* swr-test: test the new flexible bufferingMichael Niedermayer2012-03-251-1/+24
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: realloc_audio: support packed audio buffersMichael Niedermayer2012-03-251-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: More flexible and convenient bufferingMichael Niedermayer2012-03-252-41/+105
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix segfault when 0 out size is used.Michael Niedermayer2012-03-251-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: revert stray hunkMichael Niedermayer2012-03-251-5/+0
| | | | | Found-by:ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* resample: Fix boundary handling with fragments.Michael Niedermayer2012-03-251-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: Fix partial flushing.Michael Niedermayer2012-03-251-2/+2
| | | | | Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: test partial flushingMichael Niedermayer2012-03-251-2/+25
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: allow flushing in multiple steps if the output is too small.Michael Niedermayer2012-03-252-11/+15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix compilation failure with old versions of gcc.Michael Niedermayer2012-03-251-2/+2
| | | | | | | gcc 4.4 did not like the way i used typedefs Idea-by: beastd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: drop SWR_CH_MAX with the next major ABI bumpMichael Niedermayer2012-03-241-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: dont use SWR_CH_MAX in the public function declaration.Michael Niedermayer2012-03-241-3/+3
| | | | | | | | This change should make no binary difference to the generated code. the API version is just bumped for correctness sake, this is not really a API or ABI change. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: make SwrContext a typedef.Michael Niedermayer2012-03-241-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swresample: support up to 32 channelsMichael Niedermayer2012-03-241-2/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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 <michaelni@gmx.at>
* cosmetics: fix some typosLou Logan2012-03-131-1/+1
| | | | | | | | | | Patch attached. From 2d4094fc0dcb4ccd0735eb7e1719e228ebb56bb9 Mon Sep 17 00:00:00 2001 From: Lou Logan <lou@lrcd.com> Date: Mon, 12 Mar 2012 14:13:44 -0800 Subject: [PATCH] cosmetics: fix some typos Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: special case for empty channels in rematrix.Nicolas George2012-03-071-0/+3
| | | | Speed += 10% overall for pan=stereo:FL=FL+FR from wav to null.
* Exit ffmpeg if swr_convert() fails.Carl Eugen Hoyos2012-02-271-1/+1
|
* libswr: allow to set custom matrices.Nicolas George2012-02-204-11/+57
|
* libswresample: introduce int swr_set_compensation() instead of void ↵Marton Balint2012-01-092-6/+22
| | | | | | | | | | swr_compensate() The new version returns AVERROR(EINVAL) is the specified paramters are invalid, and also creates the resampler if none was used so far. Signed-off-by: Marton Balint <cus@passwd.hu> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* indeo4, swresample: add some missing static/const to tables.Reimar Döffinger2012-01-081-1/+1
| | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
* swr: fix swresample_version()Michael Niedermayer2011-12-232-1/+5
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libswresample.v: add swresample* for cmdutils.cMichael Niedermayer2011-12-221-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: increase LIBSWRESAMPLE_VERSION_MICRO to 100Michael Niedermayer2011-12-222-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: add swresample_version swresample_configuration and swresample_licenseMichael Niedermayer2011-12-222-0/+31
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: fix assert failureMichael Niedermayer2011-12-201-1/+6
| | | | | | | Bug found by: Oana Stratulat GCI-id: 7211207 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | * qatar/master: ulti: Fix invalid reads lavf: dealloc private options in av_write_trailer yadif: support 10bit YUV vc1: mark with ER_MB_ERROR bits overconsumption lavc: introduce ER_MB_END and ER_MB_ERROR error_resilience: use the ER_ namespace build: move inclusion of subdir.mak to main subdir loop rv34: NEON optimised 4x4 dequant rv34: move 4x4 dequant to RV34DSPContext aacdec: Use intfloat.h rather than local punning union. Conflicts: libavcodec/h264.c libavcodec/vc1dec.c libavfilter/vf_yadif.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
* swr-test: drop one const, silence most const qualifer warnings.Michael Niedermayer2011-12-031-1/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr-test_: Fix mixed declaration and statements:Michael Niedermayer2011-12-031-3/+4
| | | | | | | swresample_test.c:123:21: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] swresample_test.c:127:25: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* swr: handle correctly muted channel with u8 sample fmt.Clément Bœsch2011-11-291-3/+5
|
* 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-243-21/+20
|
* 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: doxument matrix fields.Michael Niedermayer2011-11-171-3/+3
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* 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-173-9/+22
|
* swr: use av_opt_set_int() instead of manual assignments in swr_alloc_set_opts().Clément Bœsch2011-11-171-4/+3
|
* swr: surround mixing is obviously used, fix comment.Clément Bœsch2011-11-171-1/+1
|
* swr: doxycomment public API.Clément Bœsch2011-11-171-13/+48
|
* swr: correctly raise rematrix AVERROR.Clément Bœsch2011-11-171-2/+2
|
* swr: fix "control reaches end of non-void function" compiler warning.Clément Bœsch2011-11-171-1/+1
|
* swr: bump minor version.Clément Bœsch2011-11-171-1/+1
|
* swr: use int16_t instead of short for resampling.Clément Bœsch2011-11-172-3/+3
|
* swr: start doxycommenting the API.Clément Bœsch2011-11-171-34/+41
|
* 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-173-12/+14
|
* swr: use "swri_" prefix instead of "swr_" for the private API.Clément Bœsch2011-11-174-22/+22
|
* swr: drop 'AV' prefix from ResampleContext.Clément Bœsch2011-11-172-14/+14
| | | | This type/struct is not part of the public API.
* swr: make audio convert code explicitely private.Clément Bœsch2011-11-174-35/+35
| | | | Only what's declared in libswresample/swresample.h is public.