MythTV master
mythdrmhdr.h
Go to the documentation of this file.
1#ifndef MYTHDRMHDR_H
2#define MYTHDRMHDR_H
3
4// MythTV
5#include "mythhdr.h"
7
8class MythDRMHDR : public MythHDR
9{
10 public:
11 static MythHDRPtr Create(class MythDisplay* MDisplay, const MythHDRDesc& Desc);
12 ~MythDRMHDR() override;
13 void SetHDRMetadata(HDRType Type, const MythHDRMetaPtr& Metadata) override;
14
15 protected:
16 MythDRMHDR(const MythDRMPtr& Device, DRMProp HDRProp, const MythHDRDesc& Desc);
17
18 private:
19 void Cleanup();
20 MythDRMPtr m_device { nullptr };
21 DRMConn m_connector { nullptr };
22 DRMProp m_hdrProp { nullptr };
23 DRMCrtc m_crtc { nullptr };
24 DRMProp m_activeProp { nullptr };
25 uint32_t m_hdrBlob { 0 };
26};
27
28#endif
A device containing images (ie. USB stick, CD, storage group etc)
void SetHDRMetadata(HDRType Type, const MythHDRMetaPtr &Metadata) override
Definition: mythdrmhdr.cpp:108
void Cleanup()
Definition: mythdrmhdr.cpp:88
DRMCrtc m_crtc
Definition: mythdrmhdr.h:23
DRMProp m_hdrProp
Definition: mythdrmhdr.h:22
DRMConn m_connector
Definition: mythdrmhdr.h:21
static MythHDRPtr Create(class MythDisplay *MDisplay, const MythHDRDesc &Desc)
Definition: mythdrmhdr.cpp:52
~MythDRMHDR() override
Definition: mythdrmhdr.cpp:83
DRMProp m_activeProp
Definition: mythdrmhdr.h:24
MythDRMHDR(const MythDRMPtr &Device, DRMProp HDRProp, const MythHDRDesc &Desc)
Definition: mythdrmhdr.cpp:72
MythDRMPtr m_device
Definition: mythdrmhdr.h:20
uint32_t m_hdrBlob
Definition: mythdrmhdr.h:25
HDRType
Definition: mythhdr.h:37
std::tuple< HDRTypes, double, double, double > MythHDRDesc
Definition: mythhdr.h:45
std::shared_ptr< class MythDRMConnector > DRMConn
std::shared_ptr< class MythDRMCrtc > DRMCrtc
Definition: mythdrmcrtc.h:8
std::shared_ptr< class MythDRMDevice > MythDRMPtr
Definition: mythdrmdevice.h:19
std::shared_ptr< class MythDRMProperty > DRMProp
std::shared_ptr< class MythHDR > MythHDRPtr
Definition: mythhdr.h:30
std::shared_ptr< class MythHDRMetadata > MythHDRMetaPtr
Definition: mythhdr.h:14