MythTV master
mythdrmmode.h
Go to the documentation of this file.
1#ifndef MYTHDRMMODE_H
2#define MYTHDRMMODE_H
3
4// MythTV
6
7using DRMMode = std::shared_ptr<class MythDRMMode>;
8using DRMModes = std::vector<DRMMode>;
9
11{
12 public:
13 static DRMMode Create(drmModeModeInfoPtr Mode, int Index);
14
15 int m_index { 0 };
16 double m_rate { 0.0 };
17 uint16_t m_width { 0 };
18 uint16_t m_height { 0 };
19 uint32_t m_flags { 0 };
20 QString m_name;
21
22 protected:
23 explicit MythDRMMode(drmModeModeInfoPtr Mode, int Index);
24
25 private:
26 Q_DISABLE_COPY(MythDRMMode)
27};
28
29#endif
A simple object representing a DRM video mode.
Definition: mythdrmmode.h:11
QString m_name
Definition: mythdrmmode.h:20
unsigned short uint16_t
Definition: iso6937tables.h:3
std::vector< DRMMode > DRMModes
Definition: mythdrmmode.h:8
std::shared_ptr< class MythDRMMode > DRMMode
Definition: mythdrmmode.h:7
#define MUI_PUBLIC
Definition: mythuiexp.h:9
Mode
Definition: synaesthesia.h:23