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

A simple wrapper around a DRM CRTC object. More...

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

Collaboration diagram for MythDRMCrtc:
[legend]

Static Public Member Functions

static DRMCrtc Create (int FD, uint32_t Id, int Index=-1)
 
static DRMCrtc GetCrtc (const DRMCrtcs &Crtcs, uint32_t Id)
 
static DRMCrtcs GetCrtcs (int FD)
 

Public Attributes

int m_index { -1 }
 
uint32_t m_id { 0 }
 
uint32_t m_fbId { 0 }
 
DRMMode m_mode { nullptr }
 
uint32_t m_x { 0 }
 
uint32_t m_y { 0 }
 
uint32_t m_width { 0 }
 
uint32_t m_height { 0 }
 
DRMProps m_properties
 

Protected Member Functions

 MythDRMCrtc (int FD, uint32_t Id, int Index)
 

Static Protected Member Functions

static int RetrieveCRTCIndex (int FD, uint32_t Id)
 

Detailed Description

A simple wrapper around a DRM CRTC object.

The full list of available CRTCs can be retrieved with GetCrtcs. An individual CRTC can be retrieved from a given list with GetCrtc.

Definition at line 11 of file mythdrmcrtc.h.

Constructor & Destructor Documentation

◆ MythDRMCrtc()

MythDRMCrtc::MythDRMCrtc ( int  FD,
uint32_t  Id,
int  Index 
)
protected

Definition at line 39 of file mythdrmcrtc.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

DRMCrtc MythDRMCrtc::Create ( int  FD,
uint32_t  Id,
int  Index = -1 
)
static

Definition at line 10 of file mythdrmcrtc.cpp.

Referenced by GetCrtcs().

◆ GetCrtc()

DRMCrtc MythDRMCrtc::GetCrtc ( const DRMCrtcs Crtcs,
uint32_t  Id 
)
static

Definition at line 19 of file mythdrmcrtc.cpp.

Referenced by MythDRMDevice::Initialise().

◆ GetCrtcs()

DRMCrtcs MythDRMCrtc::GetCrtcs ( int  FD)
static

Definition at line 27 of file mythdrmcrtc.cpp.

Referenced by MythDRMDevice::Load().

◆ RetrieveCRTCIndex()

int MythDRMCrtc::RetrieveCRTCIndex ( int  FD,
uint32_t  Id 
)
staticprotected

Definition at line 60 of file mythdrmcrtc.cpp.

Referenced by MythDRMCrtc().

Member Data Documentation

◆ m_index

int MythDRMCrtc::m_index { -1 }

Definition at line 18 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_id

uint32_t MythDRMCrtc::m_id { 0 }

Definition at line 19 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_fbId

uint32_t MythDRMCrtc::m_fbId { 0 }

Definition at line 20 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_mode

DRMMode MythDRMCrtc::m_mode { nullptr }

Definition at line 21 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_x

uint32_t MythDRMCrtc::m_x { 0 }

Definition at line 22 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_y

uint32_t MythDRMCrtc::m_y { 0 }

Definition at line 23 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_width

uint32_t MythDRMCrtc::m_width { 0 }

Definition at line 24 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_height

uint32_t MythDRMCrtc::m_height { 0 }

Definition at line 25 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().

◆ m_properties

DRMProps MythDRMCrtc::m_properties

Definition at line 26 of file mythdrmcrtc.h.

Referenced by MythDRMCrtc().


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