|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Video mode structure. More...
#include <dc/video.h>
Data Fields | |
| uint16_t | generic |
| Generic mode type for vid_set_mode() | |
| uint16_t | width |
| Width of the display, in pixels. | |
| uint16_t | height |
| Height of the display, in pixels. | |
| uint32_t | flags |
| Combination of one or more VID_* flags. | |
| int16_t | cable_type |
| Allowed cable type. | |
| vid_pixel_mode_t | pm |
| Pixel mode. | |
| uint16_t | scanlines |
| Number of scanlines. | |
| uint16_t | clocks |
| Clocks per scanline. | |
| uint16_t | bitmapx |
| Bitmap window X position. | |
| uint16_t | bitmapy |
| Bitmap window Y position (automatically increased for PAL) | |
| uint16_t | scanint1 |
| First scanline interrupt position. | |
| uint16_t | scanint2 |
| Second scanline interrupt position (automatically doubled for VGA) | |
| uint16_t | borderx1 |
| Border X starting position. | |
| uint16_t | borderx2 |
| Border X stop position. | |
| uint16_t | bordery1 |
| Border Y starting position. | |
| uint16_t | bordery2 |
| Border Y stop position. | |
| uint16_t | fb_curr |
| Current framebuffer. | |
| uint16_t | fb_count |
| Number of framebuffers. | |
| size_t | fb_size |
| Size of each framebuffer. | |
Video mode structure.
KOS maintains a list of valid video modes internally that correspond to the specific display modes enumeration. Each of them is built of one of these.
| uint16_t vid_mode_t::bitmapx |
Bitmap window X position.
| uint16_t vid_mode_t::bitmapy |
Bitmap window Y position (automatically increased for PAL)
| uint16_t vid_mode_t::borderx1 |
Border X starting position.
| uint16_t vid_mode_t::borderx2 |
Border X stop position.
| uint16_t vid_mode_t::bordery1 |
Border Y starting position.
| uint16_t vid_mode_t::bordery2 |
Border Y stop position.
| int16_t vid_mode_t::cable_type |
Allowed cable type.
| uint16_t vid_mode_t::clocks |
Clocks per scanline.
| uint16_t vid_mode_t::fb_count |
Number of framebuffers.
| uint16_t vid_mode_t::fb_curr |
Current framebuffer.
| size_t vid_mode_t::fb_size |
Size of each framebuffer.
| uint32_t vid_mode_t::flags |
Combination of one or more VID_* flags.
| uint16_t vid_mode_t::generic |
Generic mode type for vid_set_mode()
| uint16_t vid_mode_t::height |
Height of the display, in pixels.
| vid_pixel_mode_t vid_mode_t::pm |
Pixel mode.
| uint16_t vid_mode_t::scanint1 |
First scanline interrupt position.
| uint16_t vid_mode_t::scanint2 |
Second scanline interrupt position (automatically doubled for VGA)
| uint16_t vid_mode_t::scanlines |
Number of scanlines.
| uint16_t vid_mode_t::width |
Width of the display, in pixels.