changeset 4713:47ee459ce964 libavcodec

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
author mru
date Fri, 23 Mar 2007 00:05:45 +0000
parents 5c0c96d437f2
children fc70a43a4f01
files armv4l/mpegvideo_arm.c
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/armv4l/mpegvideo_arm.c	Thu Mar 22 14:27:16 2007 +0000
+++ b/armv4l/mpegvideo_arm.c	Fri Mar 23 00:05:45 2007 +0000
@@ -28,9 +28,14 @@
 
 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
 }