Go to the documentation of this file.
5 #if defined (USING_DRM) && defined (USING_QTPRIVATEHEADERS)
35 if (std::get<0>(Desc) >
SDR)
37 #if defined (USING_DRM) && defined (USING_QTPRIVATEHEADERS)
43 result = std::shared_ptr<MythHDR>(
new MythHDR(Desc));
48 : m_supportedTypes(std::
get<0>(Desc)),
49 m_minLuminance(std::
get<1>(Desc)),
50 m_maxAvgLuminance(std::
get<2>(Desc)),
51 m_maxLuminance(std::
get<3>(Desc))
67 if (Type &
HDR10)
return QObject::tr(
"HDR10");
68 if (Type &
HLG)
return QObject::tr(
"Hybrid Log-Gamma");
69 return QObject::tr(
"Unknown");
77 if (res.empty()) res << QObject::tr(
"None");
std::shared_ptr< class MythHDR > MythHDRPtr
bool IsControllable() const
MythHDR(const MythHDRDesc &Desc)
static MythHDRPtr Create(class MythDisplay *MDisplay, const MythHDRDesc &Desc)
std::tuple< HDRTypes, double, double, double > MythHDRDesc
QStringList TypesToString() const
static QString TypeToString(HDRType Type)
HDRTypes m_supportedTypes
double GetMaxLuminance() const
static MythHDRPtr Create(class MythDisplay *MDisplay, const MythHDRDesc &Desc)