1#include "libmythbase/mythconfig.h"
7#if CONFIG_DRM && CONFIG_QTPRIVATEHEADERS
37 if (std::get<0>(Desc) >
SDR)
39#if CONFIG_DRM && CONFIG_QTPRIVATEHEADERS
45 result = std::shared_ptr<MythHDR>(
new MythHDR(Desc));
50 : m_supportedTypes(
std::
get<0>(Desc)),
51 m_minLuminance(
std::
get<1>(Desc)),
52 m_maxAvgLuminance(
std::
get<2>(Desc)),
53 m_maxLuminance(
std::
get<3>(Desc))
69 if (Type &
HDR10)
return QObject::tr(
"HDR10");
70 if (Type &
HLG)
return QObject::tr(
"Hybrid Log-Gamma");
71 return QObject::tr(
"Unknown");
79 if (res.empty()) res << QObject::tr(
"None");
static MythHDRPtr Create(class MythDisplay *MDisplay, const MythHDRDesc &Desc)
double GetMaxLuminance() const
QStringList TypesToString() const
static QString TypeToString(HDRType Type)
bool IsControllable() const
HDRTypes m_supportedTypes
static MythHDRPtr Create(class MythDisplay *MDisplay, const MythHDRDesc &Desc)
std::tuple< HDRTypes, double, double, double > MythHDRDesc
MythHDR(const MythHDRDesc &Desc)
std::shared_ptr< class MythHDR > MythHDRPtr