From c6c98d0897ce1e040d041a655fb3e7dc14e96c45 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 8 Sep 2010 15:07:14 +0000 Subject: 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 --- libavutil/cpu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavutil/cpu.h') 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 */ -- cgit v1.2.3