FFmpeg
Loading...
Searching...
No Matches
load_helper.c File Reference
#include "config.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/cuda_check.h"
#include "libavutil/mem.h"
#include "load_helper.h"

Go to the source code of this file.

Macros

#define CHECK_CU(x)
 

Functions

int ff_cuda_load_module (void *avctx, AVCUDADeviceContext *hwctx, CUmodule *cu_module, const unsigned char *data, const unsigned int length)
 Loads a CUDA module and applies any decompression, if necessary.
 

Macro Definition Documentation

◆ CHECK_CU

#define CHECK_CU ( x)
Value:
FF_CUDA_CHECK_DL(avctx, cu, x)
#define FF_CUDA_CHECK_DL(avclass, cudl, x)
Convenience wrapper for ff_cuda_check when dynamically loading cuda symbols.
Definition cuda_check.h:65

Definition at line 32 of file load_helper.c.

Referenced by ff_cuda_load_module().

Function Documentation

◆ ff_cuda_load_module()

int ff_cuda_load_module ( void * avctx,
AVCUDADeviceContext * hwctx,
CUmodule * cu_module,
const unsigned char * data,
const unsigned int length )