MythTV
master
mythtv
libs
libmythtv
mythhdrvideometadata.h
Go to the documentation of this file.
1
#ifndef MYTHHDRVIDEOMETADATA_H
2
#define MYTHHDRVIDEOMETADATA_H
3
4
// MythTV
5
#include "
libmythui/mythhdr.h
"
6
7
using
MythHDRVideoPtr
= std::shared_ptr<class MythHDRVideoMetadata>;
8
9
class
MythHDRVideoMetadata
:
public
MythHDRMetadata
10
{
11
public
:
12
static
void
Populate
(
class
MythVideoFrame
*
Frame
,
struct
AVFrame
* AvFrame);
13
MythHDRVideoMetadata
() =
default
;
14
explicit
MythHDRVideoMetadata
(
const
MythHDRVideoMetadata
& Other) =
default
;
15
16
protected
:
17
void
Update
(
const
struct
AVMasteringDisplayMetadata* Display,
18
const
struct
AVContentLightMetadata* Light);
19
};
20
21
#endif
MythHDRVideoMetadata::Populate
static void Populate(class MythVideoFrame *Frame, struct AVFrame *AvFrame)
Create, update or destroy HDR metadata for the given MythVideoFrame.
Definition:
mythhdrvideometadata.cpp:47
MythHDRMetadata
Encapsulates HDR metadata conformant with Static Metadata Type 1 per CTA-861-G Final.
Definition:
mythhdr.h:15
Frame
Definition:
zmdefines.h:102
MythHDRVideoMetadata::Update
void Update(const struct AVMasteringDisplayMetadata *Display, const struct AVContentLightMetadata *Light)
Definition:
mythhdrvideometadata.cpp:27
MythHDRVideoMetadata::MythHDRVideoMetadata
MythHDRVideoMetadata()=default
AVFrame
struct AVFrame AVFrame
Definition:
BorderDetector.h:15
MythHDRVideoPtr
std::shared_ptr< class MythHDRVideoMetadata > MythHDRVideoPtr
Definition:
mythframe.h:85
mythhdr.h
MythVideoFrame
Definition:
mythframe.h:87
MythHDRVideoMetadata
A wrapper around static HDR metadata.
Definition:
mythhdrvideometadata.h:9
Generated on Wed Feb 26 2025 03:17:58 for MythTV by
1.8.17