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
2015-03-18mips/float_dsp: fix vector_fmul_window_mips on mips64James Cowgill
Commit dfa920807494 ("mips/float_dsp: fix a bug in vector_fmul_window_mips") fixed vector_fmul_window_mips by unrolling the loop only 4 times, but also removed the outer C loop and replaced it with assembly branches and pointer arithmetic. When submitting my 64-bit porting patch I missed this new assembly which also needed porting. This patch fixes a bus error in the fate-float-dsp test when run on 64-bit mips. Signed-off-by: James Cowgill <james410@cowgill.org.uk> Reviewed-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-17OpenCL uninit bug fix - clear is_compiled flagsrikanth
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-12mips/asmdefs: use _ABI64 as defined by gccJames Cowgill
Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, the easiest way around this is to just use the preprocessor definitions from gcc / clang. Signed-off-by: James Cowgill <james410@cowgill.org.uk> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-12avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in ↵Michael Niedermayer
av_buffer_make_writable() This allows making a AVBufferRef writable without the need to update all pointers to it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-12avutil/buffer: Avoid moving the AVBufferRef to a new place in memory in ↵Michael Niedermayer
av_buffer_realloc() This allows reallocating AVBufferRefs without the need to update all pointers to it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-07Merge commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73'Michael Niedermayer
* commit 'dcae2e32f7d8a1ca5fb8c1e4aa81313be854dd73': arm: Suppress tags about used cpu arch and extensions Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-07arm: Suppress tags about used cpu arch and extensionsMartin Storsjö
When all the codepaths using manually set .arch/.fpu code is behind runtime detection, the elf attributes should be suppressed. This allows tools to know that the final built binary doesn't strictly require these extensions. Signed-off-by: Martin Storsjö <martin@martin.st>
2015-03-07mips/asmdefs: change include guard to read AVUTIL_ instead of AVCODEC_James Cowgill
Signed-off-by: James Cowgill <james410@cowgill.org.uk> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-07Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit"Michael Niedermayer
Fixed build with opencl enabled Found-by: WJ Liu This reverts commit 0f2359b86926ed33da4bd64ca76d84d03d5ad380.
2015-03-07configure: Make compilable with VS2015 (missing hunk)Peter Tissen
This hunk was missing in the github pull request when i downloaded it, but is needed Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-06avutil/opencl: is_compiled flag not being cleared in av_opencl_uninitSrikanth G
When OpenCL kernels are compiled, is_compiled flag is being set for each kernel. But, in opencl uninit, this flag is not being cleared. This causes an error when an OpenCL kernel is tried on different OpenCL devices on same platform. Here is the patch with a fix Reviewed-by; Wei Gao <highgod0401@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-06mips: port optimizations to mips n64James Cowgill
This mainly consists of replacing all the pointer arithmatic 'addiu' instructions with PTR_ADDIU which will handle the differences in pointer sizes when compiled on 64 bit mips systems. The header asmdefs.h contains the PTR_ macros which expend to the correct mips instructions to manipulate registers containing pointers. Signed-off-by: James Cowgill <james410@cowgill.org.uk> Reviewed-by: Nedeljko Babic <Nedeljko.Babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-05avutil/opt: Do not print inf in selftestMichael Niedermayer
This fixes fate failures on windows Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-05mips/float_dsp: fix a bug in vector_fmul_window_mipsNedeljko Babic
Loop was unrolled eight times although in heder there is assumption that len is multiple of 4. This is fixed, and assembly code is rewritten to be more optimal and to simplify clobber list. Signed-off-by: Nedeljko Babic <nedeljko.babic@imgtec.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-05avutil: Extract gamma determination from PNG encoder for future use. Adds ↵Kevin Wheatley
private avpriv_get_gamma_from_trc() function to libavutil. Signed-off-by: Kevin Wheatley <kevin.j.wheatley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-04pixelutils: Comment on (lack of) sad_8x8_sse2Peter Cordes
Signed-off-by: Peter Cordes <peter@cordes.ca>
2015-03-04pixelutils: indent comments in pixdesc.h to be clearerPeter Cordes
Signed-off-by: Peter Cordes <peter@cordes.ca>
2015-03-02avutil/common: minor simplification in av_clip_intp2_c()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: also test av_opt_show2()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: Remove odd trailing whitespace bytes from flags help descriptionMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/opt: Also test/compare the av_log output i the selftestMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-01avutil/ppc/intreadwrite: remove AV_??64 overriding codeMichael Niedermayer
The code has undefined behavior and makes no difference when optimizations are enabled. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-28avutil/imgutils: correctly check for negative SAR componentsMichael Niedermayer
These could trigger assert failures previously Found-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-26libavutil: add x86 optimized av_popcountJames Almer
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
2015-02-25avutil/common: Fix integer overflow in av_clip_int8/16_cMichael Niedermayer
Fixes: signal_sigsegv_30420a5_2388_cov_1489993561_integra_lavf.mp4 Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-22avutil/fixed_dsp: Check for av_malloc() failureMichael Niedermayer
Fixes CID1271051 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc'Michael Niedermayer
* commit '76ce9bd8e26dcb3652240a1072840ff4011d7cdc': libavutil: Add ARM av_clip_intp2_arm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21Merge commit 'bf07d813f6c88b5a76980f321cf7272d799c4216'Michael Niedermayer
* commit 'bf07d813f6c88b5a76980f321cf7272d799c4216': libavutil: Add av_clip_intp2 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-21libavutil: Add ARM av_clip_intp2_armPeter Meerwald
add ARM code for implementing av_clip_intp2 using the ssat instruction on Cortex-A8, av_clip_intp2_arm() is faster than av_clip_intp2_c() and the generic av_clip(), about -19% Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-21libavutil: Add av_clip_intp2Peter Meerwald
there already is a function, av_clip_uintp2() that clips a signed integer to an unsigned power-of-two range, i.e. 0,2^p-1 this patch adds a function av_clip_intp2() that clips a signed integer to a signed power-of-two range, i.e. -(2^p),(2^p-1) the new function can be used as a special case for av_clip(), e.g. av_clip(x, -8192, 8191) can be rewritten as av_clip_intp2(x, 13) there are ARM instructions, usat and ssat resp., which map nicely to these functions (see next patch) Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-02-19Merge commit '5b1d9ceec715846a58fe029bc3889ed6fa62436a'Michael Niedermayer
* commit '5b1d9ceec715846a58fe029bc3889ed6fa62436a': pixfmt: add a pixel format for QSV hwaccel Conflicts: doc/APIchanges libavutil/pixfmt.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-19pixfmt: add a pixel format for QSV hwaccelAnton Khirnov
2015-02-19avutil/sha: Protect macro arguments with ()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-18libavutil: optimize twofish cipherSupraja Meedinti
before: lavu TWOFISH size: 1048576 runs: 1024 time: 90.052 +- 4.630 after: lavu TWOFISH size: 1048576 runs: 1024 time: 18.085 +- 0.241 gcrypt TWOFISH size: 1048576 runs: 1024 time: 25.666 +- 0.307 tomcrypt TWOFISH size: 1048576 runs: 1024 time: 18.428 +- 0.363 Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17x86inc: Correctly warn on use of SSE2 instructions in SSE functionsChristophe Gisquet
SSE2 instructions that are XMM-implementations of pre-existing MMX/MMX2 instructions did not issue warnings when used in SSE functions. Handle it by also checking the register type when such instructions are used. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/aes: Add () to protect the ROT() argumentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/attributes: Add () to protect the AV_GCC_VERSION_AT_LEAST() argumentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/intmath: Add () to protect the ff_log2() argumentMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/murmur3: Add () to protect the ROT() argumentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/version: Add () to protect the AV_VERSION_INT() argumentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-17avutil/log: add () to protect the argument of AV_LOG_C()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-15avutil/fixed_dsp: Use av_clip_int16() instead of the non optimized ↵Michael Niedermayer
av_clip_int16_c() Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-14Merge commit 'bf704132a51f5d838365158331d4e535e1df4c8e'Michael Niedermayer
* commit 'bf704132a51f5d838365158331d4e535e1df4c8e': Don't anonymously typedef structs Conflicts: avprobe.c libavutil/parseutils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-14Don't anonymously typedef structsDiego Biurrun
2015-02-11Merge commit '0232ba62a28527579e34d44700b48017cc727e5f'Michael Niedermayer
* commit '0232ba62a28527579e34d44700b48017cc727e5f': frame: clarify buf documentation Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-11avutil/error: list most common error code in error_entries when strerror_r() ↵Michael Niedermayer
is unavailable Fixes Ticket4267 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-10libavutil: camellia: remove unwanted memory loadsSupraja Meedinti
lavu CAMELLIA size: 1048576 runs: 1024 time: 21.549 +- 0.17 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-10pixdesc: clarify AV_PIX_FMT_FLAG_ALPHA doxygenwm4
Also make clear that PAL8 can have alpha. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-10avutil: check pixdescs in a different placewm4
Doing this check in avutil_version() is not appropriate. Also, this code is by default disabled (--assert-level is by default 0). A FATE run with defaults will never execute the checks. Move it to the pixelutils test program. Whatever reason there was in avutil_version() not to run this test by default, it should be fine in this test program. This means FATE will run the test by default. (Yes, pixelutils is not strictly the best place for it either, but it's better.) (pixdesc.c also has a small test program, but it's never run by FATE.) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2015-02-10avutil: move internal function out of public headerwm4
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>