CdEdid

CdEdid

Synopsis

#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);

Object Hierarchy

  GObject
   +----CdEdid

Description

Details

CD_EDID_ERROR

#define CD_EDID_ERROR		(cd_edid_error_quark ())


struct CdEdid

struct CdEdid;


struct CdEdidClass

struct CdEdidClass {
	GObjectClass		 parent_class;
};


cd_edid_error_quark ()

GQuark              cd_edid_error_quark                 (void);

Gets the CdEdid error quark.

Returns :

a GQuark

Since 1.1.2


cd_edid_new ()

CdEdid *            cd_edid_new                         (void);

Creates an object suitable for parsing an EDID.

Returns :

A new CdEdid

Since 1.1.2


cd_edid_reset ()

void                cd_edid_reset                       (CdEdid *edid);

Resets all cached data.

edid :

A valid CdEdid

Since 1.1.2


cd_edid_parse ()

gboolean            cd_edid_parse                       (CdEdid *edid,
                                                         GBytes *edid_data,
                                                         GError **error);

Parses the EDID.

edid :

A valid CdEdid

edid_data :

data to parse

error :

A GError, or NULL

Returns :

TRUE for success

Since 1.1.2


cd_edid_get_monitor_name ()

const gchar *       cd_edid_get_monitor_name            (CdEdid *edid);

Gets the EDID monitor name.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_vendor_name ()

const gchar *       cd_edid_get_vendor_name             (CdEdid *edid);

Gets the EDID vendor name.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_serial_number ()

const gchar *       cd_edid_get_serial_number           (CdEdid *edid);

Gets the EDID serial number.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_eisa_id ()

const gchar *       cd_edid_get_eisa_id                 (CdEdid *edid);

Gets the EDID EISA ID.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_checksum ()

const gchar *       cd_edid_get_checksum                (CdEdid *edid);

Gets the EDID MD5 checksum.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_pnp_id ()

const gchar *       cd_edid_get_pnp_id                  (CdEdid *edid);

Gets the EDID PNP ID.

edid :

A valid CdEdid

Returns :

string value

Since 1.1.2


cd_edid_get_width ()

guint               cd_edid_get_width                   (CdEdid *edid);

Gets the panel width in inches.

edid :

A valid CdEdid

Returns :

integer value

Since 1.1.2


cd_edid_get_height ()

guint               cd_edid_get_height                  (CdEdid *edid);

Gets the panel height in inches.

edid :

A valid CdEdid

Returns :

integer value

Since 1.1.2


cd_edid_get_gamma ()

gdouble             cd_edid_get_gamma                   (CdEdid *edid);

Gets the native panel gamma.

edid :

A valid CdEdid

Returns :

floating point value

Since 1.1.2


cd_edid_get_red ()

const CdColorYxy *  cd_edid_get_red                     (CdEdid *edid);

Gets the red primary.

edid :

A valid CdEdid

Returns :

TRUE for success

Since 1.1.2


cd_edid_get_green ()

const CdColorYxy *  cd_edid_get_green                   (CdEdid *edid);

Gets the green primary.

edid :

A valid CdEdid

Returns :

CdColorYxy chromaticity

Since 1.1.2


cd_edid_get_blue ()

const CdColorYxy *  cd_edid_get_blue                    (CdEdid *edid);

Gets the blue primary.

edid :

A valid CdEdid

Returns :

CdColorYxy chromaticity

Since 1.1.2


cd_edid_get_white ()

const CdColorYxy *  cd_edid_get_white                   (CdEdid *edid);

Gets the whitepoint.

edid :

A valid CdEdid

Returns :

CdColorYxy chromaticity

Since 1.1.2