Home
last modified time | relevance | path

Searched refs:cuda_dl (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext_cuda.c85 CudaFunctions *cu = hwctx->internal->cuda_dl; in cuda_buffer_free()
101 CudaFunctions *cu = hwctx->internal->cuda_dl; in cuda_pool_alloc()
132 CudaFunctions *cu = hwctx->internal->cuda_dl; in cuda_frames_init()
227 CudaFunctions *cu = hwctx->internal->cuda_dl; in cuda_transfer_data()
286 CudaFunctions *cu = hwctx->internal->cuda_dl; in cuda_device_uninit()
297 cuda_free_functions(&hwctx->internal->cuda_dl); in cuda_device_uninit()
314 if (!hwctx->internal->cuda_dl) { in cuda_device_init()
315 ret = cuda_load_functions(&hwctx->internal->cuda_dl, ctx); in cuda_device_init()
338 cu = hwctx->internal->cuda_dl; in cuda_context_init()
393 cu = hwctx->internal->cuda_dl; in cuda_device_create()
[all …]
Dhwcontext_cuda_internal.h32 CudaFunctions *cuda_dl; member
Dhwcontext_vulkan.c1237 CudaFunctions *cu = cu_internal->cuda_dl; in vulkan_device_derive()
1372 CudaFunctions *cu = cu_internal->cuda_dl; in vulkan_free_internal()
2336 CudaFunctions *cu = cu_internal->cuda_dl; in vulkan_export_to_cuda()
2461 CudaFunctions *cu = cu_internal->cuda_dl; in vulkan_transfer_data_from_cuda()
3254 CudaFunctions *cu = cu_internal->cuda_dl; in vulkan_transfer_data_to_cuda()
/third_party/ffmpeg/libavfilter/
Dvf_overlay_cuda.c38 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, ctx->hwctx->internal->cuda_dl, x)
120 CudaFunctions *cu = ctx->hwctx->internal->cuda_dl; in overlay_cuda_call_kernel()
149 CudaFunctions *cu = ctx->hwctx->internal->cuda_dl; in overlay_cuda_blend()
255 CudaFunctions *cu = ctx->hwctx->internal->cuda_dl; in overlay_cuda_uninit()
364 cu = ctx->hwctx->internal->cuda_dl; in overlay_cuda_config_output()
Dvf_yadif_cuda.c51 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, s->hwctx->internal->cuda_dl, x)
66 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in call_kernel()
126 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in filter()
195 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in deint_cuda_uninit()
270 cu = s->hwctx->internal->cuda_dl; in config_output()
Dvf_thumbnail_cuda.c32 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, s->hwctx->internal->cuda_dl, x)
162 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in thumbnail_kernel()
251 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in filter_frame()
307 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in uninit()
358 CudaFunctions *cu = device_hwctx->internal->cuda_dl; in config_props()
Dvf_scale_cuda.c59 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, s->hwctx->internal->cuda_dl, x)
139 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in cudascale_uninit()
273 CudaFunctions *cu = device_hwctx->internal->cuda_dl; in cudascale_config_props()
402 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in call_resize_kernel()
574 CudaFunctions *cu = s->hwctx->internal->cuda_dl; in cudascale_filter_frame()
Dvf_transpose_npp.c36 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x)
415 ret = CHECK_CU(device_hwctx->internal->cuda_dl->cuCtxPushCurrent(device_hwctx->cuda_ctx)); in npptranspose_filter_frame()
421 CHECK_CU(device_hwctx->internal->cuda_dl->cuCtxPopCurrent(&dummy)); in npptranspose_filter_frame()
Dvf_scale_npp.c43 #define CHECK_CU(x) FF_CUDA_CHECK_DL(ctx, device_hwctx->internal->cuda_dl, x)
525 ret = CHECK_CU(device_hwctx->internal->cuda_dl->cuCtxPushCurrent(device_hwctx->cuda_ctx)); in nppscale_filter_frame()
531 CHECK_CU(device_hwctx->internal->cuda_dl->cuCtxPopCurrent(&dummy)); in nppscale_filter_frame()
/third_party/ffmpeg/libavcodec/
Dnvenc.c39 #define CHECK_CU(x) FF_CUDA_CHECK_DL(avctx, dl_fn->cuda_dl, x)
269 ret = cuda_load_functions(&dl_fn->cuda_dl, avctx); in nvenc_load_libraries()
313 return CHECK_CU(dl_fn->cuda_dl->cuCtxPushCurrent(ctx->cu_context)); in nvenc_push_context()
325 return CHECK_CU(dl_fn->cuda_dl->cuCtxPopCurrent(&dummy)); in nvenc_pop_context()
537 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceGet(&cu_device, idx)); in nvenc_check_device()
541 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceGetName(name, sizeof(name), cu_device)); in nvenc_check_device()
545 ret = CHECK_CU(dl_fn->cuda_dl->cuDeviceComputeCapability(&major, &minor, cu_device)); in nvenc_check_device()
558 ret = CHECK_CU(dl_fn->cuda_dl->cuCtxCreate(&ctx->cu_context_internal, 0, cu_device)); in nvenc_check_device()
592 CHECK_CU(dl_fn->cuda_dl->cuCtxDestroy(ctx->cu_context_internal)); in nvenc_check_device()
676 if (CHECK_CU(dl_fn->cuda_dl->cuInit(0)) < 0) in nvenc_setup_device()
[all …]
Dnvenc.h88 CudaFunctions *cuda_dl; member
Dnvdec.c210 decoder->cudl = device_hwctx->internal->cuda_dl; in nvdec_decoder_create()
Dcuviddec.c912 ctx->cudl = device_hwctx->internal->cuda_dl; in cuvid_decode_init()