MythTV  master
mythhdrvideometadata.h
Go to the documentation of this file.
1 #ifndef MYTHHDRVIDEOMETADATA_H
2 #define MYTHHDRVIDEOMETADATA_H
3 
4 // MythTV
5 #include "mythhdr.h"
6 
7 using MythHDRVideoPtr = std::shared_ptr<class MythHDRVideoMetadata>;
8 
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:46
MythHDRMetadata
Encapsulates HDR metadata conformant with Static Metadata Type 1 per CTA-861-G Final.
Definition: mythhdr.h:15
Frame
Definition: zmdefines.h:93
MythHDRVideoMetadata::Update
void Update(const struct AVMasteringDisplayMetadata *Display, const struct AVContentLightMetadata *Light)
Definition: mythhdrvideometadata.cpp:26
MythHDRVideoMetadata::MythHDRVideoMetadata
MythHDRVideoMetadata()=default
AVFrame
struct AVFrame AVFrame
Definition: BorderDetector.h:15
MythHDRVideoPtr
std::shared_ptr< class MythHDRVideoMetadata > MythHDRVideoPtr
Definition: mythframe.h:86
mythhdr.h
MythVideoFrame
Definition: mythframe.h:88
MythHDRVideoMetadata
A wrapper around static HDR metadata.
Definition: mythhdrvideometadata.h:9