summaryrefslogtreecommitdiff
path: root/kms++/modedb.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/modedb.h')
-rw-r--r--kms++/modedb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/kms++/modedb.h b/kms++/modedb.h
new file mode 100644
index 0000000..43c7afc
--- /dev/null
+++ b/kms++/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);
+
+}