]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/cpu.h
ffprobe: refactor frames decoding.
[ffmpeg] / libavutil / cpu.h
index 0cd8117159c8b6562389abd46ee1c6478f2c3fd3..3adccbdd6817832de193273d36b872e28e1e1d34 100644 (file)
 #define AVUTIL_CPU_H
 
 #include "attributes.h"
-#include "version.h"
 
 #define AV_CPU_FLAG_FORCE    0x80000000 /* force usage of selected flags (OR) */
 
     /* lower 16 bits - CPU features */
 #define AV_CPU_FLAG_MMX          0x0001 ///< standard MMX
+#define AV_CPU_FLAG_MMXEXT       0x0002 ///< SSE integer functions or AMD MMX ext
 #define AV_CPU_FLAG_MMX2         0x0002 ///< SSE integer functions or AMD MMX ext
 #define AV_CPU_FLAG_3DNOW        0x0004 ///< AMD 3DNOW
 #define AV_CPU_FLAG_SSE          0x0008 ///< SSE functions
 #define AV_CPU_FLAG_AVX          0x4000 ///< AVX functions: requires OS support even if YMM registers aren't used
 #define AV_CPU_FLAG_XOP          0x0400 ///< Bulldozer XOP functions
 #define AV_CPU_FLAG_FMA4         0x0800 ///< Bulldozer FMA4 functions
-#if LIBAVUTIL_VERSION_MAJOR <52
+// #if LIBAVUTIL_VERSION_MAJOR <52
 #define AV_CPU_FLAG_CMOV      0x1001000 ///< supports cmov instruction
-#else
-#define AV_CPU_FLAG_CMOV         0x1000 ///< supports cmov instruction
-#endif
+// #else
+// #define AV_CPU_FLAG_CMOV         0x1000 ///< supports cmov instruction
+// #endif
 
 #define AV_CPU_FLAG_ALTIVEC      0x0001 ///< standard