Mercurial > mplayer.hg
annotate TOOLS/benchmark-gab/plot @ 10576:e4cdc9ca94c5
Changed all printf into mp_msg
Removed extern int verbose
Removed some unneeded includes
Removed swscale, because this should be done by vf layer instead
Removed weird video_out_png definition
There is no more flip, zoom, or geometry support, so I removed those.
Slices, stride support for all supported CSP.
Replaced draw_frame with a stub.
Removed: do { ... } while (0)
Removed unused dstFourcc.
Added DR support
Removed USE_CONVERT2FB, since we have real DR now
Simplified some color depth checks
author | joey |
---|---|
date | Tue, 12 Aug 2003 06:57:19 +0000 |
parents | 3d40a2bbd73b |
children | 14c85528d202 |
rev | line source |
---|---|
7185
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
1 #!/bin/sh |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
2 # |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
3 # needs ImageMagick and gnuplot installed |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
4 # ImageMagick not needed in you don't wanna convert to JPG |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
5 # |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
6 |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
7 . ./variables |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
8 |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
9 rm -f *.plot |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
10 rm -f log-*.pbm |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
11 rm -f log-*.jpg |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
12 rm -f plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
13 |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
14 for i in log-*; do |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
15 grep Total: $i | awk '{print $6}' | sed s/s// | nl | head -n 75 > $i.plot |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
16 done |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
17 |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
18 for i in log-*.plot; do |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
19 echo "set key left box" > plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
20 echo "set samples 50" >> plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
21 echo "set term pbm" >> plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
22 echo "plot [0:75] '$i'" >> plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
23 #echo "pause -1 \"Hit return to continue\"" >> plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
24 #echo "" >> plot.file |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
25 gnuplot plot.file > $i.pbm |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
26 convert $i.pbm $i.jpg |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
27 rm -f $i.pbm |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
28 done |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
29 |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
30 #gnuplot plot.file > out.pbm |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
31 rm -f *.plot |
3d40a2bbd73b
very simple script for viewing results with gnuplot, converted to JPEG
gabucino
parents:
diff
changeset
|
32 rm -f plot.file |