MythTV
master
|
A wrapper around a DRM plane object. More...
#include <libmythui/platforms/drm/mythdrmplane.h>
Public Member Functions | |
QString | Description () const |
Static Public Member Functions | |
static DRMPlane | Create (int FD, uint32_t Id, uint32_t Index) |
static DRMPlanes | GetPlanes (int FD, int CRTCFilter=-1) |
static QString | PlaneTypeToString (uint64_t Type) |
static DRMPlanes | FilterPrimaryPlanes (const DRMPlanes &Planes) |
static DRMPlanes | FilterOverlayPlanes (const DRMPlanes &Planes) |
static QString | FormatToString (uint32_t Format) |
static QString | FormatsToString (const FOURCCVec &Formats) |
static bool | FormatIsVideo (uint32_t Format) |
static bool | HasOverlayFormat (const FOURCCVec &Formats) |
Enusure list of supplied formats contains a format that is suitable for OpenGL/Vulkan. More... | |
static uint32_t | GetAlphaFormat (const FOURCCVec &Formats) |
Public Attributes | |
uint32_t | m_id { 0 } |
uint32_t | m_index { 0 } |
uint64_t | m_type { DRM_PLANE_TYPE_PRIMARY } |
uint32_t | m_possibleCrtcs { 0 } |
uint32_t | m_fbId { 0 } |
uint32_t | m_crtcId { 0 } |
DRMProps | m_properties |
DRMProp | m_fbIdProp { nullptr } |
DRMProp | m_crtcIdProp { nullptr } |
DRMProp | m_srcXProp { nullptr } |
DRMProp | m_srcYProp { nullptr } |
DRMProp | m_srcWProp { nullptr } |
DRMProp | m_srcHProp { nullptr } |
DRMProp | m_crtcXProp { nullptr } |
DRMProp | m_crtcYProp { nullptr } |
DRMProp | m_crtcWProp { nullptr } |
DRMProp | m_crtcHProp { nullptr } |
FOURCCVec | m_formats |
FOURCCVec | m_videoFormats |
Protected Member Functions | |
MythDRMPlane (int FD, uint32_t Id, uint32_t Index) | |
A wrapper around a DRM plane object.
The full list of available planes can be retrieved with GetPlanes.
Definition at line 53 of file mythdrmplane.h.
|
protected |
Definition at line 29 of file mythdrmplane.cpp.
Referenced by Create().
|
static |
Definition at line 20 of file mythdrmplane.cpp.
Referenced by GetPlanes().
|
static |
Definition at line 80 of file mythdrmplane.cpp.
|
static |
Definition at line 12 of file mythdrmplane.cpp.
Referenced by Description().
Definition at line 104 of file mythdrmplane.cpp.
Definition at line 114 of file mythdrmplane.cpp.
|
static |
Definition at line 124 of file mythdrmplane.cpp.
Referenced by MythDRMFramebuffer::Description(), and FormatsToString().
|
static |
Definition at line 151 of file mythdrmplane.cpp.
Referenced by Description().
|
static |
Definition at line 159 of file mythdrmplane.cpp.
Referenced by MythDRMPlane().
Enusure list of supplied formats contains a format that is suitable for OpenGL/Vulkan.
Definition at line 181 of file mythdrmplane.cpp.
Referenced by FilterOverlayPlanes().
|
static |
Definition at line 199 of file mythdrmplane.cpp.
QString MythDRMPlane::Description | ( | ) | const |
Definition at line 73 of file mythdrmplane.cpp.
uint32_t MythDRMPlane::m_id { 0 } |
Definition at line 69 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
uint32_t MythDRMPlane::m_index { 0 } |
Definition at line 70 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
uint64_t MythDRMPlane::m_type { DRM_PLANE_TYPE_PRIMARY } |
Definition at line 71 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
uint32_t MythDRMPlane::m_possibleCrtcs { 0 } |
Definition at line 72 of file mythdrmplane.h.
Referenced by MythDRMPlane().
uint32_t MythDRMPlane::m_fbId { 0 } |
Definition at line 73 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
uint32_t MythDRMPlane::m_crtcId { 0 } |
Definition at line 74 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
DRMProps MythDRMPlane::m_properties |
Definition at line 75 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_fbIdProp { nullptr } |
Definition at line 77 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_crtcIdProp { nullptr } |
Definition at line 78 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_srcXProp { nullptr } |
Definition at line 79 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_srcYProp { nullptr } |
Definition at line 80 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_srcWProp { nullptr } |
Definition at line 81 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_srcHProp { nullptr } |
Definition at line 82 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_crtcXProp { nullptr } |
Definition at line 83 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_crtcYProp { nullptr } |
Definition at line 84 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_crtcWProp { nullptr } |
Definition at line 85 of file mythdrmplane.h.
Referenced by MythDRMPlane().
DRMProp MythDRMPlane::m_crtcHProp { nullptr } |
Definition at line 86 of file mythdrmplane.h.
Referenced by MythDRMPlane().
FOURCCVec MythDRMPlane::m_formats |
Definition at line 88 of file mythdrmplane.h.
Referenced by Description(), and MythDRMPlane().
FOURCCVec MythDRMPlane::m_videoFormats |
Definition at line 89 of file mythdrmplane.h.
Referenced by MythDRMPlane().