FFmpeg
|
#include "compat/cuda/dynlink_cuda.h"
#include "compat/cuda/dynlink_nvcuvid.h"
#include "compat/nvenc/nvEncodeAPI.h"
#include "compat/w32dlfcn.h"
#include "libavutil/log.h"
#include "libavutil/error.h"
Go to the source code of this file.
Data Structures | |
struct | CudaFunctions |
struct | CuvidFunctions |
struct | NvencFunctions |
Macros | |
#define | LIB_HANDLE void* |
#define | CUDA_LIBNAME "libcuda.so.1" |
#define | NVCUVID_LIBNAME "libnvcuvid.so.1" |
#define | NVENC_LIBNAME "libnvidia-encode.so.1" |
#define | LOAD_LIBRARY(l, path) |
#define | LOAD_SYMBOL(fun, symbol) |
#define | GENERIC_LOAD_FUNC_PREAMBLE(T, n, N) |
#define | GENERIC_LOAD_FUNC_FINALE(n) |
#define | GENERIC_FREE_FUNC() |
Functions | |
static void | cuda_free_functions (CudaFunctions **functions) |
static void | cuvid_free_functions (CuvidFunctions **functions) |
static void | nvenc_free_functions (NvencFunctions **functions) |
static int | cuda_load_functions (CudaFunctions **functions) |
static int | cuvid_load_functions (CuvidFunctions **functions) |
static int | nvenc_load_functions (NvencFunctions **functions) |
#define LIB_HANDLE void* |
Definition at line 42 of file dynlink_loader.h.
#define CUDA_LIBNAME "libcuda.so.1" |
Definition at line 54 of file dynlink_loader.h.
Referenced by cuda_load_functions().
#define NVCUVID_LIBNAME "libnvcuvid.so.1" |
Definition at line 55 of file dynlink_loader.h.
Referenced by cuvid_load_functions().
#define NVENC_LIBNAME "libnvidia-encode.so.1" |
Definition at line 56 of file dynlink_loader.h.
Referenced by nvenc_load_functions().
#define LOAD_LIBRARY | ( | l, | |
path | |||
) |
Definition at line 59 of file dynlink_loader.h.
#define LOAD_SYMBOL | ( | fun, | |
symbol | |||
) |
Definition at line 69 of file dynlink_loader.h.
Referenced by cuda_load_functions(), cuvid_load_functions(), and nvenc_load_functions().
Definition at line 79 of file dynlink_loader.h.
Referenced by cuda_load_functions(), cuvid_load_functions(), and nvenc_load_functions().
#define GENERIC_LOAD_FUNC_FINALE | ( | n | ) |
Definition at line 91 of file dynlink_loader.h.
Referenced by cuda_load_functions(), cuvid_load_functions(), and nvenc_load_functions().
#define GENERIC_FREE_FUNC | ( | ) |
Definition at line 97 of file dynlink_loader.h.
Referenced by cuda_free_functions(), cuvid_free_functions(), and nvenc_free_functions().
|
inlinestatic |
Definition at line 160 of file dynlink_loader.h.
Referenced by cuda_device_uninit(), and ff_nvenc_encode_close().
|
inlinestatic |
Definition at line 166 of file dynlink_loader.h.
Referenced by cuvid_decode_end().
|
inlinestatic |
Definition at line 171 of file dynlink_loader.h.
Referenced by ff_nvenc_encode_close().
|
inlinestatic |
Definition at line 177 of file dynlink_loader.h.
Referenced by cuda_device_init(), and nvenc_load_libraries().
|
inlinestatic |
Definition at line 200 of file dynlink_loader.h.
Referenced by cuvid_decode_init().
|
inlinestatic |
Definition at line 233 of file dynlink_loader.h.
Referenced by nvenc_load_libraries().