|
MythTV master
|
A wrapper around static HDR metadata. More...
#include <libmythtv/mythhdrvideometadata.h>
Public Member Functions | |
| MythHDRVideoMetadata ()=default | |
| MythHDRVideoMetadata (const MythHDRVideoMetadata &Other)=default | |
Public Member Functions inherited from MythHDRMetadata | |
| MythHDRMetadata ()=default | |
| MythHDRMetadata (const MythHDRMetadata &Other)=default | |
| bool | Equals (MythHDRMetadata *Other) |
Static Public Member Functions | |
| static void | Populate (class MythVideoFrame *Frame, struct AVFrame *AvFrame) |
| Create, update or destroy HDR metadata for the given MythVideoFrame. More... | |
Protected Member Functions | |
| void | Update (const struct AVMasteringDisplayMetadata *Display, const struct AVContentLightMetadata *Light) |
Additional Inherited Members | |
Public Attributes inherited from MythHDRMetadata | |
| MythPrimariesUInt16 | m_displayPrimaries {{{ 0 }}} |
| MythPrimaryUInt16 | m_whitePoint {{ 0 }} |
| uint16_t | m_maxMasteringLuminance { 0 } |
| uint16_t | m_minMasteringLuminance { 0 } |
| uint16_t | m_maxContentLightLevel { 0 } |
| uint16_t | m_maxFrameAverageLightLevel { 0 } |
A wrapper around static HDR metadata.
This class acts as an intermediate format between FFmpeg's HDR metadata structures and the single structure used by the linux kernel. Values are currently scaled/converted as appropriate for those expected by the linux DRM subsystem and may need adjusting for other platforms/APIs.
Definition at line 9 of file mythhdrvideometadata.h.
|
default |
|
explicitdefault |
|
static |
Create, update or destroy HDR metadata for the given MythVideoFrame.
Definition at line 47 of file mythhdrvideometadata.cpp.
Referenced by AvFormatDecoder::ProcessVideoFrame().
|
protected |
Definition at line 27 of file mythhdrvideometadata.cpp.