MythTV master
mythhdrtracker.h
Go to the documentation of this file.
1#ifndef MYTHHDRTRACKER_H
2#define MYTHHDRTRACKER_H
3
4// MythTV
6
7// Std
8#include <memory>
9
10using HDRTracker = std::shared_ptr<class MythHDRTracker>;
11
13{
14 public:
15 static HDRTracker Create(class MythDisplay* MDisplay);
17 void Update(class MythVideoFrame* Frame);
18
19 protected:
20 explicit MythHDRTracker(MythHDRPtr HDR);
21 void Reset();
22
24 MythHDRPtr m_hdr { nullptr };
25};
26
27#endif
MythHDRPtr m_hdr
MythHDRVideoPtr m_metadata
MythHDRTracker(MythHDRPtr HDR)
void Update(class MythVideoFrame *Frame)
Track changes to the HDR type (EOTF) and request a change when needed.
static HDRTracker Create(class MythDisplay *MDisplay)
Create a tracker instance that looks for changes in the required EOTF.
std::shared_ptr< class MythHDRVideoMetadata > MythHDRVideoPtr
Definition: mythframe.h:85
std::shared_ptr< class MythHDR > MythHDRPtr
Definition: mythhdr.h:30
std::shared_ptr< class MythHDRTracker > HDRTracker