diff options
author | Kieran Kunhya <kierank@ob-encoder.com> | 2013-10-25 07:53:56 -0500 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-25 19:36:55 +0100 |
commit | 4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4 (patch) | |
tree | d816bbf9d9dee4bc7e5c8f8b5074b0136d4e5c17 /libavutil/cpu.h | |
parent | 7177df90a043bd59e172843fc7cb9e767080ea12 (diff) | |
download | ffmpeg-4d6ee0725553a43ba88d6f8327ebcf8f1c5ae8d4.tar.gz |
libavutil: x86: Add AVX2 capable CPU detection.
Patch based on x264's AVX2 detection
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.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 3103131211..29036e3941 100644 --- a/libavutil/cpu.h +++ b/libavutil/cpu.h @@ -48,6 +48,7 @@ #define AV_CPU_FLAG_XOP 0x0400 ///< Bulldozer XOP functions #define AV_CPU_FLAG_FMA4 0x0800 ///< Bulldozer FMA4 functions #define AV_CPU_FLAG_CMOV 0x1000 ///< i686 cmov +#define AV_CPU_FLAG_AVX2 0x8000 ///< AVX2 functions: requires OS support even if YMM registers aren't used #define AV_CPU_FLAG_ALTIVEC 0x0001 ///< standard |