aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-error.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-23 16:37:42 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-23 16:38:13 +0200
commit6d9dec96c2e909c14d15deb4b2367e87011f68ee (patch)
tree22d88e19c94bb60d46a489e03e329718593d326b /src/libgamma-error.h
parenttypo (diff)
downloadlibgamma-6d9dec96c2e909c14d15deb4b2367e87011f68ee.tar.gz
libgamma-6d9dec96c2e909c14d15deb4b2367e87011f68ee.tar.bz2
libgamma-6d9dec96c2e909c14d15deb4b2367e87011f68ee.tar.xz
parse edid
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libgamma-error.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libgamma-error.h b/src/libgamma-error.h
index ba8ec86..c4da13c 100644
--- a/src/libgamma-error.h
+++ b/src/libgamma-error.h
@@ -179,6 +179,39 @@ extern const char* libgamma_group_name;
*/
#define LIBGAMMA_SUBPIXEL_ORDER_NOT_RECOGNISED (-27)
+/**
+ * The length of the EDID does not match that of any supported EDID structure revision
+ */
+#define LIBGAMMA_EDID_LENGTH_UNSUPPORTED (-28)
+
+/**
+ * The magic number in the EDID does not match that of any supported EDID structure revision
+ */
+#define LIBGAMMA_EDID_WRONG_MAGIC_NUMBER (-29)
+
+/**
+ * The EDID structure revision used by the monitor is not supported
+ */
+#define LIBGAMMA_EDID_REVISION_UNSUPPORTED (-30)
+
+/**
+ * The gamma characteristics field in the EDID is left unspecified
+ * (This could be considered a non-error)
+ */
+#define LIBGAMMA_GAMMA_NOT_SPECIFIED (-31)
+
+/**
+ * The checksum in the EDID is incorrect, all request information has been provided
+ * by you cannot count on it.
+ */
+#define LIBGAMMA_EDID_CHECKSUM_ERROR (-32)
+
+/**
+ * Both of the errors `LIBGAMMA_GAMMA_NOT_SPECIFIED` and
+ * `LIBGAMMA_EDID_CHECKSUM_ERROR` have occurred
+ */
+#define LIBGAMMA_GAMMA_NOT_SPECIFIED_AND_EDID_CHECKSUM_ERROR (-33)
+
#endif