[FFmpeg-cvslog] r14032 - trunk/libavcodec/armv4l/dsputil_arm.c

benoit subversion
Mon Jun 30 09:31:41 CEST 2008


Author: benoit
Date: Mon Jun 30 09:31:41 2008
New Revision: 14032

Log:
Define mm_support() for ARM.
Patch by Matthieu Castet <castet matthieu free fr>


Modified:
   trunk/libavcodec/armv4l/dsputil_arm.c

Modified: trunk/libavcodec/armv4l/dsputil_arm.c
==============================================================================
--- trunk/libavcodec/armv4l/dsputil_arm.c	(original)
+++ trunk/libavcodec/armv4l/dsputil_arm.c	Mon Jun 30 09:31:41 2008
@@ -203,6 +203,15 @@ static void simple_idct_ipp_add(uint8_t 
 }
 #endif
 
+int mm_support(void)
+{
+    int result = 0;
+#ifdef HAVE_IWMMXT
+    result |= MM_IWMMXT;
+#endif /* result */
+    return result;
+}
+
 void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)
 {
     int idct_algo= avctx->idct_algo;




More information about the ffmpeg-cvslog mailing list