Searched refs:dl_fn (Results 1 – 1 of 1) sorted by relevance
39 #define CHECK_CU(x) FF_CUDA_CHECK_DL(avctx, dl_fn->cuda_dl, x)264 NvencDynLoadFunctions *dl_fn = &ctx->nvenc_dload_funcs; in nvenc_load_libraries() local269 ret = cuda_load_functions(&dl_fn->cuda_dl, avctx); in nvenc_load_libraries()273 ret = nvenc_load_functions(&dl_fn->nvenc_dl, avctx); in nvenc_load_libraries()279 err = dl_fn->nvenc_dl->NvEncodeAPIGetMaxSupportedVersion(&nvenc_max_ver); in nvenc_load_libraries()294 dl_fn->nvenc_funcs.version = NV_ENCODE_API_FUNCTION_LIST_VER; in nvenc_load_libraries()296 err = dl_fn->nvenc_dl->NvEncodeAPICreateInstance(&dl_fn->nvenc_funcs); in nvenc_load_libraries()308 NvencDynLoadFunctions *dl_fn = &ctx->nvenc_dload_funcs; in nvenc_push_context() local313 return CHECK_CU(dl_fn->cuda_dl->cuCtxPushCurrent(ctx->cu_context)); in nvenc_push_context()319 NvencDynLoadFunctions *dl_fn = &ctx->nvenc_dload_funcs; in nvenc_pop_context() local[all …]