MythTV  master
mythdrmencoder.h
Go to the documentation of this file.
1 #ifndef MYTHDRMENCODER_H
2 #define MYTHDRMENCODER_H
3 
4 // MythTV
6 
7 using DRMEnc = std::shared_ptr<class MythDRMEncoder>;
8 using DRMEncs = std::vector<DRMEnc>;
9 
11 {
12  public:
13  static DRMEnc Create(int FD, uint32_t Id);
14  static DRMEnc GetEncoder(const DRMEncs& Encoders, uint32_t Id);
15  static DRMEncs GetEncoders(int FD);
16 
17  uint32_t m_id { 0 };
18  uint32_t m_type { 0 };
19  uint32_t m_crtcId { 0 };
20  uint32_t m_possibleCrtcs { 0 };
21 
22  protected:
23  explicit MythDRMEncoder(int FD, uint32_t Id);
24 
25  private:
26  Q_DISABLE_COPY(MythDRMEncoder)
27 };
28 
29 #endif
DRMEnc
std::shared_ptr< class MythDRMEncoder > DRMEnc
Definition: mythdrmencoder.h:7
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
mythdrmresources.h
MythDRMEncoder
A simple object representing a DRM encoder.
Definition: mythdrmencoder.h:10
DRMEncs
std::vector< DRMEnc > DRMEncs
Definition: mythdrmencoder.h:8
Encoders
std::vector< uint32_t > Encoders
Definition: mythdrmconnector.h:9