MythTV master
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
7using MythHDRVideoPtr = std::shared_ptr<class MythHDRVideoMetadata>;
8
10{
11 public:
12 static void Populate(class MythVideoFrame* Frame, struct AVFrame* AvFrame);
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
AVFrame AVFrame
Encapsulates HDR metadata conformant with Static Metadata Type 1 per CTA-861-G Final.
Definition: mythhdr.h:16
A wrapper around static HDR metadata.
MythHDRVideoMetadata()=default
void Update(const struct AVMasteringDisplayMetadata *Display, const struct AVContentLightMetadata *Light)
MythHDRVideoMetadata(const MythHDRVideoMetadata &Other)=default
static void Populate(class MythVideoFrame *Frame, struct AVFrame *AvFrame)
Create, update or destroy HDR metadata for the given MythVideoFrame.
std::shared_ptr< class MythHDRVideoMetadata > MythHDRVideoPtr
Definition: mythframe.h:85