summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/modedb.h
blob: 06504421f184a31e2b4eb51ddc0725151161e75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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, float vrefresh, bool ilace);
const Videomode& find_cea(uint32_t width, uint32_t height, float vrefresh, bool ilace);

} // namespace kms