Mercurial > mplayer.hg
view TVout/matroxfbtune @ 4689:61f4b8fd380e
Fixing "quake" by direct waiting of vsync.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(I don't why - but SMART_SWITCH is always disabled on my card)
Benchmarks:
[SRC] VIDEO: [DIV3] 624x356 24bpp 24.00 fps 497.3 kbps (60.7 kbyte/s)
[DEST] 1024x768@32 70fps (-xvidix -fs -zoom)
-vc ffdivx -double:
BENCHMARKs: V: 3.838s VO: 7.305s A: 0.555s Sys: 18.264s = 29.962s
BENCHMARK%: V: 12.8110% VO: 24.3808% A: 1.8518% Sys: 60.9564% = 100.0000%
total video time: 11.143s
-vc ffdivx -nodouble:
BENCHMARKs: V: 3.846s VO: 1.668s A: 0.539s Sys: 23.869s = 29.922s
BENCHMARK%: V: 12.8525% VO: 5.5744% A: 1.8015% Sys: 79.7716% = 100.0000%
total video time: 5.514s
-vc divxds -double (direct rendering)
BENCHMARKs: V: 8.275s VO: 5.750s A: 0.532s Sys: 15.414s = 29.971s
BENCHMARK%: V: 27.6115% VO: 19.1850% A: 1.7737% Sys: 51.4298% = 100.0000%
total video time: 14.070s
-vc divxds -nodouble (direct rendering)
BENCHMARKs: V: 7.353s VO: 0.002s A: 0.521s Sys: 22.083s = 29.958s
BENCHMARK%: V: 24.5433% VO: 0.0052% A: 1.7382% Sys: 73.7133% = 100.0000%
total video time: 7.355s
Unfortunately we have dramatic lost of performance (100%) :(
author | nick |
---|---|
date | Wed, 13 Feb 2002 08:24:13 +0000 |
parents | e14bf7fc7694 |
children |
line wrap: on
line source
#!/bin/sh # needs very much fixing # # 720x576, the upper left corner is right on my TV, but # it's too tall and wide # LEFT=54 RIGHT=-36 UPPER=55 LOWER=-6 XRES=720 YRES=576 while [ 1 ]; do clear echo q w left echo a s right echo e r upper echo d f lower echo t y xres echo g h yres echo z reset echo x save echo n LEFT echo m RIGHT echo o TALLER -BUG- echo k SHORTER -BUG- echo p UP echo l DOWN echo $LEFT $RIGHT echo $UPPER $LOWER echo $XRES $YRES echo fbset read ABC case "$ABC" in q) LEFT=$(($LEFT-2)) ;; w) LEFT=$(($LEFT+2)) ;; a) RIGHT=$(($RIGHT-2)) ;; s) RIGHT=$(($RIGHT+2)) ;; e) UPPER=$(($UPPER-2)) ;; r) UPPER=$(($UPPER+2)) ;; d) LOWER=$(($LOWER-2)) ;; f) LOWER=$(($LOWER+2)) ;; t) XRES=$(($XRES-2)) ;; y) XRES=$(($XRES+2)) ;; g) YRES=$(($YRES-2)) ;; h) YRES=$(($YRES+2)) ;; n) LEFT=$(($LEFT-2)) RIGHT=$(($RIGHT+2)) ;; m) LEFT=$(($LEFT+2)) RIGHT=$(($RIGHT-2)) ;; o) UPPER=$(($UPPER-2)) LOWER=$(($LOWER-2)) YRES=$(($YRES+4)) ;; k) UPPER=$(($UPPER+2)) LOWER=$(($LOWER+2)) YRES=$(($YRES-4)) ;; p) UPPER=$(($UPPER-2)) LOWER=$(($LOWER+2)) ;; l) UPPER=$(($UPPER+2)) LOWER=$(($LOWER-2)) ;; z) LEFT=54 RIGHT=-36 UPPER=55 LOWER=-6 XRES=720 YRES=576 ;; x) echo "fbset -fb /dev/fb1 -left $LEFT -right $RIGHT -upper $UPPER -lower $LOWER -hslen 46 -vslen 4 -xres $XRES -yres $YRES -vxres 720 -vyres 576 -depth 32 -laced false -bcast true" > save ;; esac fbset -fb /dev/fb1 -left $LEFT -right $RIGHT -upper $UPPER -lower $LOWER -hslen 46 -vslen 4 -xres $XRES -yres $YRES -vxres 720 -vyres 576 -depth 32 -laced false -bcast true done