MythTV master
Macros | Functions
mythvaapidrminterop.cpp File Reference
#include "opengl/mythvaapidrminterop.h"
#include <va/va_drm.h>
#include <va/va_drmcommon.h>
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythlogging.h"
#include "mythvideocolourspace.h"
#include "fourcc.h"
#include "libavutil/hwcontext_drm.h"
#include <unistd.h>
Include dependency graph for mythvaapidrminterop.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("VAAPIDRM: ")
 
#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_GR1616   MKTAG2('G', 'R', '3', '2')
 

Functions

static void VADRMtoPRIME (VADRMPRIMESurfaceDescriptor *VaDRM, AVDRMFrameDescriptor *Prime)
 

Macro Definition Documentation

◆ DRM_FORMAT_GR1616

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

Definition at line 288 of file mythvaapidrminterop.cpp.

◆ DRM_FORMAT_GR88

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

Definition at line 286 of file mythvaapidrminterop.cpp.

◆ DRM_FORMAT_R16

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

Definition at line 287 of file mythvaapidrminterop.cpp.

◆ DRM_FORMAT_R8

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

Definition at line 285 of file mythvaapidrminterop.cpp.

◆ LOC

#define LOC   QString("VAAPIDRM: ")

Definition at line 21 of file mythvaapidrminterop.cpp.

◆ MKTAG2

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

Definition at line 284 of file mythvaapidrminterop.cpp.

Function Documentation

◆ VADRMtoPRIME()

static void VADRMtoPRIME ( VADRMPRIMESurfaceDescriptor *  VaDRM,
AVDRMFrameDescriptor *  Prime 
)
inlinestatic