FFmpeg
Macros | Functions
load_helper.c File Reference
#include "config.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_cuda_internal.h"
#include "libavutil/cuda_check.h"
#include "load_helper.h"

Go to the source code of this file.

Macros

#define CHECK_CU(x)   FF_CUDA_CHECK_DL(avctx, 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 neccesary. More...
 

Macro Definition Documentation

◆ CHECK_CU

#define CHECK_CU (   x)    FF_CUDA_CHECK_DL(avctx, cu, x)

Definition at line 32 of file load_helper.c.

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 
)

Loads a CUDA module and applies any decompression, if neccesary.

Definition at line 34 of file load_helper.c.

Referenced by config_output(), config_props(), cuda_bilateral_load_functions(), cudachromakey_load_functions(), cudacolorspace_load_functions(), cudascale_load_functions(), and overlay_cuda_config_output().