![]() |
![]() |
![]() |
GNOME Color Manager Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct GcmEdid; struct GcmEdidClass; GcmEdid * gcm_edid_new (void
); void gcm_edid_reset (GcmEdid *edid
); gboolean gcm_edid_parse (GcmEdid *edid
,const guint8 *data
,gsize length
,GError **error
); const gchar * gcm_edid_get_monitor_name (GcmEdid *edid
); const gchar * gcm_edid_get_vendor_name (GcmEdid *edid
); const gchar * gcm_edid_get_serial_number (GcmEdid *edid
); const gchar * gcm_edid_get_eisa_id (GcmEdid *edid
); const gchar * gcm_edid_get_checksum (GcmEdid *edid
); const gchar * gcm_edid_get_pnp_id (GcmEdid *edid
); guint gcm_edid_get_width (GcmEdid *edid
); guint gcm_edid_get_height (GcmEdid *edid
); gfloat gcm_edid_get_gamma (GcmEdid *edid
); const GcmColorYxy * gcm_edid_get_red (GcmEdid *edid
); const GcmColorYxy * gcm_edid_get_green (GcmEdid *edid
); const GcmColorYxy * gcm_edid_get_blue (GcmEdid *edid
); const GcmColorYxy * gcm_edid_get_white (GcmEdid *edid
); GcmEdidPrivate;
"blue" GcmColorYxy* : Read "checksum" gchar* : Read "eisa-id" gchar* : Read "gamma" gfloat : Read "green" GcmColorYxy* : Read "height" guint : Read "monitor-name" gchar* : Read "pnp-id" gchar* : Read "red" GcmColorYxy* : Read "serial-number" gchar* : Read "vendor-name" gchar* : Read "white" GcmColorYxy* : Read "width" guint : Read
struct GcmEdidClass { GObjectClass parent_class; /* padding for future expansion */ void (*_gcm_reserved1) (void); void (*_gcm_reserved2) (void); void (*_gcm_reserved3) (void); void (*_gcm_reserved4) (void); void (*_gcm_reserved5) (void); };
void gcm_edid_reset (GcmEdid *edid
);
Resets all the cached values in this object.
|
a valid GcmEdid instance |
Since 2.91.1
gboolean gcm_edid_parse (GcmEdid *edid
,const guint8 *data
,gsize length
,GError **error
);
Parses an EDID block, checking for sanity and decoding anything important.
|
a valid GcmEdid instance |
|
the EDID block |
|
the data length, typically a multiple of 128 |
|
a valid GError or NULL
|
Returns : |
TRUE for success. |
Since 2.91.1
const gchar * gcm_edid_get_monitor_name (GcmEdid *edid
);
Gets the monitor name.
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
const gchar * gcm_edid_get_vendor_name (GcmEdid *edid
);
Gets the vendor name.
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
const gchar * gcm_edid_get_serial_number (GcmEdid *edid
);
Gets the device serial number.
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
const gchar * gcm_edid_get_eisa_id (GcmEdid *edid
);
Gets the EISA ID.
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
const gchar * gcm_edid_get_checksum (GcmEdid *edid
);
Gets the EDID MD5 checksum, which is often useful to compare binary blobs.
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
const gchar * gcm_edid_get_pnp_id (GcmEdid *edid
);
Gets the device PNP ID..
|
a valid GcmEdid instance |
Returns : |
a null terminaled string value |
Since 2.91.1
guint gcm_edid_get_width (GcmEdid *edid
);
Gets the width of the panel.
|
a valid GcmEdid instance |
Returns : |
the width in mm. |
Since 2.91.1
guint gcm_edid_get_height (GcmEdid *edid
);
Gets the panel height.
|
a valid GcmEdid instance |
Returns : |
the height in mm. |
Since 2.91.1
gfloat gcm_edid_get_gamma (GcmEdid *edid
);
Gets the monitor gamma.
|
a valid GcmEdid instance |
Returns : |
the gamma value, although this is typically 2.2 |
Since 2.91.1
const GcmColorYxy * gcm_edid_get_red (GcmEdid *edid
);
Gets the monitor red chromaticity value.
|
a valid GcmEdid instance |
Returns : |
the GcmColorYxy value |
Since 2.91.1
const GcmColorYxy * gcm_edid_get_green (GcmEdid *edid
);
Gets the monitor green chromaticity value.
|
a valid GcmEdid instance |
Returns : |
the GcmColorYxy value |
Since 2.91.1
const GcmColorYxy * gcm_edid_get_blue (GcmEdid *edid
);
Gets the monitor red chromaticity value.
|
a valid GcmEdid instance |
Returns : |
the GcmColorYxy value |
Since 2.91.1
const GcmColorYxy * gcm_edid_get_white (GcmEdid *edid
);
Gets the monitor white chromaticity value.
|
a valid GcmEdid instance |
Returns : |
the GcmColorYxy value |
Since 2.91.1