diff cpu.h @ 1009:40b8596460af libavutil

Move mm_support() from libavcodec to libavutil, make it a public function and rename it to av_get_cpu_flags().
author stefano
date Wed, 08 Sep 2010 15:07:14 +0000
parents 8280cce54f50
children 6138233957fe
line wrap: on
line diff
--- a/cpu.h	Mon Sep 06 00:04:03 2010 +0000
+++ b/cpu.h	Wed Sep 08 15:07:14 2010 +0000
@@ -41,4 +41,9 @@
 #define AV_CPU_FLAG_IWMMXT       0x0100 ///< XScale IWMMXT
 #define AV_CPU_FLAG_ALTIVEC      0x0001 ///< standard
 
+/**
+ * Return the flags which specify extensions supported by the CPU.
+ */
+int av_get_cpu_flags(void);
+
 #endif  /* AVUTIL_CPU_H */