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
2012-04-21fix swr_convert buffering of packed audioAndrew Wason
swr_convert is not properly buffering packed input audio when the output is not large enough, and when resampling is not actually needed (same samplerate and no SWR_FLAG_RESAMPLE). buf_set() is only handling the first channel and leaving the others as-is. Sample program to reproduce the problem is here https://gist.github.com/2431768 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: add a swr_flags AVOptionMichael Niedermayer
Using swr_flags instead of plain flags will avoid conflicts that arise with plain flags and multiple libs (which all have AVOption flags) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: add a dither_scale parameter to tune the amplitude of the dither.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: pass context to swri_get_dither()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: add triangular highpass ditherMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: generate more dither noise to improve quality.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: add swr_get_class()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: simplify code by using av_get_bytes_per_sample()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-11swr: fix copy & pasted comment to match the code.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: add triangular dither supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: add SWR_DITHER_RECTANGULAR to AVOptions arrayMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr-test: include opt.h, this is needed for changing options for testing.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: use assert in swri_sum2 to check that only supported formats are used.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: add dither support.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: update copyright year for rematrixMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10resample: support double precission resamplingMichael Niedermayer
This commit is dedicated to the audiophiles who can hear it when a needle is dropped on the moon. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: support int32 and float as internal sample formatsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr: support float & int32 in the resamplerMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10swr-test: Add newline to test outputMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-10resample: update copyright years, they where incorrect.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-02swr-test: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-02swr: remove unused variableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-02swr: fix pointer type warningsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr-test: test the new flexible bufferingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: realloc_audio: support packed audio buffersMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: More flexible and convenient bufferingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: fix segfault when 0 out size is used.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: revert stray hunkMichael Niedermayer
Found-by:ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25resample: Fix boundary handling with fragments.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: Fix partial flushing.Michael Niedermayer
Found-by: durandal_1707 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: test partial flushingMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: allow flushing in multiple steps if the output is too small.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: fix compilation failure with old versions of gcc.Michael Niedermayer
gcc 4.4 did not like the way i used typedefs Idea-by: beastd Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: drop SWR_CH_MAX with the next major ABI bumpMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swr: dont use SWR_CH_MAX in the public function declaration.Michael Niedermayer
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>
2012-03-25swr: make SwrContext a typedef.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-25swresample: support up to 32 channelsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-23swr: check that there is enough information to do rematrixing when needed.Michael Niedermayer
Fixes assertion failure. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-03-13cosmetics: fix some typosLou Logan
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>
2012-03-08swr: special case for empty channels in rematrix.Nicolas George
Speed += 10% overall for pan=stereo:FL=FL+FR from wav to null.
2012-02-27Exit ffmpeg if swr_convert() fails.Carl Eugen Hoyos
2012-02-20libswr: allow to set custom matrices.Nicolas George
2012-01-09libswresample: introduce int swr_set_compensation() instead of void ↵Marton Balint
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>
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-12-24swr: fix swresample_version()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-22libswresample.v: add swresample* for cmdutils.cMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-22swr: increase LIBSWRESAMPLE_VERSION_MICRO to 100Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-22swr: add swresample_version swresample_configuration and swresample_licenseMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-12-20swr: fix assert failureMichael Niedermayer
Bug found by: Oana Stratulat GCI-id: 7211207 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>