#include <able/fb.h>
Data Fields | |
uint32_t | xres |
Visible x resolution. | |
uint32_t | yres |
Visible y resolution. | |
uint32_t | xres_virtual |
Virtual x resolution. | |
uint32_t | yres_virtual |
Virtual y resolution. | |
uint32_t | xoffset |
X offset from virtual to visible. | |
uint32_t | yoffset |
Y offset from virtual to visible. | |
uint32_t | bits_per_pixel |
Number of bits used to represent a pixel. | |
uint32_t | grayscale |
Whether or not this framebuffer is greyscale. | |
struct fb_bitfield | red |
A bitfield describing the red colour component size and position within a framebuffer pixel in memory. | |
struct fb_bitfield | green |
A bitfield describing the green colour component size and position within a framebuffer pixel in memory. | |
struct fb_bitfield | blue |
A bitfield describing the blue colour component size and position within a framebuffer pixel in memory. | |
struct fb_bitfield | transp |
A bitfield describing the alpha transparency component size and position within a framebuffer pixel in memory. | |
uint32_t | height |
Physical height of display area in mm. | |
uint32_t | width |
Physical width of display area in mm. | |
uint32_t | pixclock |
Pixel clock in picoseconds. | |
uint32_t | left_margin |
Time from sync to picture. | |
uint32_t | right_margin |
Time from picture to sync. | |
uint32_t | upper_margin |
Time from Vsync to picture start. | |
uint32_t | lower_margin |
Time from picture to Vsync. | |
uint32_t | hsync_len |
Length of horizontal sync. | |
uint32_t | vsync_len |
Length of vertical sync. | |
uint32_t | sync |
uint32_t | vmode |
Visible x resolution.
Visible y resolution.
Virtual x resolution.
Virtual y resolution.
X offset from virtual to visible.
Y offset from virtual to visible.
Number of bits used to represent a pixel.
Whether or not this framebuffer is greyscale.
Zero indicates colour, non-zero indicates number of levels of grey the framebuffer can represent.
struct fb_bitfield fb_var_screeninfo::red [read] |
A bitfield describing the red colour component size and position within a framebuffer pixel in memory.
The offset within the bitfield is only relevant in true colour modes.
struct fb_bitfield fb_var_screeninfo::green [read] |
A bitfield describing the green colour component size and position within a framebuffer pixel in memory.
The offset within the bitfield is only relevant in true colour modes.
struct fb_bitfield fb_var_screeninfo::blue [read] |
A bitfield describing the blue colour component size and position within a framebuffer pixel in memory.
The offset within the bitfield is only relevant in true colour modes.
struct fb_bitfield fb_var_screeninfo::transp [read] |
A bitfield describing the alpha transparency component size and position within a framebuffer pixel in memory.
The offset within the bitfield is only relevant in true colour modes.
Physical height of display area in mm.
Physical width of display area in mm.
Pixel clock in picoseconds.
This variable stores the number of picoseconds per clock cycle. All of the timings in this structure such as left_margin or sync are measured in terms of a number of pixel clocks.
Time from sync to picture.
Time from picture to sync.
Time from Vsync to picture start.
Time from picture to Vsync.
Length of horizontal sync.
Length of vertical sync.