MythTV
master
mythtv
libs
libmythui
platforms
drm
mythdrmencoder.h
Go to the documentation of this file.
1
#ifndef MYTHDRMENCODER_H
2
#define MYTHDRMENCODER_H
3
4
// MythTV
5
#include "
libmythui/platforms/drm/mythdrmresources.h
"
6
7
using
DRMEnc
= std::shared_ptr<class MythDRMEncoder>;
8
using
DRMEncs
= std::vector<DRMEnc>;
9
10
class
MUI_PUBLIC
MythDRMEncoder
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
Generated on Wed Feb 26 2025 03:18:03 for MythTV by
1.8.17