MythTV  master
Macros | Functions
mythegldmabuf.cpp File Reference
#include "fourcc.h"
#include "opengl/mythrenderopengl.h"
#include "mythavutil.h"
#include "mythvideotexture.h"
#include "mythegldmabuf.h"
#include "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: ")
 
#define MKTAG2(a, b, c, d)   ((a) | ((b) << 8) | ((c) << 16) | (static_cast<unsigned>(d) << 24))
 
#define DRM_FORMAT_R8   MKTAG2('R', '8', ' ', ' ')
 
#define DRM_FORMAT_GR88   MKTAG2('G', 'R', '8', '8')
 
#define DRM_FORMAT_R16   MKTAG2('R', '1', '6', ' ')
 
#define DRM_FORMAT_GR32   MKTAG2('G', 'R', '3', '2')
 
#define DRM_FORMAT_NV12   MKTAG2('N', 'V', '1', '2')
 
#define DRM_FORMAT_NV21   MKTAG2('N', 'V', '2', '1')
 
#define DRM_FORMAT_YUV420   MKTAG2('Y', 'U', '1', '2')
 
#define DRM_FORMAT_YVU420   MKTAG2('Y', 'V', '1', '2')
 
#define DRM_FORMAT_P010   MKTAG2('P', '0', '1', '0')
 

Functions

static void DebugDRMFrame (AVDRMFrameDescriptor *Desc)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("EGLDMABUF: ")

Definition at line 14 of file mythegldmabuf.cpp.

◆ MKTAG2

#define MKTAG2 (   a,
  b,
  c,
  d 
)    ((a) | ((b) << 8) | ((c) << 16) | (static_cast<unsigned>(d) << 24))

Definition at line 243 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_R8

#define DRM_FORMAT_R8   MKTAG2('R', '8', ' ', ' ')

Definition at line 244 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_GR88

#define DRM_FORMAT_GR88   MKTAG2('G', 'R', '8', '8')

Definition at line 245 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_R16

#define DRM_FORMAT_R16   MKTAG2('R', '1', '6', ' ')

Definition at line 246 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_GR32

#define DRM_FORMAT_GR32   MKTAG2('G', 'R', '3', '2')

Definition at line 247 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_NV12

#define DRM_FORMAT_NV12   MKTAG2('N', 'V', '1', '2')

Definition at line 248 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_NV21

#define DRM_FORMAT_NV21   MKTAG2('N', 'V', '2', '1')

Definition at line 249 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_YUV420

#define DRM_FORMAT_YUV420   MKTAG2('Y', 'U', '1', '2')

Definition at line 250 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_YVU420

#define DRM_FORMAT_YVU420   MKTAG2('Y', 'V', '1', '2')

Definition at line 251 of file mythegldmabuf.cpp.

◆ DRM_FORMAT_P010

#define DRM_FORMAT_P010   MKTAG2('P', '0', '1', '0')

Definition at line 252 of file mythegldmabuf.cpp.

Function Documentation

◆ DebugDRMFrame()

static void DebugDRMFrame ( AVDRMFrameDescriptor *  Desc)
inlinestatic

Definition at line 36 of file mythegldmabuf.cpp.

Referenced by MythEGLDMABUF::CreateTextures().