1 #ifndef MYTHDISPLAYMODE_H_
2 #define MYTHDISPLAYMODE_H_
30 double AspectRatio,
double RefreshRate);
32 double AspectRatio,
double RefreshRate);
34 QSize Resolution ()
const;
38 int HeightMM ()
const;
39 double AspectRatio ()
const;
40 double RefreshRate ()
const;
41 void SetAspectRatio(
double AspectRatio);
42 void AddRefreshRate(
double Rate);
43 void ClearRefreshRates();
44 void SetRefreshRate(
double Rate);
48 static uint64_t CalcKey (QSize Size,
double Rate);
49 static bool CompareRates (
double First,
double Second,
double Precision = 0.01);
51 int Width,
int Height,
double Rate);
58 double m_aspect { -1.0 };