fb_var_screeninfo Struct Reference

Representation of parameters used to control a physical output device. More...

#include <able/fb.h>

Collaboration diagram for fb_var_screeninfo:

Collaboration graph
[legend]

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

Detailed Description

Representation of parameters used to control a physical output device.


Field Documentation

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.

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.

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.

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.

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.

See also:
FB_SYNC_HOR and friends.

See also:
FB_VMODE_NONINTERLACED and friends.


The documentation for this struct was generated from the following file:

Generated on Tue Jan 20 14:29:01 2009 for ABLE LIBC by  doxygen 1.5.6