summaryrefslogtreecommitdiff
path: root/libavcodec/armv4l/mpegvideo_arm.c
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <bero@arklinux.org>2005-05-26 14:32:46 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-05-26 14:32:46 +0000
commit6ad1fa5a49320c101a62d24aa0e7df14c10d7612 (patch)
tree0bb61f2a5ea730c7c70e9c96f17c47eb6163dd08 /libavcodec/armv4l/mpegvideo_arm.c
parentc66a443401bbf38a3c79070d499fcb5601c95cea (diff)
Better ARM support for mplayer/ffmpeg, ported from atty fork
while playing with some new hardware, I found it's running a forked mplayer -- and it looks like they're following the GPL. The maintainer's page is here: http://atty.jp/?Zaurus/mplayer Unfortunately it's mostly in Japanese, so it's hard to figure out any details. Their code looks quite interesting (at least to those of us w/ ARM CPUs). The patches I've attached are the patches from atty.jp with a couple of modifications by myself: - ported to current CVS - reverted their change of removing SNOW support from ffmpeg - cleaned up their bswap mess - removed DOS-style linebreaks from various files patch by (Bernhard Rosenkraenzer: bero, arklinux org) Originally committed as revision 4311 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l/mpegvideo_arm.c')
-rw-r--r--libavcodec/armv4l/mpegvideo_arm.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/armv4l/mpegvideo_arm.c b/libavcodec/armv4l/mpegvideo_arm.c
index 9c5d8bf862..e2efd308ed 100644
--- a/libavcodec/armv4l/mpegvideo_arm.c
+++ b/libavcodec/armv4l/mpegvideo_arm.c
@@ -21,6 +21,13 @@
#include "../mpegvideo.h"
#include "../avcodec.h"
+#ifdef HAVE_IWMMXT
+extern void MPV_common_init_iwmmxt(MpegEncContext *s);
+#endif
+
void MPV_common_init_armv4l(MpegEncContext *s)
{
+#ifdef HAVE_IWMMXT
+ MPV_common_init_iwmmxt(s);
+#endif
}