Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-24swr: check that the context for swr_convert() has been initializedMichael Niedermayer
Reviewed-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-24swresample: add swr_is_initialized()Michael Niedermayer
Idea-from/based-on: 7e86c27b4ee9e5a3fbe6cf5249b9d918b2a5e731 Reviewed-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-23swresample: factorize clear_context() outMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-17Fix libswresample compilation with Apple Neon assembler.Reimar Döffinger
Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2014-01-18swresample: Add arm&x86 clobber testsMartin Storsjö
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-31Avoid using empty macro arguments.Reimar Döffinger
These are not supported by all compilers (gcc 2.95 but also older SPARC compilers, see gcc bug #33304 for example), and there is no real need for them. One use of this feature remains in libavdevice/v4l2.c which can't be replaced quite as easily. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
2013-12-26lavu,lavc,lswr: do not hardcode AV_SAMPLE_FMT_NB value when setting sample ↵Stefano Sabatini
format max value The constant may change in libavutil but the library may be compiled against an older version, thus rejecting a value which is otherwise supported by the new libavutil. INT_MAX is used here to denote the max allowed value for a sample format. The opt-test code is changed to provide a valid reference example.
2013-12-06Add Windows resource file support for shared librariesJames Almer
Originally written by James Almer <jamrial@gmail.com> With the following contributions by Timothy Gu <timothygu99@gmail.com> * Use descriptions of libraries from the pkg-config file generation function * Use "FFmpeg Project" as CompanyName (suggested by Alexander Strasser) * Use "FFmpeg" for ProductName as MSDN says "name of the product with which the file is distributed" [1]. * Use FFmpeg's version (N-xxxxx-gxxxxxxx) for ProductVersion per MSDN [1]. * Only build the .rc files when --enable-small is not enabled. [1] http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058.aspx Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-04swresample: use the internal buffer for resampling the last few samplesMichael Niedermayer
Fixes out of array read Fixes Ticket3193 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-03lswr: fix assert failure on unknown layouts.Nicolas George
2013-10-17lswr/swresample: convert ocl and icl options to AV_OPT_TYPE_CHANNEL_LAYOUTStefano Sabatini
Improve interface flexibility. In particular makes it possible to set channel layout through symbolic names using the av_opt_set() interface.
2013-10-08x86: Fix compilation with nasm on PPC & OS/2Ronald S. Bultje
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-30swr: fix example code and doxy indent.Clément Bœsch
2013-09-17swresample: replace 2 av_free() by av_freep()Michael Niedermayer
avoids leaving stale pointers in memory Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-20swr/rematrix: Fix handling of AV_CH_LAYOUT_STEREO_DOWNMIX outputMichael Niedermayer
Fixes Ticket2859 Note, testcases related to the downmix channels are welcome. (id like to make sure this is working correctly now, as obviously it didnt work before ...) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-20swr: clean layouts before checking sanityMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-22swresample: fix negative rematrix volumnsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-22swresample: Make rematrix maxvalue user settableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-29cosmetics: Fix "dont" "wont" "doesnt" typosTimothy Gu
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-18swresample/x86/audio_convert: add emms to CONVMichael Niedermayer
Might fix Ticket1874 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-10swresample/rematrix_template: Fix integer overflow in mix8to2Michael Niedermayer
Fixes: CID1030352 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-10swresample/rematrix_template: Fix integer overflow in mix6to2Michael Niedermayer
Fixes: CID1030351 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05swr: dont treat 32 and 24 as equal in simple copy checkMichael Niedermayer
Fixes dithering from 32 to 24 bit Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05swr: set scale for 32->32/24 ditherMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05swresample: set flags & description and add documentation for output_sample_bitsPaul B Mahol
Allows users to actually use such option. Signed-off-by: Paul B Mahol <onemda@gmail.com>
2013-06-05swr: Fix dithering of s16 with SIMDMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-05swr: add native_simd_oneMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-04swresample/rematrix: add S32 mixing codeMichael Niedermayer
Needed for dithering S32 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-04wresample/rematrix_template: fix internal typesMichael Niedermayer
Should make no difference, but future commits will need it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-04-15swr/rematrix: use av_calloc()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-03-04buildsys: only include log2_tab per library for shared buildsMichael Niedermayer
Fix linking failures with -all_load due to multiple log2_tabs Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
2013-03-01soxr: libsoxr 0.1.1 supportRob Sykes
Libsoxr 0.1.1 will be out very soon; no changes planned beyond what's currently in git. It includes a couple of fixes (not affecting FFmpeg's current usage) and a minor API change (but remains ABI compatible). Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-25swr: make the default of nopts for first_pts actually workMichael Niedermayer
Fixes Ticket2210 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24swr: support a seperate output sample bits.Michael Niedermayer
This avoids user apps having to mangle dither scale. for pcm24 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-24swr: add duplicate cutoff for compatibilityMichael Niedermayer
Based on commit 50f4337a2fd3b571b38c9475981e36405d1ca1e1 Author: Justin Ruggles <justin.ruggles@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-13swr: check channel layouts before using them.Michael Niedermayer
Fixes out of array accesses Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04swr: Dont use floats for S32->S32 when possibleMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04swr: reorder init code to make rematrix status available earlierMichael Niedermayer
This also makes some other fields available earlier which may be usefull one day Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04swr-test: Fix clip to 32bitMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04swr/resample: fix integer overflow, add missing castMichael Niedermayer
The effects of this are limited to numeric errors in the output Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-02-04swr/resample: fix filter rounding and cliping for s32Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-27swr/ build_filter: use av_calloc() fix buffer overflowMichael Niedermayer
Fixes integer & buffer overflow Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-27swr: limit phase_shift to a less insane value.Michael Niedermayer
This prevents potential crashes and out of memory issues if the user manually sets such insane values. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-21swr: support first_ptsMichael Niedermayer
Trolled-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-20swr: fix "may be used uninitialized in this function" warningsMichael Niedermayer
The uninitialized use implicates 0 channels, which is unlikely to reach this function but fixed anyway in this commit. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-14swr/dither: fix division by 0Michael Niedermayer
Found-by: Daemon404 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-13swr: fix handling of timestamps that cause multiple drops or silence injectionsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-13swr: limit buffer size for silence injectionMichael Niedermayer
This reduces memory usage for unreasonable large silence injections Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-13swr: limit buffer size for discarding.Michael Niedermayer
This prevents insane memory usage in case of insane input values. Untested due to lack of a testcase that causes such insane allocation Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-01-13swr: move silence buffer to context to avoid per use malloc/freeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>