MythTV  master
Public Slots | Public Member Functions | Private Attributes | List of all members
MythVideoDRM Class Reference

#include <mythvideodrm.h>

Inheritance diagram for MythVideoDRM:
Inheritance graph
[legend]
Collaboration diagram for MythVideoDRM:
Collaboration graph
[legend]

Public Slots

void ColourSpaceUpdated (bool)
 

Public Member Functions

 MythVideoDRM (MythVideoColourSpace *ColourSpace)
 
 ~MythVideoDRM () override
 
bool IsValid () const
 
bool RenderFrame (AVDRMFrameDescriptor *DRMDesc, MythVideoFrame *Frame)
 

Private Attributes

bool m_valid { false }
 
MythDRMPtr m_device { nullptr }
 
DRMPlane m_videoPlane { nullptr }
 
QRect m_lastSrc
 
QRect m_lastDst
 
QMap< AVDRMFrameDescriptor *, DRMHandlem_handles
 
MythVideoColourSpacem_colourSpace { nullptr }
 

Detailed Description

Definition at line 14 of file mythvideodrm.h.

Constructor & Destructor Documentation

◆ MythVideoDRM()

MythVideoDRM::MythVideoDRM ( MythVideoColourSpace ColourSpace)
explicit

Definition at line 20 of file mythvideodrm.cpp.

◆ ~MythVideoDRM()

MythVideoDRM::~MythVideoDRM ( )
override

Definition at line 65 of file mythvideodrm.cpp.

Member Function Documentation

◆ IsValid()

bool MythVideoDRM::IsValid ( ) const
inline

Definition at line 22 of file mythvideodrm.h.

◆ RenderFrame()

bool MythVideoDRM::RenderFrame ( AVDRMFrameDescriptor *  DRMDesc,
MythVideoFrame Frame 
)

Definition at line 99 of file mythvideodrm.cpp.

◆ ColourSpaceUpdated

void MythVideoDRM::ColourSpaceUpdated ( bool  )
slot

Definition at line 77 of file mythvideodrm.cpp.

Referenced by MythVideoDRM().

Member Data Documentation

◆ m_valid

bool MythVideoDRM::m_valid { false }
private

Definition at line 29 of file mythvideodrm.h.

Referenced by IsValid(), MythVideoDRM(), and RenderFrame().

◆ m_device

MythDRMPtr MythVideoDRM::m_device { nullptr }
private

Definition at line 30 of file mythvideodrm.h.

Referenced by ColourSpaceUpdated(), MythVideoDRM(), and RenderFrame().

◆ m_videoPlane

DRMPlane MythVideoDRM::m_videoPlane { nullptr }
private

Definition at line 31 of file mythvideodrm.h.

Referenced by ColourSpaceUpdated(), MythVideoDRM(), and RenderFrame().

◆ m_lastSrc

QRect MythVideoDRM::m_lastSrc
private

Definition at line 32 of file mythvideodrm.h.

Referenced by RenderFrame().

◆ m_lastDst

QRect MythVideoDRM::m_lastDst
private

Definition at line 33 of file mythvideodrm.h.

Referenced by RenderFrame().

◆ m_handles

QMap<AVDRMFrameDescriptor*,DRMHandle> MythVideoDRM::m_handles
private

Definition at line 34 of file mythvideodrm.h.

Referenced by RenderFrame().

◆ m_colourSpace

MythVideoColourSpace* MythVideoDRM::m_colourSpace { nullptr }
private

Definition at line 35 of file mythvideodrm.h.

Referenced by ColourSpaceUpdated(), MythVideoDRM(), and ~MythVideoDRM().


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