summaryrefslogtreecommitdiff
path: root/libkms++/modedb.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-16 12:11:06 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-16 13:39:01 +0300
commit765d7f1ad031276dfba42fd8cc53dbcd2a0aa928 (patch)
treed41573b2697974b958ea3fced48fde5b72264428 /libkms++/modedb.h
parent2a90a15ec48cca638dab77429e388ec4699d4749 (diff)
kmsxx: add modedb
Diffstat (limited to 'libkms++/modedb.h')
-rw-r--r--libkms++/modedb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/libkms++/modedb.h b/libkms++/modedb.h
new file mode 100644
index 0000000..43c7afc
--- /dev/null
+++ b/libkms++/modedb.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include <cstdint>
+#include "videomode.h"
+
+namespace kms
+{
+struct Videomode;
+
+extern const Videomode dmt_modes[];
+extern const Videomode cea_modes[];
+
+const Videomode& find_dmt(uint32_t width, uint32_t height, uint32_t vrefresh, bool ilace);
+const Videomode& find_cea(uint32_t width, uint32_t height, uint32_t refresh, bool ilace);
+
+}