![]() |
![]() |
![]() |
colord Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define CD_EDID_ERROR struct CdEdid; struct CdEdidClass; GQuark cd_edid_error_quark (void
); CdEdid * cd_edid_new (void
); void cd_edid_reset (CdEdid *edid
); gboolean cd_edid_parse (CdEdid *edid
,GBytes *edid_data
,GError **error
); const gchar * cd_edid_get_monitor_name (CdEdid *edid
); const gchar * cd_edid_get_vendor_name (CdEdid *edid
); const gchar * cd_edid_get_serial_number (CdEdid *edid
); const gchar * cd_edid_get_eisa_id (CdEdid *edid
); const gchar * cd_edid_get_checksum (CdEdid *edid
); const gchar * cd_edid_get_pnp_id (CdEdid *edid
); guint cd_edid_get_width (CdEdid *edid
); guint cd_edid_get_height (CdEdid *edid
); gdouble cd_edid_get_gamma (CdEdid *edid
); const CdColorYxy * cd_edid_get_red (CdEdid *edid
); const CdColorYxy * cd_edid_get_green (CdEdid *edid
); const CdColorYxy * cd_edid_get_blue (CdEdid *edid
); const CdColorYxy * cd_edid_get_white (CdEdid *edid
);
GQuark cd_edid_error_quark (void
);
Gets the CdEdid error quark.
Returns : |
a GQuark |
Since 1.1.2
CdEdid * cd_edid_new (void
);
Creates an object suitable for parsing an EDID.
Returns : |
A new CdEdid |
Since 1.1.2
void cd_edid_reset (CdEdid *edid
);
Resets all cached data.
|
A valid CdEdid |
Since 1.1.2
gboolean cd_edid_parse (CdEdid *edid
,GBytes *edid_data
,GError **error
);
Parses the EDID.
|
A valid CdEdid |
|
data to parse |
|
A GError, or NULL
|
Returns : |
TRUE for success |
Since 1.1.2
const gchar * cd_edid_get_monitor_name (CdEdid *edid
);
Gets the EDID monitor name.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
const gchar * cd_edid_get_vendor_name (CdEdid *edid
);
Gets the EDID vendor name.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
const gchar * cd_edid_get_serial_number (CdEdid *edid
);
Gets the EDID serial number.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
const gchar * cd_edid_get_eisa_id (CdEdid *edid
);
Gets the EDID EISA ID.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
const gchar * cd_edid_get_checksum (CdEdid *edid
);
Gets the EDID MD5 checksum.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
const gchar * cd_edid_get_pnp_id (CdEdid *edid
);
Gets the EDID PNP ID.
|
A valid CdEdid |
Returns : |
string value |
Since 1.1.2
guint cd_edid_get_width (CdEdid *edid
);
Gets the panel width in inches.
|
A valid CdEdid |
Returns : |
integer value |
Since 1.1.2
guint cd_edid_get_height (CdEdid *edid
);
Gets the panel height in inches.
|
A valid CdEdid |
Returns : |
integer value |
Since 1.1.2
gdouble cd_edid_get_gamma (CdEdid *edid
);
Gets the native panel gamma.
|
A valid CdEdid |
Returns : |
floating point value |
Since 1.1.2
const CdColorYxy * cd_edid_get_red (CdEdid *edid
);
Gets the red primary.
|
A valid CdEdid |
Returns : |
TRUE for success |
Since 1.1.2
const CdColorYxy * cd_edid_get_green (CdEdid *edid
);
Gets the green primary.
|
A valid CdEdid |
Returns : |
CdColorYxy chromaticity |
Since 1.1.2
const CdColorYxy * cd_edid_get_blue (CdEdid *edid
);
Gets the blue primary.
|
A valid CdEdid |
Returns : |
CdColorYxy chromaticity |
Since 1.1.2
const CdColorYxy * cd_edid_get_white (CdEdid *edid
);
Gets the whitepoint.
|
A valid CdEdid |
Returns : |
CdColorYxy chromaticity |
Since 1.1.2