[MPlayer-dev-eng] [PATCH] AltiVec support for MPEG2
Magnus Damm
damm at opensource.se
Sun Mar 23 20:37:06 CET 2003
Hi,
Here's a patch that adds AltiVec support for MPEG2 videos.
The motion compensation code is stolen from libmpeg2 on sourceforge,
but I did not get the IDCT code to work properly, so I took that code
from vlc. Cred to the original authors.
Below is a table that lists some DVD:s and their CPU usage.
The first percentage without parenthesis is with the patch applied, and
the last percentage is without the patch.
The test machine is a Cube G4 450MHz, Rage 128 video (xv), USB speakers
(alsa drivers, but OSS emulation).
Performance:
Austin Powers 720x480 (aspect 3) 29.97 fps 10002.0 kbps (1250.2 kbyte/s) -> 60-80% (90-100+%)
Bullitt 720x576 (aspect 3) 25.00 fps 9375.0 kbps (1171.9 kbyte/s) -> 90-100% (100+%)
Matrix 720x480 (aspect 3) 29.97 fps 9375.0 kbps (1171.9 kbyte/s) -> 60-90% (100+%)
Pulp Fiction 720x576 (aspect 3) 25.00 fps 12225.0 kbps (1528.1 kbyte/s) -> 80-100+% (100+%)
Black Adder 4,1 720x576 (aspect 2) 25.00 fps 11250.0 kbps (1406.2 kbyte/s) -> 95-100+% (100+%)
/ magnus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer_main_20030323-libmpeg2_altivec.patch.gz
Type: application/octet-stream
Size: 9566 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030323/d4dc2453/attachment.obj>
More information about the MPlayer-dev-eng
mailing list