MythTV  master
Macros | Functions | Variables
mythegldmabuf.cpp File Reference
#include "libmythui/opengl/mythrenderopengl.h"
#include "fourcc.h"
#include "mythavutil.h"
#include "opengl/mythvideotextureopengl.h"
#include "opengl/mythegldmabuf.h"
#include "opengl/mythegldefs.h"
#include "libavutil/hwcontext_drm.h"
Include dependency graph for mythegldmabuf.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("EGLDMABUF: ")
 

Functions

static void DebugDRMFrame (AVDRMFrameDescriptor *Desc)
 
static constexpr uint32_t MKTAG2 (uint8_t a, uint8_t b, uint8_t c, uint8_t d)
 

Variables

static constexpr uint32_t DRM_FORMAT_R8 { MKTAG2('R', '8', ' ', ' ') }
 
static constexpr uint32_t DRM_FORMAT_GR88 { MKTAG2('G', 'R', '8', '8') }
 
static constexpr uint32_t DRM_FORMAT_R16 { MKTAG2('R', '1', '6', ' ') }
 
static constexpr uint32_t DRM_FORMAT_GR32 { MKTAG2('G', 'R', '3', '2') }
 
static constexpr uint32_t DRM_FORMAT_NV12 { MKTAG2('N', 'V', '1', '2') }
 
static constexpr uint32_t DRM_FORMAT_NV21 { MKTAG2('N', 'V', '2', '1') }
 
static constexpr uint32_t DRM_FORMAT_YUV420 { MKTAG2('Y', 'U', '1', '2') }
 
static constexpr uint32_t DRM_FORMAT_YVU420 { MKTAG2('Y', 'V', '1', '2') }
 
static constexpr uint32_t DRM_FORMAT_P010 { MKTAG2('P', '0', '1', '0') }
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("EGLDMABUF: ")

Definition at line 15 of file mythegldmabuf.cpp.

Function Documentation

◆ DebugDRMFrame()

static void DebugDRMFrame ( AVDRMFrameDescriptor *  Desc)
inlinestatic

Definition at line 35 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateTextures().

◆ MKTAG2()

static constexpr uint32_t MKTAG2 ( uint8_t  a,
uint8_t  b,
uint8_t  c,
uint8_t  d 
)
staticconstexpr

Definition at line 242 of file mythegldmabuf.cpp.

Variable Documentation

◆ DRM_FORMAT_R8

constexpr uint32_t DRM_FORMAT_R8 { MKTAG2('R', '8', ' ', ' ') }
staticconstexpr

Definition at line 247 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateSeparate2().

◆ DRM_FORMAT_GR88

constexpr uint32_t DRM_FORMAT_GR88 { MKTAG2('G', 'R', '8', '8') }
staticconstexpr

Definition at line 248 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateSeparate2().

◆ DRM_FORMAT_R16

constexpr uint32_t DRM_FORMAT_R16 { MKTAG2('R', '1', '6', ' ') }
staticconstexpr

Definition at line 249 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateSeparate2().

◆ DRM_FORMAT_GR32

constexpr uint32_t DRM_FORMAT_GR32 { MKTAG2('G', 'R', '3', '2') }
staticconstexpr

Definition at line 250 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateSeparate2().

◆ DRM_FORMAT_NV12

constexpr uint32_t DRM_FORMAT_NV12 { MKTAG2('N', 'V', '1', '2') }
staticconstexpr

◆ DRM_FORMAT_NV21

constexpr uint32_t DRM_FORMAT_NV21 { MKTAG2('N', 'V', '2', '1') }
staticconstexpr

◆ DRM_FORMAT_YUV420

constexpr uint32_t DRM_FORMAT_YUV420 { MKTAG2('Y', 'U', '1', '2') }
staticconstexpr

Definition at line 253 of file mythegldmabuf.cpp.

Referenced by MythDRMPlane::FormatIsVideo().

◆ DRM_FORMAT_YVU420

constexpr uint32_t DRM_FORMAT_YVU420 { MKTAG2('Y', 'V', '1', '2') }
staticconstexpr

Definition at line 254 of file mythegldmabuf.cpp.

Referenced by MythDRMPlane::FormatIsVideo().

◆ DRM_FORMAT_P010

constexpr uint32_t DRM_FORMAT_P010 { MKTAG2('P', '0', '1', '0') }
staticconstexpr

Definition at line 255 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateSeparate2().