MythTV  master
Macros
mythnvdecinterop.cpp File Reference
#include "mythconfig.h"
#include "mythcorecontext.h"
#include "videocolourspace.h"
#include "mythnvdecinterop.h"
Include dependency graph for mythnvdecinterop.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("NVDECInterop: ")
 
#define CUDA_CHECK(CUDA_FUNCS, CUDA_CALL)
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("NVDECInterop: ")

Definition at line 7 of file mythnvdecinterop.cpp.

◆ CUDA_CHECK

#define CUDA_CHECK (   CUDA_FUNCS,
  CUDA_CALL 
)
Value:
{ \
CUresult res = (CUDA_FUNCS)->CUDA_CALL; \
if (res != CUDA_SUCCESS) { \
const char * desc; \
(CUDA_FUNCS)->cuGetErrorString(res, &desc); \
LOG(VB_GENERAL, LOG_ERR, LOC + QString("CUDA error %1 (%2)").arg(res).arg(desc)); \
} \
}
#define LOC

Definition at line 9 of file mythnvdecinterop.cpp.