Mercurial > mplayer.hg
comparison TVout/matroxtv @ 9839:ab635db0c549
mode changes should occur to all the consoles
author | gabucino |
---|---|
date | Sun, 06 Apr 2003 10:06:31 +0000 |
parents | 1c59a05f406d |
children | 649f1089d94d |
comparison
equal
deleted
inserted
replaced
9838:1c59a05f406d | 9839:ab635db0c549 |
---|---|
13 # | 13 # |
14 | 14 |
15 function defaultmode { | 15 function defaultmode { |
16 # You can choose the mode to use in monitor-only mode | 16 # You can choose the mode to use in monitor-only mode |
17 # 640x480 60Hz 32bpp (14" monitors) | 17 # 640x480 60Hz 32bpp (14" monitors) |
18 fbset -a -xres 640 -yres 480 -vxres 640 -vyres 480 -depth 32 -pixclock 39721 -left 48 -right 16 -upper 33 -lower 10 -hslen 96 -vslen 2 -hsync high -accel true | 18 fbset -a -xres 640 -yres 480 -vxres 640 -vyres 480 -depth 32 -pixclock 39721 -left 48 -right 16 -upper 33 -lower 10 -hslen 96 -vslen 2 -hsync high -accel true -laced false |
19 # 768x576 60Hz 32bpp (14" monitors) | 19 # 768x576 60Hz 32bpp (14" monitors) |
20 # fbset -a -xres 768 -yres 576 -vxres 768 -vyres 5460 -depth 32 -pixclock 26101 -left 144 -right 16 -upper 28 -lower 6 -hslen 112 -vslen 4 -accel true | 20 # fbset -a -xres 768 -yres 576 -vxres 768 -vyres 5460 -depth 32 -pixclock 26101 -left 144 -right 16 -upper 28 -lower 6 -hslen 112 -vslen 4 -accel true -laced false |
21 # 800x600 76Hz 32bpp (15" monitors) | 21 # 800x600 76Hz 32bpp (15" monitors) |
22 # fbset -a -xres 800 -yres 600 -vxres 800 -vyres 1440 -depth 32 -pixclock 20000 -left 128 -right 16 -upper 24 -lower 2 -hslen 96 -vslen 6 | 22 # fbset -a -xres 800 -yres 600 -vxres 800 -vyres 1440 -depth 32 -pixclock 20000 -left 128 -right 16 -upper 24 -lower 2 -hslen 96 -vslen 6 -laced false |
23 # 1024x768 70Hz 32bpp (15" monitors) | 23 # 1024x768 70Hz 32bpp (15" monitors) |
24 # fbset -a -xres 1024 -yres 768 -vxres 1024 -vyres 1440 -depth 32 -pixclock 12500 -left 144 -right 32 -upper 30 -lower 2 -hslen 192 -vslen 6 | 24 # fbset -a -xres 1024 -yres 768 -vxres 1024 -vyres 1440 -depth 32 -pixclock 12500 -left 144 -right 32 -upper 30 -lower 2 -hslen 192 -vslen 6 -laced false |
25 } | 25 } |
26 | 26 |
27 function TVdefaultmode { | 27 function TVdefaultmode { |
28 | 28 |
29 ## | 29 ## |
30 ## PAL modes | 30 ## PAL modes |
31 ## | 31 ## |
32 | 32 |
33 # 640x512 80Hz 32bpp | 33 # 640x512 80Hz 32bpp |
34 fbset -depth 32 -left 60 -right 0 -upper 70 -lower 39 -hslen 76 -vslen 4 -xres 640 -yres 512 -bcast true | 34 fbset -a -depth 32 -left 60 -right 0 -upper 70 -lower 39 -hslen 76 -vslen 4 -xres 640 -yres 512 -bcast true -laced false |
35 # 640x528 83Hz 32bpp | 35 # 640x528 83Hz 32bpp |
36 # fbset -depth 32 -left 40 -right 0 -upper 63 -lower 29 -hslen 56 -vslen 4 -xres 640 -yres 528 -vxres 640 -vyres 528 -laced false -bcast true | 36 # fbset -a -depth 32 -left 40 -right 0 -upper 63 -lower 29 -hslen 56 -vslen 4 -xres 640 -yres 528 -vxres 640 -vyres 528 -laced false -bcast true |
37 # 720x576 78Hz 32bpp | 37 # 720x576 78Hz 32bpp |
38 # fbset -depth 32 -left 54 -right -36 -upper 55 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true | 38 # fbset -a -depth 32 -left 54 -right -36 -upper 55 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true |
39 | 39 |
40 ## | 40 ## |
41 ## NTSC modes | 41 ## NTSC modes |
42 ## | 42 ## |
43 | 43 |
44 # 640x240 non-interlaced 32bpp | 44 # 640x240 non-interlaced 32bpp |
45 # fbset -depth 32 -xres 640 -yres 240 -vxres 640 -vyres 240 -pixclock 79443 -left 72 -right 40 -upper 15 -lower 5 -hslen 48 -vslen 3 | 45 # fbset -a -depth 32 -xres 640 -yres 240 -vxres 640 -vyres 240 -pixclock 79443 -left 72 -right 40 -upper 15 -lower 5 -hslen 48 -vslen 3 -laced false |
46 # 640x480 interlaced 32bpp | 46 # 640x480 interlaced 32bpp |
47 # fbset -depth 32 -xres 640 -yres 480 -vxres 640 -vyres 480 -pixclock 79443 -left 72 -right 40 -upper 30 -lower 10 -hslen 48 -vslen 5 -laced true | 47 # fbset -a -depth 32 -xres 640 -yres 480 -vxres 640 -vyres 480 -pixclock 79443 -left 72 -right 40 -upper 30 -lower 10 -hslen 48 -vslen 5 -laced true |
48 } | 48 } |
49 | 49 |
50 function SetTVstandard { | 50 function SetTVstandard { |
51 matroxset 1 # PAL | 51 matroxset 1 # PAL |
52 # matroxset 2 # NTSC | 52 # matroxset 2 # NTSC |
179 warn2 | 179 warn2 |
180 ;; | 180 ;; |
181 | 181 |
182 a) | 182 a) |
183 # 640x512 80Hz 32bpp | 183 # 640x512 80Hz 32bpp |
184 fbset -depth 32 -left 60 -right 0 -upper 70 -lower 39 -hslen 76 -vslen 4 -xres 640 -yres 512 -bcast true | 184 fbset -a -depth 32 -left 60 -right 0 -upper 70 -lower 39 -hslen 76 -vslen 4 -xres 640 -yres 512 -bcast true -laced false |
185 ;; | 185 ;; |
186 | 186 |
187 s) | 187 s) |
188 # 640x528 83Hz 32bpp | 188 # 640x528 83Hz 32bpp |
189 fbset -depth 32 -left 40 -right 0 -upper 63 -lower 29 -hslen 56 -vslen 4 -xres 640 -yres 528 -vxres 640 -vyres 528 -laced false -bcast true | 189 fbset -a -depth 32 -left 40 -right 0 -upper 63 -lower 29 -hslen 56 -vslen 4 -xres 640 -yres 528 -vxres 640 -vyres 528 -laced false -bcast true |
190 ;; | 190 ;; |
191 | 191 |
192 d) | 192 d) |
193 # 720x576 78Hz 32bpp | 193 # 720x576 78Hz 32bpp |
194 # fbset -depth 32 -left 54 -right -36 -upper 55 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true | 194 # fbset -a -depth 32 -left 54 -right -36 -upper 55 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true |
195 fbset -depth 32 -right -36 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true | 195 fbset -a -depth 32 -right -36 -lower -6 -hslen 46 -vslen 4 -xres 720 -yres 576 -vxres 720 -vyres 576 -laced false -bcast true |
196 ;; | 196 ;; |
197 | 197 |
198 f) | 198 f) |
199 # 640x240 non-interlaced 32bpp | 199 # 640x240 non-interlaced 32bpp |
200 fbset -depth 32 -xres 640 -yres 240 -vxres 640 -vyres 240 -pixclock 79443 -left 72 -right 40 -upper 15 -lower 5 -hslen 48 -vslen 3 | 200 fbset -a -depth 32 -xres 640 -yres 240 -vxres 640 -vyres 240 -pixclock 79443 -left 72 -right 40 -upper 15 -lower 5 -hslen 48 -vslen 3 -laced false |
201 ;; | 201 ;; |
202 | 202 |
203 g) | 203 g) |
204 # 640x480 interlaced 32bpp | 204 # 640x480 interlaced 32bpp |
205 fbset -depth 32 -xres 640 -yres 480 -vxres 640 -vyres 480 -pixclock 79443 -left 72 -right 40 -upper 30 -lower 10 -hslen 48 -vslen 5 -laced true | 205 fbset -a -depth 32 -xres 640 -yres 480 -vxres 640 -vyres 480 -pixclock 79443 -left 72 -right 40 -upper 30 -lower 10 -hslen 48 -vslen 5 -laced true |
206 ;; | 206 ;; |
207 esac | 207 esac |
208 | 208 |
209 done | 209 done |