[MPlayer-dev-eng] [PATCH] Optimized libmpeg2 routines for ARM/Xscale

Guillaume POIRIER poirierg at gmail.com
Sat May 5 23:51:53 CEST 2007


Hi there,

Attached patch features $SUBJ. It's just a re post of a patch posted
by David Bateman while I was on hollidays, but never made it to SVN.
It was advised to send these changes to libmpeg2 team directly, but
since this project hasn't even acknowledged the message, I plan to
apply attached patch in a few days.

I don't have an ARM on which I can test this patch, but I imagine it's
at least somewhat working, and it looks clean to my eyes(*), so to me
this code deserves to be merged to our SVN so that the ARM crowd that
benefit from it.

It there's smth very broken about this patch, I'm sure our dear users
will give us proper feedback.

(*) actually, this part in libmpeg2/motion_comp_iwmmxt.c isn't too clean:

+ /* defined in libavcodec */
+
+ extern void put_pixels16_iwmmxt(uint8_t * dest, const uint8_t * ref,
const int stride, int height);
+ extern void put_pixels16_x2_iwmmxt(uint8_t * dest, const uint8_t *
ref, const int stride, int height);
+ extern void put_pixels16_y2_iwmmxt(uint8_t * dest, const uint8_t *
ref, const int stride, int height);


I don't think libmpeg2 folks want to depend on libavcodec.... well,
it's their problem IMHO.
-- 
Rich, you're forgetting one thing here: *everybody* except you is
stupid.
    Måns Rullgård
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01_zaurus_arm_iwmmxt.2.diff
Type: application/octet-stream
Size: 18789 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070505/1224b102/attachment.obj>


More information about the MPlayer-dev-eng mailing list