annotate TVout/fbset.db @ 1306:7ce37211e454

yuv2rgb_mmx crashes with ffdivx codec, when we play back avi files that have a frame width that is not an exact multiple of 8. Testcase: 405.avi (356x240). Playing on an MMX capable x86 system using the x11 video-out driver results in a segfault. The MMX routines convert image data in quantities of 8 pixels in each loop, and the inner loop was not terminated in case there are only 1-7 pixels left, producing too much RGB output. For now, just ignore the last few pixels on each row, to avoid the segfaults. (Gives a black vertical border on the right, if you play a video with width%8 != 0) A possible future enhancement would be, to add a second loop to convert the last width%8 pixels to RGB using a byte loop.
author jkeil
date Thu, 12 Jul 2001 15:23:26 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 # FBset mode database
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 mode "640x480" # H: 33.78 kHz, V: 67.56 Hz
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 geometry 640 480 640 480 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 timings 35242 24 64 17 1 112 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 endmode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 mode "640x480-60"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 # D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 geometry 640 480 640 480 16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 timings 39721 48 16 33 10 96 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 hsync high
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 accel true
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 # rgba 5/11,6/5,5/0,0/0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 endmode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 mode "640x400-60"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 # D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 geometry 640 400 640 400 16
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 timings 39721 48 16 33 10 96 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 hsync high
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 accel true
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 # rgba 5/11,6/5,5/0,0/0
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 endmode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 mode "vga70"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 # H: 31.113 kHz, V: 69.294 Hz
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 geometry 640 400 640 400 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 timings 35242 64 96 35 12 112 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 # vsync high
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 # csync high
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 endmode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34