- 24 Dec, 2017 1 commit
-
-
James Darnley authored
-
- 11 Feb, 2017 1 commit
-
-
Anton Khirnov authored
-
- 12 Dec, 2016 1 commit
-
-
Wan-Teh Chang authored
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>
-
- 08 Dec, 2016 1 commit
-
-
Wan-Teh Chang authored
Make the one-time initialization in av_get_cpu_flags() thread-safe. The static variables |flags|, |cpuflags_mask|, and |checked| in libavutil/cpu.c are 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. Remove the |checked| variable because the invalid value of -1 for |flags| can be used to indicate the same condition. Rename |flags| to |cpu_flags| and move it to file scope. 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>
-
- 20 Jul, 2016 1 commit
-
-
Diego Biurrun authored
-
- 28 Mar, 2016 1 commit
-
-
Lou Logan authored
Signed-off-by:
Lou Logan <lou@lrcd.com>
-
- 14 Dec, 2015 1 commit
-
-
Janne Grunau authored
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.
-
- 28 Oct, 2015 1 commit
-
-
Rodger Combs authored
-
- 05 Sep, 2015 1 commit
-
-
Hendrik Leppkes authored
-
- 28 Aug, 2015 1 commit
-
-
Vittorio Giovara authored
Deprecated in 11/2012.
-
- 31 May, 2015 2 commits
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Luca Barbato <lu_zero@gentoo.org>
-
Luca Barbato authored
-
- 27 May, 2015 1 commit
-
-
James Almer authored
Reviewed-by:
Michael Niedermayer <michaelni@gmx.at> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 13 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
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>
-
- 06 Apr, 2014 1 commit
-
-
Janne Grunau authored
-
- 23 Feb, 2014 2 commits
-
-
James Almer authored
Based on x264 code Signed-off-by:
James Almer <jamrial@gmail.com>
-
James Almer authored
Based on x264 code Signed-off-by:
James Almer <jamrial@gmail.com>
-
- 22 Feb, 2014 2 commits
-
-
James Almer authored
Based on x264 code Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
James Almer authored
Based on x264 code Signed-off-by:
James Almer <jamrial@gmail.com> Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 26 Oct, 2013 1 commit
-
-
Kieran Kunhya authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 25 Oct, 2013 1 commit
-
-
Kieran Kunhya authored
Patch based on x264's AVX2 detection Signed-off-by:
Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 03 Oct, 2013 1 commit
-
-
Diego Biurrun authored
-
- 28 Aug, 2013 1 commit
-
-
Diego Biurrun authored
-
- 24 May, 2013 1 commit
-
-
Anton Khirnov authored
It will be useful in lavfi, and could conceivably be useful to the user applications as well.
-
- 16 Nov, 2012 1 commit
-
-
Janne Grunau authored
-
- 01 Oct, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 16 Aug, 2012 1 commit
-
-
Michael Niedermayer authored
This function is problematic in several ways, its also quite unpredictable which flags it ends up turning on Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 03 Aug, 2012 1 commit
-
-
Diego Biurrun authored
Refactoring mmx2/mmxext YASM code with cpuflags will force renames. So switching to a consistent naming scheme beforehand is sensible. The name "mmxext" is more official and widespread and also the name of the CPU flag, as reported e.g. by the Linux kernel.
-
- 24 Jun, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 23 Jun, 2012 1 commit
-
-
Diego Biurrun authored
-
- 30 Apr, 2012 2 commits
-
-
Michael Niedermayer authored
and suggest that av_parse_cpu_caps() be used. Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 25 Apr, 2012 1 commit
-
-
Mans Rullgard authored
This moves the cpu flag parsing code from avconv to avutil so it can be accessed elsewhere. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 22 Apr, 2012 1 commit
-
-
Mans Rullgard authored
This allows masking CPU features with the -cpuflags avconv option which is useful for testing different optimisations without rebuilding. Signed-off-by:
Mans Rullgard <mans@mansr.com>
-
- 12 Mar, 2012 1 commit
-
-
Janne Grunau authored
The were broken since August of 2010 without anyone noticing until three weeks ago. Nobody cares about it anymore and hopefully Marvell will support NEON like in the PXA978 from now on.
-
- 07 Mar, 2012 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-
- 06 Mar, 2012 1 commit
-
-
Anton Khirnov authored
-
- 12 Feb, 2012 1 commit
-
-
Reimar Döffinger authored
Some MMX-only CPUs do not have support for CMOV. All SSE/MMX2 CPUs should be fine, thus no check was added to those functions. See also https://sourceforge.net/tracker/?func=detail&aid=3358347&group_id=205275&atid=992986Signed-off-by:
Reimar Döffinger <Reimar.Doeffinger@gmx.de>
-
- 26 Sep, 2011 1 commit
-
-
Jason Garrett-Glaser authored
-
- 02 Jun, 2011 1 commit
-
-
Michael Niedermayer authored
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
-