[MPlayer-dev-eng] The new vo_xover and some tdfx_vid benchmark
Alban Bedel
albeu at free.fr
Wed Mar 12 15:13:22 CET 2003
Hi,
As i got the overlay working in tdfx_vid i started to write a vo xtdfx. But the thing
turned in a more general approch. I added 3 new control and a new open flag.
The first control just check for support (it will be called before preinit).
The two others set the colorkey and overlay position. A flag is also added to
the config call so the "sub driver" now that it shouldn't use aspect, etc.
The code is 100% from vo_xvidix so we can perhaps get rid of it (to avoid
having 2 time the same code).
Now tdfx_vid is usable in x11 :)))) Sadly the x server isn't too kind and sometimes
it turn off the overlay :(
Some benchmark on my k6-2 333 :
./mplayer -vo xv ../samples/divx-bandits-sample.avi -nosound
-benchmark -frames 1500
BENCHMARKs: VC: 32.198s VO: 19.401s A: 0.000s Sys: 2.374s = 53.973s
BENCHMARK%: VC: 59.6550% VO: 35.9462% A: 0.0000% Sys: 4.3988% = 100.0000%
./mplayer -vo xv ../samples/divx-bandits-sample.avi -nosound
-benchmark -frames 1500 -dr -double
BENCHMARKs: VC: 31.258s VO: 13.504s A: 0.000s Sys: 3.912s = 48.673s
BENCHMARK%: VC: 64.2192% VO: 27.7433% A: 0.0000% Sys: 8.0375% = 100.0000%
./mplayer -vo tdfxfb ../samples/divx-bandits-sample.avi -nosound
-benchmark -frames 1500
BENCHMARKs: VC: 40.999s VO: 1.788s A: 0.000s Sys: 0.997s = 43.784s
BENCHMARK%: VC: 93.6390% VO: 4.0839% A: 0.0000% Sys: 2.2772% = 100.0000%
./mplayer -vo xover:tdfx_vid ../samples/divx-bandits-sample.avi
-nosound -benchmark -frames 1500
BENCHMARKs: VC: 31.253s VO: 2.288s A: 0.000s Sys: 3.237s = 36.779s
BENCHMARK%: VC: 84.9760% VO: 6.2220% A: 0.0000% Sys: 8.8020% = 100.0000%
XV IS SHIT !!!!! (but that not new ;)
Albeu
More information about the MPlayer-dev-eng
mailing list