Home
last modified time | relevance | path

Searched refs:nb_devices (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext_opencl.c360 cl_uint *nb_devices, in opencl_enumerate_devices() argument
367 0, NULL, nb_devices); in opencl_enumerate_devices()
371 *nb_devices = 0; in opencl_enumerate_devices()
379 "platform \"%s\".\n", *nb_devices, platform_name); in opencl_enumerate_devices()
381 *devices = av_malloc_array(*nb_devices, sizeof(**devices)); in opencl_enumerate_devices()
386 *nb_devices, *devices, NULL); in opencl_enumerate_devices()
478 cl_uint *nb_devices,
494 cl_uint nb_devices; in opencl_device_create_internal() local
538 &nb_devices, &devices, in opencl_device_create_internal()
543 for (d = 0; d < nb_devices; d++) { in opencl_device_create_internal()
[all …]
/third_party/ffmpeg/libavdevice/
Dpulse_audio_common.c159 &info->devices->nb_devices, new_device)) < 0) { in pulse_add_detected_device()
210 devices->nb_devices = 0; in ff_pulse_audio_get_devices()
238 for (i = 0; i < devices->nb_devices; i++) { in ff_pulse_audio_get_devices()
Dfbdev_common.c112 &device_list->nb_devices, device)) < 0) in ff_fbdev_get_device_list()
116 device_list->default_device = device_list->nb_devices - 1; in ff_fbdev_get_device_list()
Davdevice.h467 int nb_devices; /**< number of autodetected devices */ member
Dalsa.c388 &device_list->nb_devices, new_device)) < 0) { in ff_alsa_get_device_list()
392 device_list->default_device = device_list->nb_devices - 1; in ff_alsa_get_device_list()
Davdevice.c156 for (i = 0; i < list->nb_devices; i++) { in avdevice_free_list_devices()
Ddecklink_common.cpp408 … av_dynarray_add_nofree(&device_list->devices, &device_list->nb_devices, new_device) < 0) { in ff_decklink_list_devices()
443 for (int i = 0; i < device_list->nb_devices; i++) { in ff_decklink_list_devices_legacy()
Dv4l2.c1077 &device_list->nb_devices, device)) < 0) in v4l2_get_device_list()
/third_party/ffmpeg/libavcodec/
Dnvenc.c674 int i, nb_devices = 0; in nvenc_setup_device() local
679 if (CHECK_CU(dl_fn->cuda_dl->cuDeviceGetCount(&nb_devices)) < 0) in nvenc_setup_device()
682 if (!nb_devices) { in nvenc_setup_device()
687 av_log(avctx, AV_LOG_VERBOSE, "%d CUDA capable devices found\n", nb_devices); in nvenc_setup_device()
690 for (i = 0; i < nb_devices; ++i) { in nvenc_setup_device()
703 …ctx, AV_LOG_FATAL, "Requested GPU %d, but only %d GPUs are available!\n", ctx->device, nb_devices); in nvenc_setup_device()
/third_party/ffmpeg/fftools/
Dcmdutils.c2240 for (i = 0; i < device_list->nb_devices; i++) { in print_device_sources()
2270 for (i = 0; i < device_list->nb_devices; i++) { in print_device_sinks()