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, tp, symbol) |
#define | LOAD_SYMBOL_OPT(fun, tp, symbol) |
#define | GENERIC_LOAD_FUNC_PREAMBLE(T, n, N) |
#define | GENERIC_LOAD_FUNC_FINALE(n) |
#define | GENERIC_FREE_FUNC() |
Typedefs | |
typedef NVENCSTATUS NVENCAPI | tNvEncodeAPICreateInstance (NV_ENCODE_API_FUNCTION_LIST *functionList) |
typedef NVENCSTATUS NVENCAPI | tNvEncodeAPIGetMaxSupportedVersion (uint32_t *version) |
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, | |
tp, | |||
symbol | |||
) |
Definition at line 69 of file dynlink_loader.h.
Referenced by cuda_load_functions(), cuvid_load_functions(), and nvenc_load_functions().
#define LOAD_SYMBOL_OPT | ( | fun, | |
tp, | |||
symbol | |||
) |
Definition at line 79 of file dynlink_loader.h.
Referenced by cuvid_load_functions().
Definition at line 88 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 100 of file dynlink_loader.h.
Referenced by cuda_load_functions(), cuvid_load_functions(), and nvenc_load_functions().
#define GENERIC_FREE_FUNC | ( | ) |
Definition at line 106 of file dynlink_loader.h.
Referenced by cuda_free_functions(), cuvid_free_functions(), and nvenc_free_functions().
typedef NVENCSTATUS NVENCAPI tNvEncodeAPICreateInstance(NV_ENCODE_API_FUNCTION_LIST *functionList) |
Definition at line 162 of file dynlink_loader.h.
typedef NVENCSTATUS NVENCAPI tNvEncodeAPIGetMaxSupportedVersion(uint32_t *version) |
Definition at line 163 of file dynlink_loader.h.
|
inlinestatic |
Definition at line 173 of file dynlink_loader.h.
Referenced by cuda_device_uninit(), and ff_nvenc_encode_close().
|
inlinestatic |
Definition at line 179 of file dynlink_loader.h.
Referenced by cuvid_decode_end().
|
inlinestatic |
Definition at line 184 of file dynlink_loader.h.
Referenced by ff_nvenc_encode_close().
|
inlinestatic |
Definition at line 190 of file dynlink_loader.h.
Referenced by cuda_device_init(), and nvenc_load_libraries().
|
inlinestatic |
Definition at line 213 of file dynlink_loader.h.
Referenced by cuvid_decode_init().
|
inlinestatic |
Definition at line 247 of file dynlink_loader.h.
Referenced by nvenc_load_libraries().