diff options
author | Mans Rullgard <mans@mansr.com> | 2011-02-16 02:39:42 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-20 13:20:42 +0000 |
commit | 87f1355f9b4fc11414d0e6a91404203c2745f89f (patch) | |
tree | 8e8699378866533bc3e7ce8dfd0d33efa7d4e8fc /libavutil/cpu.h | |
parent | 74d6871d6244865b5863a01c3dab16a2f06a1706 (diff) | |
download | ffmpeg-87f1355f9b4fc11414d0e6a91404203c2745f89f.tar.gz |
x86: check for AVX support
This adds configure and runtime checks for AVX support on x86 CPUs.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r-- | libavutil/cpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h index 71cc26529a..d60e062e19 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -36,6 +36,7 @@ #define AV_CPU_FLAG_SSSE3 0x0080 ///< Conroe SSSE3 functions #define AV_CPU_FLAG_SSE4 0x0100 ///< Penryn SSE4.1 functions #define AV_CPU_FLAG_SSE42 0x0200 ///< Nehalem SSE4.2 functions +#define AV_CPU_FLAG_AVX 0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used #define AV_CPU_FLAG_IWMMXT 0x0100 ///< XScale IWMMXT #define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard |