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
2013-10-26Merge commit '4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4'Michael Niedermayer
* commit '4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4': libavutil: x86: Add AVX2 capable CPU detection. Conflicts: libavutil/cpu.c libavutil/cpu.h libavutil/x86/cpu.c See: 865b70bc5d1cf37ec6d6cb729a69dda2cca28bd5 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-26Add AVX2 capable CPU detection. Patch based on x264's AVX2 detectionKieran Kunhya
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-25libavutil: x86: Add AVX2 capable CPU detection.Kieran Kunhya
Patch based on x264's AVX2 detection Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-25base64-test: Remove posibility of returning restricted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-24tree-test: Don't return restricted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-24base64-test: Remove posibility of returning restrcted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-24tree-test: Don't return restricted exit codesDerek Buitenhuis
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-23avutil/log: document log callback thread saftey requirementsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-23avutil/log: make default av_log callback thread safeMichael Niedermayer
This uses a pthread mutex Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-23fix order of operations in commentsMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-23avstring-test: Mark pointer passed to av_free() as non-constDiego Biurrun
libavutil/avstring.c:278:9: warning: passing argument 1 of ‘av_free’ discards ‘const’ qualifier from pointer target type
2013-10-21Support FF_DISABLE_DEPRECATION_WARNINGS with icc on Linux.Carl Eugen Hoyos
2013-10-20avutil/opt: initialize retMichael Niedermayer
Fixes CID1108610 Fixes use of uninitialized variable Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-20avutil/file_open: Print debug message if setting close on exec failsMichael Niedermayer
Fixes CID1087079 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-19Do not leave positive values undefined when negative are defined as errorMichael Niedermayer
Define positive return values as non errors and leave further meaning undefined This allows future extensions to use these values Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler functionsStefano Sabatini
The new type is compatible with AV_OPT_TYPE_INT64, but allows to specify channel layouts using the format accepted by av_get_channel_layout().
2013-10-17lavu/channel_layout: change av_get_channel_layout() behavior at the next bumpStefano Sabatini
The new syntax is preferred since it allows backward syntax compatibility with libswr when switching to the new option handling code with AV_OPT_TYPE_CHANNEL_LAYOUT. With the new parser the string: 1234 is interpreted as a channel layout mask, rather than as a number of channels, and thus it's compatible with the current way to set a channel layout as an integer (e.g. for the icl and ocl options) making use of integer option values. ff_get_channel_layout() with compat=0 will be used in the AV_OPT_TYPE_CHANNEL handler code. The user is encouraged to switch to the new forward compatible syntax, which requires to put a trailing "c" when specifying a layout as a number of channels.
2013-10-17lavu/opt.h: fix grammar typo in av_opt_get* doxyStefano Sabatini
2013-10-17lavu/opt-test: use automatic set and free handlersStefano Sabatini
In particular, do not set default string value by hand and use av_opt_free() to free context.
2013-10-17Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: mem: Make av_strdup allocate using av_realloc Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-17avutil/log: fix race between setting and using the log callbackMichael Niedermayer
Found-by: wm4 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-16mem: Make av_strdup allocate using av_reallocMartin Storsjö
This makes sure that pointers from av_strdup are reallocable, which is used in av_dict_set if the AV_DICT_APPEND flag is set. Nothing should rely on pointers from av_strdup being aligned. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-10-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86: more AVX2 framework Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14Merge commit 'c6908d6b4b377a04a5d055ba874bdbcf06c80497'Michael Niedermayer
* commit 'c6908d6b4b377a04a5d055ba874bdbcf06c80497': x86inc: FMA3/4 Support Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14Merge commit '206895708ea2b464755d340e44501daf9a07c310'Michael Niedermayer
* commit '206895708ea2b464755d340e44501daf9a07c310': x86inc: Remove our FMA4 support Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14Merge commit 'c108ba0175d4fc3a3253a8b0f782fbfb96ba5098'Michael Niedermayer
* commit 'c108ba0175d4fc3a3253a8b0f782fbfb96ba5098': x86inc: Use VEX-encoded instructions in AVX functions Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-14x86: more AVX2 frameworkJason Garrett-Glaser
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: FMA3/4 SupportJason Garrett-Glaser
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: Remove our FMA4 supportDerek Buitenhuis
This is so we can sync to x264's version of FMA4 support. This partialy reverts commit 79687079a97a039c325ab79d7a95920d800b791f. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14x86inc: Use VEX-encoded instructions in AVX functionsHenrik Gramner
Automatically use VEX-encoding in AVX/AVX2/XOP/FMA3/FMA4 functions for all instructions that exists in a VEX-encoded version. This change makes it easier to extend existing code to use AVX2. Also add support for AVX emulation of a few instructions that were missing before. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-09Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: x86inc: Remove .rodata kludges Conflicts: libavutil/x86/x86inc.asm Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-09x86inc: Remove .rodata kludgesHenrik Gramner
The Mach-O bug was fixed in yasm 0.8.0 and we don't support versions that old anymore. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-08Merge commit '3e2fa991db7ef172579422accd61624d52777e5a'Michael Niedermayer
* commit '3e2fa991db7ef172579422accd61624d52777e5a': x86inc: remove misaligned cpu flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '71155665414b551ad350622d5abed20e58371fbf'Michael Niedermayer
* commit '71155665414b551ad350622d5abed20e58371fbf': x86inc: various minor backports from x264 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '47f9d7ce5493e119e09d1227d017414feaaf8d97'Michael Niedermayer
* commit '47f9d7ce5493e119e09d1227d017414feaaf8d97': x86inc: Check for __OUTPUT_FORMAT__ having a value of "x64" Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit 'bbe4a6db44f0b55b424a5cc9d3e89cd88e250450'Michael Niedermayer
* commit 'bbe4a6db44f0b55b424a5cc9d3e89cd88e250450': x86inc: Utilize the shadow space on 64-bit Windows Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '3fb78e99a04d0ed8db834d813d933eb86c37142a'Michael Niedermayer
* commit '3fb78e99a04d0ed8db834d813d933eb86c37142a': x86inc: create xm# and ym#, analagous to m# Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '49ebe3f9fe02174ae7e14548001fd146ed375cc2'Michael Niedermayer
* commit '49ebe3f9fe02174ae7e14548001fd146ed375cc2': x86inc: fix some corner cases of SWAP Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '63f0d623100bdb0c6081456127f4b6713e83d3db'Michael Niedermayer
* commit '63f0d623100bdb0c6081456127f4b6713e83d3db': x86inc: Use SSE instead of SSE2 for copying data Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit 'ad76e6e7e193b98e7335156422d35467816f9ef1'Michael Niedermayer
* commit 'ad76e6e7e193b98e7335156422d35467816f9ef1': x86inc: Set ELF hidden visibility for global constants Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-08Merge commit '25cb0c1a1e66edacc1667acf6818f524c0997f10'Michael Niedermayer
* commit '25cb0c1a1e66edacc1667acf6818f524c0997f10': x86inc: activate REP_RET automatically Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-07x86inc: remove misaligned cpu flagHenrik Gramner
Prevents a crash if the misaligned exception mask bit is cleared for some reason. Misaligned SSE functions are only used on AMD Phenom CPUs and the benefit is miniscule. They also require modifying the MXCSR control register and by removing those functions we can get rid of that complexity altogether. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: various minor backports from x264Jason Garrett-Glaser
Small backports that sneaked into other asm commits in x264. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Check for __OUTPUT_FORMAT__ having a value of "x64"Derek Buitenhuis
This is also a valid value for WIN64. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Utilize the shadow space on 64-bit WindowsHenrik Gramner
Store XMM6 and XMM7 in the shadow space in functions that clobbers them. This way we don't have to adjust the stack pointer as often, reducing the number of instructions as well as code size. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: create xm# and ym#, analagous to m#Loren Merritt
For when we want to mix simd sizes within one function. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: fix some corner cases of SWAPLoren Merritt
SWAP with >=3 named (rather than numbered) args PERMUTE followed by SWAP with 2 named args used to produce the wrong permutation Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Use SSE instead of SSE2 for copying dataHenrik Gramner
Reduces code size because movaps/movups is one byte shorter than movdqa/movdqu. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: Set ELF hidden visibility for global constantsHenrik Gramner
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-07x86inc: activate REP_RET automaticallyLoren Merritt
Now RET checks whether it immediately follows a branch, so the programmer dosen't have to keep track of that condition. REP_RET is still needed manually when it's a branch target, but that's much rarer. The implementation involves lots of spurious labels, but that's OK because we strip them. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>