L4Re Operating System Framework
Interface and Usage Documentation
|
Enumerations | |
enum | Libedid_consts { Libedid_block_size = 128 } |
EDID constants. More... | |
Functions | |
int | libedid_check_header (const unsigned char *edid) |
Check for valid EDID header. | |
int | libedid_checksum (const unsigned char *edid) |
Calculates the EDID checksum. | |
unsigned | libedid_version (const unsigned char *edid) |
Returns the EDID version number. | |
unsigned | libedid_revision (const unsigned char *edid) |
Returns the EDID revision number. | |
void | libedid_pnp_id (const unsigned char *edid, unsigned char *id) |
Extracts the display's PnP ID. | |
void | libedid_prefered_resolution (const unsigned char *edid, unsigned *w, unsigned *h) |
Extract the display's prefered mode. | |
unsigned | libedid_num_ext_blocks (const unsigned char *edid) |
Get the number of EDID extension blocks. | |
unsigned | libedid_dump_standard_timings (const unsigned char *edid) |
Dump the standard timings to stdout. | |
void | libedid_dump (const unsigned char *edid) |
Dump raw EDID data to stdout. | |
enum Libedid_consts |
int libedid_check_header | ( | const unsigned char * | edid | ) |
Check for valid EDID header.
edid | Pointer to a 128byte EDID block |
int libedid_checksum | ( | const unsigned char * | edid | ) |
Calculates the EDID checksum.
edid | Pointer to a 128byte EDID block |
void libedid_dump | ( | const unsigned char * | edid | ) |
Dump raw EDID data to stdout.
edid | Pointer to a 128byte EDID block |
unsigned libedid_dump_standard_timings | ( | const unsigned char * | edid | ) |
Dump the standard timings to stdout.
edid | Pointer to a 128byte EDID block |
unsigned libedid_num_ext_blocks | ( | const unsigned char * | edid | ) |
Get the number of EDID extension blocks.
edid | Pointer to a 128byte EDID block |
void libedid_pnp_id | ( | const unsigned char * | edid, |
unsigned char * | id | ||
) |
Extracts the display's PnP ID.
edid | Pointer to a 128byte EDID block | |
[out] | id | Return the PnP id. Must point to 4 bytes. |
void libedid_prefered_resolution | ( | const unsigned char * | edid, |
unsigned * | w, | ||
unsigned * | h | ||
) |
Extract the display's prefered mode.
edid | Pointer to a 128byte EDID block | |
[out] | w | X resolution of prefered video mode in pixels. |
[out] | h | Y resolution of prefered video mode in pixels. |
unsigned libedid_revision | ( | const unsigned char * | edid | ) |
Returns the EDID revision number.
edid | Pointer to a 128 EDID block |
unsigned libedid_version | ( | const unsigned char * | edid | ) |
Returns the EDID version number.
edid | Pointer to a 128byte EDID block |