[MPlayer-dev-eng] Re: [PATCH] PowerPC ffmpeg fixes

Jens Axboe mplayer-dev at kernel.dk
Mon May 12 13:10:38 CEST 2003


On Mon, May 12 2003, Magnus Damm wrote:
> Hi all,
> 
> I've been away for quite some time, and when I came back 0.90 was released.
> Great work!
> 
> However, divx playback does not seem to work correctly under Linux / PowerPC.
> I'm not sure about the status on Darwin and BSD. The same problem has been
> reported here:
> 
> http://mplayerhq.hu/pipermail/mplayer-users/2003-March/030512.html
> http://mplayerhq.hu/pipermail/mplayer-users/2003-March/030513.html
> 
> The attached patch removes some Altivec-optimized code and that solves the
> problem above. I'm not sure what and why things are broken, just that they 
> are. And the patch is the short-term cure.
> 
> Also, my libmpeg Altivec patch did not seem to make it in to 0.90. I
> guess it was because you wanted to merge with the sf libmpeg project
> and the fact that no- one reported any success/failure was probably a
> strong reason to not include it.  Anyways, PowerPC folks, the patch in
> the mail pointed out by the URL below will also apply to 0.90 and it
> will improve your DVD performace.
> 
> http://mplayerhq.hu/pipermail/mplayer-dev-eng/2003-March/017263.html
> 
> If any bugfixreleases are made to 0.90 please consider adding these
> patches.

Which compiler are you using? I haven't played with this in a long time,
but yesterday I tried mplayer cvs with gcc 3.3 and it worked! I tried
playing some divx5 and mpeg1+2 material, no problems observed. And it's
a _lot_ faster, I get 16fps speed for an encode test of a full
resolution dvd with altivec enabled and only 9fps without. Decode of
divx5 was also 60-70% faster.

I'll give you libmpeg altivec patch a shot!

-- 
Jens Axboe



More information about the MPlayer-dev-eng mailing list