aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cpu.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-08 15:07:14 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-09-08 15:07:14 +0000
commitc6c98d0897ce1e040d041a655fb3e7dc14e96c45 (patch)
treec4a37da46c09d39c84e91b7a9159633bc2a30d89 /libavutil/cpu.h
parent9ec7458ddfe3da9537f225e35670d99f98b654eb (diff)
downloadffmpeg-c6c98d0897ce1e040d041a655fb3e7dc14e96c45.tar.gz
Move mm_support() from libavcodec to libavutil, make it a public
function and rename it to av_get_cpu_flags(). Originally committed as revision 25076 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/cpu.h')
-rw-r--r--libavutil/cpu.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/cpu.h b/libavutil/cpu.h
index 644df3e568..08e82f1d04 100644
--- a/libavutil/cpu.h
+++ b/libavutil/cpu.h
@@ -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 */