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
2017-06-29lavu/cpu: disable MMX warning on non x86 platformsClément Bœsch
We have AV_CPU_FLAG_ARMV8 == AV_CPU_FLAG_SSE3 which causes a trigger of this MMX warning on AArch64.
2016-12-13avutil: fix data race in av_get_cpu_flags()Wan-Teh Chang
Make the one-time initialization in av_get_cpu_flags() thread-safe. The static variable |cpu_flags| in libavutil/cpu.c is read and written using normal load and store operations. These are considered as data races. The fix is to use atomic load and store operations. The fix can be verified by running the libavutil/tests/cpu_init.c test program under ThreadSanitizer: ./configure --toolchain=clang-tsan make libavutil/tests/cpu_init libavutil/tests/cpu_init There should be no warnings from ThreadSanitizer. Co-author: Dmitry Vyukov of Google, who suggested the data race fix. Signed-off-by: Wan-Teh Chang <wtc@google.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-11-24avutil/cpu: remove the |checked| static variableWan-Teh Chang
Remove the |checked| variable because the invalid value of -1 for |flags| can be used to indicate the same condition. Also rename |flags| to |cpu_flags| because there are a local variable and a function parameter named |flags| in the same file. Co-author: Dmitry Vyukov of Google Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-05-11Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis
* commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-04-07build: Split test programs off into separate filesDiego Biurrun
This avoids spurious library rebuilds when only the test program code is changed and simplifies the build system.
2016-01-02avutil/cpu: add missing entry for vfp_vm to av_parse_cpu_capsHendrik Leppkes
2016-01-02Merge commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0'Hendrik Leppkes
* commit 'e2710e790c09e49e86baa58c6063af0097cc8cb0': arm: add a cpu flag for the VFPv2 vector mode Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
2015-12-14arm: add a cpu flag for the VFPv2 vector modeJanne Grunau
The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu implementations do not support it in hardware. Vector mode code will depending the OS either be emulated in software or result in an illegal instruction on cpus which does not support it. This was not really problem in practice since NEON implementations of the same functions are preferred. It will however become a problem for checkasm which tests every cpu flag separately. Since this is a cpu feature newer cpu do not support anymore the behaviour of this flag differs from the other flags. It can be only activated by runtime cpu feature selection.
2015-10-28lavu: add AESNI CPU flagRodger Combs
2015-10-15winrt: multithreading supportwang-bin
_beginthreadex is for desktop only. CreateThread is available for windows store apps on windows (and phone) 8.1 and later. http://msdn.microsoft.com/en-us/library/ms682453%28VS.85%29.aspx Signed-off-by: Matt Oliver <protogonoi@gmail.com>
2015-05-31x86: add AV_CPU_FLAG_AVXSLOW flagJames Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-05-27x86/cpu: add AV_CPU_FLAG_AVXSLOW flagJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-20avutil: remove pointless bmi1 defineJames Almer
Signed-off-by: James Almer <jamrial@gmail.com>
2015-04-19avutil: remove pointless bmi1 defineJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2015-03-27avutil/cpu: add missing check for mmxext to av_force_cpu_flagsJames Almer
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
2014-08-13cpu-test: Add unistd.h #include for getopt()Diego Biurrun
2014-08-13avutil: turn arm setend into a cpuflagMichael Niedermayer
this allows disabling and enabling it it also prevents crashes if vfpv3 and neon are disabled which previously would have enabled the flag And last but not least one can enable setend on cpus like cortex-a8 where its fast but disabled by default Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-06avutil/cpu: check av_parse_cpu_caps() table during cpu-testMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-06avutil/cpu: Make cpu flag names match between cpu-test and ↵Michael Niedermayer
av_parse_cpu_caps() tables Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-06avutil/cpu: add aarch64 entries to 2nd tableMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-06avutil/cpu: output cpu data to stdoutMichael Niedermayer
Errors go to stderr, but the cpu stats are non error output for cputest This fixes echoing the cpu test results Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-06avutil/cpu: fix cpu-test to work with ffmpegs cpuflags syntaxMichael Niedermayer
Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-04Merge commit 'caf5ef852bf71984d3322bbeaf48cfb04ac8255f'Michael Niedermayer
* commit 'caf5ef852bf71984d3322bbeaf48cfb04ac8255f': cpu-test: test av_cpu_count Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-04Merge commit '07d8fa58121be8fe315bd51ab760547fe209a745'Michael Niedermayer
* commit '07d8fa58121be8fe315bd51ab760547fe209a745': fate: add informative cpu test Conflicts: tests/fate/libavutil.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-04cpu-test: test av_cpu_countJanne Grunau
Add CPU count and number threads as informative values for fate.
2014-08-04fate: add informative cpu testJanne Grunau
libavutil/cpu-test prints raw and effective cpu flags to STDERR. Detected cpu flags can be useful for debugging fate errors. No comparison of the result against a expected result since that would require fate config specific references.
2014-07-08avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include <unistd.h>Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-05-20avutil/cpu: force mmx on selection of higher x86 SIMD featuresMichael Niedermayer
Fixes various runtime failures with manually set flags that represent no existing CPU Fixes Ticket3653 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-07Merge commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14'Michael Niedermayer
* commit '8675bcb0addb1c7fb0b04682d1f3f95d5b8dae14': aarch64: add armv8 CPU flag Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-04-06aarch64: add armv8 CPU flagJanne Grunau
2014-02-23x86: add detection for Bit Manipulation Instruction setsJames Almer
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com>
2014-02-23x86: add detection for FMA3 instruction setJames Almer
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com>
2014-02-22x86: add detection for Bit Manipulation Instruction setsJames Almer
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-22x86: add detection for FMA3 instruction setJames Almer
Based on x264 code Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-07x86/cpu: add missing avx2 AVOption in av_parse_cpu_flags()James Almer
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-15Merge commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217'Michael Niedermayer
* commit 'b7b17ed66e199afc7246e642bf3b35c3f8eca217': aarch64: add cpuflags support for NEON and VFP Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-15aarch64: add cpuflags support for NEON and VFPJanne Grunau
NEON and VFP are currently mandatory for all ARMv8 profiles. Both are handled as extensions as far as cpuflags are concerned. This is consistent with handling x86_64 which always has SSE2, but still handles it as an extension.
2013-11-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: Add missing #includes for *INT64_MAX and *INT64_C Conflicts: ffmpeg.c ffmpeg_filter.c ffplay.c libavformat/assdec.c libavformat/avidec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-11-24Add missing #includes for *INT64_MAX and *INT64_CDiego Biurrun
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-09-21avutil/cpu: remove duplicate includeMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29Merge commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b'Michael Niedermayer
* commit 'b78b10c4b78b696927f2801cf2d9f193b4eff28b': avutil: Move internal CPU detection function declarations to private header Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-29avutil: Move internal CPU detection function declarations to private headerDiego Biurrun
2013-06-03Merge commit 'c011ceef78eae66039efc66d9551a7146e08838a'Michael Niedermayer
* commit 'c011ceef78eae66039efc66d9551a7146e08838a': swscale: ppc: Remove commented-out define cruft nsvdec: Remove commented-out debug cruft cpu: Restructure code to avoid pointless ret variable indirection Conflicts: libavutil/cpu.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-06-02cpu: Restructure code to avoid pointless ret variable indirectionDiego Biurrun
libavutil/cpu.c:133:9: warning: unused variable ‘ret’ [-Wunused-variable]
2013-05-26av_cpu_count: factorize "detected %d logical cores" messageMichael Niedermayer
Also print the message just once Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: cpu: Include common.h for av_popcount64 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675'Michael Niedermayer
* commit '2a6eaeaa85d17b27ee0dd449183ec197c35c9675': Move get_logical_cpus() from lavc/pthread to lavu/cpu. Conflicts: doc/APIchanges libavcodec/pthread.c libavutil/cpu.c libavutil/cpu.h libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>