|
Xcm 0.4.0
|
Enumerations | |
| enum | XCM_DDC_ERROR_e { XCM_DDC_OK, XCM_DDC_NO_FILE, XCM_DDC_PREPARE_FAIL, XCM_DDC_EDID_READ_FAIL, XCM_DDC_WRONG_EDID } |
Functions | |
| XCM_DDC_ERROR_e | XcmDDClist (char ***list, int *count) |
| obtain all monitors i2c device names | |
| XCM_DDC_ERROR_e | XcmDDCgetEDID (const char *device_name, char **data, size_t *size) |
| obtain all monitors i2c device names | |
| const char * | XcmDDCErrorToString (XCM_DDC_ERROR_e error) |
| convert enum into a meaningful text string | |
The purpose of the API is to establish client side communication with a monitor device. This can be used to update EEDID data and get MCCS properties. The former is supported by this library.
XcmDDClist() returns a list of monitor i2c device names. XcmDDCgetEDID() can be used to fetch EEDID from a device name.
XcmDDC.h
Xcm Xorg Colour Management
DDC communication with monitor devices
| enum XCM_DDC_ERROR_e |
| const char * XcmDDCErrorToString | ( | XCM_DDC_ERROR_e | error | ) |
convert enum into a meaningful text string
Function XcmDDCErrorToString
| [in] | error | the error |
| XCM_DDC_ERROR_e XcmDDCgetEDID | ( | const char * | device_name, |
| char ** | data, | ||
| size_t * | size | ||
| ) |
obtain all monitors i2c device names
Function XcmDDCgetEDID
| [in] | device_name | system specific device name |
| [out] | data | empty pointer to EDID data, will be mallocd for the user |
| [out] | size | size of memory in data |
| XCM_DDC_ERROR_e XcmDDClist | ( | char *** | list, |
| int * | count | ||
| ) |
obtain all monitors i2c device names
Function XcmDDClist
| [out] | list | empty pointer to a list of device names |
| [out] | count | pass in a pointer to a int. gives the number of elements in list |
1.7.3