[Ffmpeg-cvslog] r8487 - trunk/libavcodec/armv4l/mpegvideo_arm.c

mru subversion
Fri Mar 23 01:05:46 CET 2007


Author: mru
Date: Fri Mar 23 01:05:45 2007
New Revision: 8487

Modified:
   trunk/libavcodec/armv4l/mpegvideo_arm.c

Log:
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
armv5t does - use the armv5t function rather than default c code.
patch by Tim Chick chick at computergeek freeserve co uk


Modified: trunk/libavcodec/armv4l/mpegvideo_arm.c
==============================================================================
--- trunk/libavcodec/armv4l/mpegvideo_arm.c	(original)
+++ trunk/libavcodec/armv4l/mpegvideo_arm.c	Fri Mar 23 01:05:45 2007
@@ -28,9 +28,14 @@ extern void MPV_common_init_armv5te(Mpeg
 
 void MPV_common_init_armv4l(MpegEncContext *s)
 {
+    /* IWMMXT support is a superset of armv5te, so
+     * allow optimised functions for armv5te unless
+     * a better iwmmxt function exists
+     */
+#ifdef HAVE_ARMV5TE
+    MPV_common_init_armv5te(s);
+#endif
 #ifdef HAVE_IWMMXT
     MPV_common_init_iwmmxt(s);
-#elif defined(HAVE_ARMV5TE)
-    MPV_common_init_armv5te(s);
 #endif
 }




More information about the ffmpeg-cvslog mailing list