Mercurial > mplayer.hg
view TOOLS/benchmark-gab/README @ 10578:b9d289fd8a57
10000l, the old code was slow as hell, copying stuff extra times and
actually broken -- blanking the whole screen at each 'page flip' with
-dr enabled. benchmarks:
before:
56% cpu for decode
56% cpu for vo with no -dr
25% cpu for vo with -dr
after:
56% cpu for decode
25% cpu for vo without -dr
0% cpu for vo with -dr
if vo_fbdev is going to do pageflip, it needs to do it for REAL, using
vertical scroll registers (like g2), not copying a temp buffer (which
will shear anyway and is super-slow).
author | rfelker |
---|---|
date | Tue, 12 Aug 2003 08:24:24 +0000 |
parents | 61d7bc41a41f |
children |
line wrap: on
line source
=================================================== MPlayer benchmark scripts v0.9 By Gabucino 2002-08-30 License: GPL (well only usable with mplayer ofcoz...) NO WARRANTY By using this software you agree not to blame the author or the MPlayer team for any mischief, backdoor, rm -rf / or else this script may or may not do. =================================================== Preamble ======== BEGINNERS MUST NOT TRY USING THESE SCRIPTS!!! Installation ============ - READ AND _U N D E R S T A N D_ WHAT THE SCRIPTS DO! - Copy the four shell scripts into an empty dir - Copy main.tar.gz to the same place (CVS checkout, compressed) - Copy ffmpeg.tar.gz to the same place (CVS checkout, compressed) - Create samples/ dir - Create samples to be used for benchmarking - (OPTIONAL) Create SAMPLE_FILE_NAME.opts file, containing standard MPlayer options - for usage with ONLY that file. Like: samples/MPEG1 MPEG1 file samples/MPEG1.opts "-vc mpeg12" samples/MPEG1_ffmpeg12 same MPEG1 file as MPEG1 samples/MPEG1_ffmpeg12.opts "-vc ffmpeg12" etc... - 'touch xmga' if you have Matrox, and want to test mga_vid too (RTFS for these "touch" features) - if doing Xv and/or xmga tests, start an X server, and exec xhost +localhost - Push ./start - WAIT - (recover from backup;))) - See $BUILDDIR/log-2002-08-30 (today's date..) for the output. Fuck. (TODO?;)