MythTV  master
Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
MythDRMMode Class Reference

A simple object representing a DRM video mode. More...

#include <libmythui/platforms/drm/mythdrmmode.h>

Collaboration diagram for MythDRMMode:
[legend]

Static Public Member Functions

static DRMMode Create (drmModeModeInfoPtr Mode, int Index)
 

Public Attributes

int m_index { 0 }
 
double m_rate { 0.0 }
 
uint16_t m_width { 0 }
 
uint16_t m_height { 0 }
 
uint32_t m_flags { 0 }
 
QString m_name
 

Protected Member Functions

 MythDRMMode (drmModeModeInfoPtr Mode, int Index)
 

Detailed Description

A simple object representing a DRM video mode.

Definition at line 10 of file mythdrmmode.h.

Constructor & Destructor Documentation

◆ MythDRMMode()

MythDRMMode::MythDRMMode ( drmModeModeInfoPtr  Mode,
int  Index 
)
explicitprotected

Definition at line 14 of file mythdrmmode.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

DRMMode MythDRMMode::Create ( drmModeModeInfoPtr  Mode,
int  Index 
)
static

Definition at line 7 of file mythdrmmode.cpp.

Referenced by MythDRMConnector::MythDRMConnector(), and MythDRMCrtc::MythDRMCrtc().

Member Data Documentation

◆ m_index

int MythDRMMode::m_index { 0 }

Definition at line 15 of file mythdrmmode.h.

Referenced by MythDRMMode().

◆ m_rate

double MythDRMMode::m_rate { 0.0 }

Definition at line 16 of file mythdrmmode.h.

Referenced by MythDRMMode().

◆ m_width

uint16_t MythDRMMode::m_width { 0 }

Definition at line 17 of file mythdrmmode.h.

Referenced by MythDRMMode().

◆ m_height

uint16_t MythDRMMode::m_height { 0 }

Definition at line 18 of file mythdrmmode.h.

Referenced by MythDRMMode().

◆ m_flags

uint32_t MythDRMMode::m_flags { 0 }

Definition at line 19 of file mythdrmmode.h.

Referenced by MythDRMMode().

◆ m_name

QString MythDRMMode::m_name

Definition at line 20 of file mythdrmmode.h.

Referenced by MythDRMMode().


The documentation for this class was generated from the following files: