summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/dsputil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libffmpeg/libavcodec/dsputil.h')
-rw-r--r--src/libffmpeg/libavcodec/dsputil.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/src/libffmpeg/libavcodec/dsputil.h b/src/libffmpeg/libavcodec/dsputil.h
index 1189747f3..f5e22e4c4 100644
--- a/src/libffmpeg/libavcodec/dsputil.h
+++ b/src/libffmpeg/libavcodec/dsputil.h
@@ -74,23 +74,12 @@ static inline int block_permute_op(int j)
void block_permute(INT16 *block);
-#if defined(HAVE_MMX)
+#if defined(ARCH_X86)
-#define MM_MMX 0x0001 /* standard MMX */
-#define MM_3DNOW 0x0004 /* AMD 3DNOW */
-#define MM_MMXEXT 0x0002 /* SSE integer functions or AMD MMX ext */
-#define MM_SSE 0x0008 /* SSE functions */
-#define MM_SSE2 0x0010 /* PIV SSE2 functions */
+#include "cpu_accel.h"
extern int mm_flags;
-int mm_support(void);
-
-static inline void emms(void)
-{
- __asm __volatile ("emms;":::"memory");
-}
-
#define emms_c() \
{\
if (mm_flags & MM_MMX)\