diff options
Diffstat (limited to 'src/libffmpeg/libavcodec/i386/cputest.c')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/cputest.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libffmpeg/libavcodec/i386/cputest.c b/src/libffmpeg/libavcodec/i386/cputest.c new file mode 100644 index 000000000..b885548ee --- /dev/null +++ b/src/libffmpeg/libavcodec/i386/cputest.c @@ -0,0 +1,21 @@ +/* dummy file to use xine mm_support function */ + +#include "xineutils.h" +#include "../dsputil.h" + + +/* Function to test if multimedia instructions are supported... */ +int mm_support(void) +{ + return xine_mm_accel(); +} + +#ifdef __TEST__ +int main ( void ) +{ + int mm_flags; + mm_flags = mm_support(); + printf("mm_support = 0x%08u\n",mm_flags); + return 0; +} +#endif |