Go to the documentation of this file.
19 #ifndef COMPAT_CUDA_DYNLINK_LOADER_H
20 #define COMPAT_CUDA_DYNLINK_LOADER_H
25 #define FFNV_LOAD_FUNC(path) dlopen((path), RTLD_LAZY)
26 #define FFNV_SYM_FUNC(lib, sym) dlsym((lib), (sym))
27 #define FFNV_FREE_FUNC(lib) dlclose(lib)
28 #define FFNV_LOG_FUNC(logctx, msg, ...) av_log(logctx, AV_LOG_ERROR, msg, __VA_ARGS__)
29 #define FFNV_DEBUG_LOG_FUNC(logctx, msg, ...) av_log(logctx, AV_LOG_DEBUG, msg, __VA_ARGS__)
31 #include <ffnvcodec/dynlink_loader.h>