MythTV  master
mm_arch.h
Go to the documentation of this file.
1 /* mm_arch.h - Multi-media CPU acceleration for several architectures */
2 
3 #include "libavutil/mem.h"
4 #include "libavutil/cpu.h"
5 
6 /* That has "extern int mm_flags;", or "#define mm_flags 0" as a fallthru. */
7 /* Our code always declares an int, and "int 0;" won't compile well, so ... */
8 #ifdef mm_flags
9 #undef mm_flags
10 #endif
11 
12 #if HAVE_MMX
13  #include "libavutil/x86/asm.h"
14 #else
15  #define emms() ;
16 #endif