vdr-plugin-softhddevice-drm-gles 1.6.2
cHdrMetadata Class Reference

HDR Metadata. More...

#include <drmhdr.h>

Public Member Functions

 cHdrMetadata (cVideoRender *render)
 
int Build (struct hdr_output_metadata *, int, int, AVFrameSideData *, AVFrameSideData *)
 Build an HDR static metadata blob.
 
int GetColorPrimaries (void)
 
int GetColorTrc (void)
 

Private Attributes

cVideoRenderm_pRender
 pointer to cVideoRender object
 
int m_colorPrimaries = -1
 saved color primaries
 
int m_colorTrc = -1
 saved transfer charateristics
 
AVMasteringDisplayMetadata m_mdMetadata = { }
 saved mastering display metadata fron AVFrame sidedata
 
AVContentLightMetadata m_clMetadata = { }
 saved content light metadata fron AVFrame sidedata
 
struct colorspace m_hdr10
 hdr colorspace
 

Detailed Description

HDR Metadata.

Definition at line 105 of file drmhdr.h.

Constructor & Destructor Documentation

◆ cHdrMetadata()

cHdrMetadata::cHdrMetadata ( cVideoRender render)
inline

Definition at line 107 of file drmhdr.h.

Member Function Documentation

◆ GetColorPrimaries()

int cHdrMetadata::GetColorPrimaries ( void  )
inline

Definition at line 109 of file drmhdr.h.

References m_colorPrimaries.

Referenced by cVideoRender::SetColorSpace().

◆ GetColorTrc()

int cHdrMetadata::GetColorTrc ( void  )
inline

Definition at line 110 of file drmhdr.h.

References m_colorTrc.

Member Data Documentation

◆ m_clMetadata

AVContentLightMetadata cHdrMetadata::m_clMetadata = { }
private

saved content light metadata fron AVFrame sidedata

Definition at line 117 of file drmhdr.h.

Referenced by Build().

◆ m_colorPrimaries

int cHdrMetadata::m_colorPrimaries = -1
private

saved color primaries

Definition at line 114 of file drmhdr.h.

Referenced by Build(), and GetColorPrimaries().

◆ m_colorTrc

int cHdrMetadata::m_colorTrc = -1
private

saved transfer charateristics

Definition at line 115 of file drmhdr.h.

Referenced by Build(), and GetColorTrc().

◆ m_hdr10

struct colorspace cHdrMetadata::m_hdr10
private

hdr colorspace

Definition at line 118 of file drmhdr.h.

Referenced by Build().

◆ m_mdMetadata

AVMasteringDisplayMetadata cHdrMetadata::m_mdMetadata = { }
private

saved mastering display metadata fron AVFrame sidedata

Definition at line 116 of file drmhdr.h.

Referenced by Build().

◆ m_pRender

cVideoRender* cHdrMetadata::m_pRender
private

pointer to cVideoRender object

Definition at line 113 of file drmhdr.h.

Referenced by Build().


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