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

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

Inheritance diagram for MythDRMHDR:
[legend]
Collaboration diagram for MythDRMHDR:
[legend]

Public Member Functions

 ~MythDRMHDR () override
 
void SetHDRMetadata (HDRType Type, const MythHDRMetaPtr &Metadata) override
 
- Public Member Functions inherited from MythHDR
virtual ~MythHDR ()=default
 
QStringList TypesToString () const
 
bool IsControllable () const
 
double GetMaxLuminance () const
 

Static Public Member Functions

static MythHDRPtr Create (class MythDisplay *MDisplay, const MythHDRDesc &Desc)
 
- Static Public Member Functions inherited from MythHDR
static MythHDRPtr Create (class MythDisplay *MDisplay, const MythHDRDesc &Desc)
 
static QString TypeToString (HDRType Type)
 
static QStringList TypesToString (HDRTypes Types)
 

Protected Member Functions

 MythDRMHDR (const MythDRMPtr &Device, DRMProp HDRProp, const MythHDRDesc &Desc)
 
- Protected Member Functions inherited from MythHDR
 MythHDR (const MythHDRDesc &Desc)
 

Private Member Functions

void Cleanup ()
 

Private Attributes

MythDRMPtr m_device { nullptr }
 
DRMConn m_connector { nullptr }
 
DRMProp m_hdrProp { nullptr }
 
DRMCrtc m_crtc { nullptr }
 
DRMProp m_activeProp { nullptr }
 
uint32_t m_hdrBlob { 0 }
 

Additional Inherited Members

- Public Types inherited from MythHDR
enum  HDRType : std::uint8_t { SDR = 0x00, HDR10 = 0x01, HLG = 0x02 }
 
using MythHDRDesc = std::tuple< HDRTypes, double, double, double >
 
- Public Attributes inherited from MythHDR
HDRType m_currentType { SDR }
 
HDRTypes m_supportedTypes { SDR }
 
- Protected Attributes inherited from MythHDR
bool m_controllable { false }
 
double m_minLuminance { 0.0 }
 
double m_maxAvgLuminance { 0.0 }
 
double m_maxLuminance { 0.0 }
 

Detailed Description

Definition at line 8 of file mythdrmhdr.h.

Constructor & Destructor Documentation

◆ ~MythDRMHDR()

MythDRMHDR::~MythDRMHDR ( )
override

Definition at line 83 of file mythdrmhdr.cpp.

◆ MythDRMHDR()

MythDRMHDR::MythDRMHDR ( const MythDRMPtr Device,
DRMProp  HDRProp,
const MythHDRDesc Desc 
)
protected

Definition at line 72 of file mythdrmhdr.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

MythHDRPtr MythDRMHDR::Create ( class MythDisplay MDisplay,
const MythHDRDesc Desc 
)
static

Definition at line 52 of file mythdrmhdr.cpp.

Referenced by MythHDR::Create().

◆ SetHDRMetadata()

void MythDRMHDR::SetHDRMetadata ( HDRType  Type,
const MythHDRMetaPtr Metadata 
)
overridevirtual

Reimplemented from MythHDR.

Definition at line 108 of file mythdrmhdr.cpp.

◆ Cleanup()

void MythDRMHDR::Cleanup ( )
private

Definition at line 88 of file mythdrmhdr.cpp.

Referenced by SetHDRMetadata(), and ~MythDRMHDR().

Member Data Documentation

◆ m_device

MythDRMPtr MythDRMHDR::m_device { nullptr }
private

Definition at line 20 of file mythdrmhdr.h.

Referenced by Cleanup(), and SetHDRMetadata().

◆ m_connector

DRMConn MythDRMHDR::m_connector { nullptr }
private

Definition at line 21 of file mythdrmhdr.h.

Referenced by SetHDRMetadata().

◆ m_hdrProp

DRMProp MythDRMHDR::m_hdrProp { nullptr }
private

Definition at line 22 of file mythdrmhdr.h.

Referenced by SetHDRMetadata().

◆ m_crtc

DRMCrtc MythDRMHDR::m_crtc { nullptr }
private

Definition at line 23 of file mythdrmhdr.h.

Referenced by MythDRMHDR(), and SetHDRMetadata().

◆ m_activeProp

DRMProp MythDRMHDR::m_activeProp { nullptr }
private

Definition at line 24 of file mythdrmhdr.h.

Referenced by MythDRMHDR(), and SetHDRMetadata().

◆ m_hdrBlob

uint32_t MythDRMHDR::m_hdrBlob { 0 }
private

Definition at line 25 of file mythdrmhdr.h.

Referenced by Cleanup(), and SetHDRMetadata().


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