Home
last modified time | relevance | path

Searched refs:AVHWDeviceContext (Results 1 – 25 of 38) sorted by relevance

12

/third_party/ffmpeg/libavutil/
Dhwcontext_internal.h67 int (*device_create)(AVHWDeviceContext *ctx, const char *device,
69 int (*device_derive)(AVHWDeviceContext *dst_ctx,
70 AVHWDeviceContext *src_ctx,
73 int (*device_init)(AVHWDeviceContext *ctx);
74 void (*device_uninit)(AVHWDeviceContext *ctx);
76 int (*frames_get_constraints)(AVHWDeviceContext *ctx,
Dhwcontext.c124 AVHWDeviceContext *ctx = (AVHWDeviceContext*)data; in hwdevice_ctx_free()
144 AVHWDeviceContext *ctx; in av_hwdevice_ctx_alloc()
202 AVHWDeviceContext *ctx = (AVHWDeviceContext*)ref->data; in av_hwdevice_ctx_init()
249 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)device_ref_in->data; in av_hwframe_ctx_alloc()
567 AVHWDeviceContext *ctx = (AVHWDeviceContext*)ref->data; in av_hwdevice_hwconfig_alloc()
579 AVHWDeviceContext *ctx = (AVHWDeviceContext*)ref->data; in av_hwdevice_get_hwframe_constraints()
614 AVHWDeviceContext *device_ctx; in av_hwdevice_ctx_create()
622 device_ctx = (AVHWDeviceContext*)device_ref->data; in av_hwdevice_ctx_create()
652 AVHWDeviceContext *dst_ctx, *tmp_ctx; in av_hwdevice_ctx_create_derived_opts()
657 tmp_ctx = (AVHWDeviceContext*)tmp_ref->data; in av_hwdevice_ctx_create_derived_opts()
[all …]
Dhwcontext_cuda.c55 static int cuda_frames_get_constraints(AVHWDeviceContext *ctx, in cuda_frames_get_constraints()
83 AVHWDeviceContext *device_ctx = ctx->device_ctx; in cuda_buffer_free()
99 AVHWDeviceContext *device_ctx = ctx->device_ctx; in cuda_pool_alloc()
129 AVHWDeviceContext *device_ctx = ctx->device_ctx; in cuda_frames_init()
225 AVHWDeviceContext *device_ctx = ctx->device_ctx; in cuda_transfer_data()
281 static void cuda_device_uninit(AVHWDeviceContext *device_ctx) in cuda_device_uninit()
303 static int cuda_device_init(AVHWDeviceContext *ctx) in cuda_device_init()
329 static int cuda_context_init(AVHWDeviceContext *device_ctx, int flags) { in cuda_context_init()
379 static int cuda_device_create(AVHWDeviceContext *device_ctx, in cuda_device_create()
414 static int cuda_device_derive(AVHWDeviceContext *device_ctx, in cuda_device_derive()
[all …]
Dhwcontext.h61 typedef struct AVHWDeviceContext { struct
104 void (*free)(struct AVHWDeviceContext *ctx); argument
110 } AVHWDeviceContext; typedef
149 AVHWDeviceContext *device_ctx;
Dhwcontext_opencl.c151 AVHWDeviceContext *ctx = user_data; in opencl_error_callback()
155 static void opencl_device_free(AVHWDeviceContext *hwdev) in opencl_device_free()
270 static av_unused int opencl_check_extension(AVHWDeviceContext *hwdev, in opencl_check_extension()
291 static int opencl_enumerate_platforms(AVHWDeviceContext *hwdev, in opencl_enumerate_platforms()
322 static int opencl_filter_platform(AVHWDeviceContext *hwdev, in opencl_filter_platform()
357 static int opencl_enumerate_devices(AVHWDeviceContext *hwdev, in opencl_enumerate_devices()
397 static int opencl_filter_device(AVHWDeviceContext *hwdev, in opencl_filter_device()
467 int (*enumerate_platforms)(AVHWDeviceContext *hwdev,
471 int (*filter_platform) (AVHWDeviceContext *hwdev,
475 int (*enumerate_devices) (AVHWDeviceContext *hwdev,
[all …]
Dhwcontext_vdpau.c116 static int vdpau_init_pixmfts(AVHWDeviceContext *ctx) in vdpau_init_pixmfts()
158 static int vdpau_device_init(AVHWDeviceContext *ctx) in vdpau_device_init()
181 static void vdpau_device_uninit(AVHWDeviceContext *ctx) in vdpau_device_uninit()
190 static int vdpau_frames_get_constraints(AVHWDeviceContext *ctx, in vdpau_frames_get_constraints()
451 static void vdpau_device_free(AVHWDeviceContext *ctx) in vdpau_device_free()
463 static int vdpau_device_create(AVHWDeviceContext *ctx, const char *device, in vdpau_device_create()
Dhwcontext_qsv.c130 static int qsv_device_init(AVHWDeviceContext *ctx) in qsv_device_init()
221 AVHWDeviceContext *child_device_ctx; in qsv_init_child_ctx()
236 child_device_ctx = (AVHWDeviceContext*)child_device_ref->data; in qsv_init_child_ctx()
1064 static int qsv_frames_get_constraints(AVHWDeviceContext *ctx, in qsv_frames_get_constraints()
1089 static void qsv_device_free(AVHWDeviceContext *ctx) in qsv_device_free()
1133 static int qsv_device_derive_from_child(AVHWDeviceContext *ctx, in qsv_device_derive_from_child()
1135 AVHWDeviceContext *child_device_ctx, in qsv_device_derive_from_child()
1215 static int qsv_device_derive(AVHWDeviceContext *ctx, in qsv_device_derive()
1216 AVHWDeviceContext *child_device_ctx, in qsv_device_derive()
1223 static int qsv_device_create(AVHWDeviceContext *ctx, const char *device, in qsv_device_create()
[all …]
Dhwcontext_vulkan.c322 AVHWDeviceContext *ctx = priv; in vk_dbg_callback()
339 static int check_extensions(AVHWDeviceContext *ctx, int dev, AVDictionary *opts, in check_extensions()
470 static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts) in create_instance()
562 static int find_device(AVHWDeviceContext *ctx, VulkanDeviceSelection *select) in find_device()
683 static int search_queue_families(AVHWDeviceContext *ctx, VkDeviceCreateInfo *cd) in search_queue_families()
990 static void vulkan_device_free(AVHWDeviceContext *ctx) in vulkan_device_free()
1014 static int vulkan_device_create_internal(AVHWDeviceContext *ctx, in vulkan_device_create_internal()
1099 static int vulkan_device_init(AVHWDeviceContext *ctx) in vulkan_device_init()
1169 static int vulkan_device_create(AVHWDeviceContext *ctx, const char *device, in vulkan_device_create()
1185 static int vulkan_device_derive(AVHWDeviceContext *ctx, in vulkan_device_derive()
[all …]
Dhwcontext_mediacodec.c27 static int mc_device_create(AVHWDeviceContext *ctx, const char *device, in mc_device_create()
Dhwcontext_vaapi.c175 static int vaapi_get_image_format(AVHWDeviceContext *hwdev, in vaapi_get_image_format()
192 static int vaapi_frames_get_constraints(AVHWDeviceContext *hwdev, in vaapi_frames_get_constraints()
354 static int vaapi_device_init(AVHWDeviceContext *hwdev) in vaapi_device_init()
444 static void vaapi_device_uninit(AVHWDeviceContext *hwdev) in vaapi_device_uninit()
1433 static void vaapi_device_free(AVHWDeviceContext *ctx) in vaapi_device_free()
1455 AVHWDeviceContext *ctx = context; in vaapi_device_log_error()
1462 AVHWDeviceContext *ctx = context; in vaapi_device_log_info()
1468 static int vaapi_device_connect(AVHWDeviceContext *ctx, in vaapi_device_connect()
1494 static int vaapi_device_create(AVHWDeviceContext *ctx, const char *device, in vaapi_device_create()
1649 static int vaapi_device_derive(AVHWDeviceContext *ctx, in vaapi_device_derive()
[all …]
Dhwcontext_dxva2.c409 static void dxva2_device_free(AVHWDeviceContext *ctx) in dxva2_device_free()
435 static int dxva2_device_create9(AVHWDeviceContext *ctx, UINT adapter) in dxva2_device_create9()
468 static int dxva2_device_create9ex(AVHWDeviceContext *ctx, UINT adapter) in dxva2_device_create9ex()
507 static int dxva2_device_create(AVHWDeviceContext *ctx, const char *device, in dxva2_device_create()
Dhwcontext_d3d11va.c117 static int d3d11va_frames_get_constraints(AVHWDeviceContext *ctx, in d3d11va_frames_get_constraints()
445 static int d3d11va_device_init(AVHWDeviceContext *hwdev) in d3d11va_device_init()
483 static void d3d11va_device_uninit(AVHWDeviceContext *hwdev) in d3d11va_device_uninit()
514 static int d3d11va_device_create(AVHWDeviceContext *ctx, const char *device, in d3d11va_device_create()
Dhwcontext_drm.c43 static void drm_device_free(AVHWDeviceContext *hwdev) in drm_device_free()
50 static int drm_device_create(AVHWDeviceContext *hwdev, const char *device, in drm_device_create()
Dhwcontext_videotoolbox.c232 static int vt_device_create(AVHWDeviceContext *ctx, const char *device, in vt_device_create()
/third_party/ffmpeg/libavutil/tests/
Dhwdevice.c28 AVHWDeviceContext *src_dev, *derived_dev; in test_derivation()
31 src_dev = (AVHWDeviceContext*)src_ref->data; in test_derivation()
49 derived_dev = (AVHWDeviceContext*)derived_ref->data; in test_derivation()
101 AVHWDeviceContext *dev; in test_device()
110 dev = (AVHWDeviceContext*)ref->data; in test_device()
/third_party/ffmpeg/libavcodec/
Dcuviddec.c388 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)ctx->hwdevice->data; in cuvid_decode_packet()
453 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)ctx->hwdevice->data; in cuvid_output_frame()
685 AVHWDeviceContext *device_ctx = (AVHWDeviceContext *)ctx->hwdevice->data; in cuvid_decode_end()
812 AVHWDeviceContext *device_ctx; in cuvid_decode_init()
1051 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)ctx->hwdevice->data; in cuvid_flush()
Dvaapi_decode.c279 AVHWDeviceContext *device, in vaapi_decode_find_best_format()
438 AVHWDeviceContext *device = (AVHWDeviceContext*)device_ref->data; in vaapi_decode_make_config()
614 AVHWDeviceContext *device_ctx = hw_frames->device_ctx; in ff_vaapi_common_frame_params()
660 ctx->device = (AVHWDeviceContext*)ctx->device_ref->data; in ff_vaapi_decode_init()
Dvaapi_decode.h67 AVHWDeviceContext *device;
Dqsv_internal.h89 AVHWDeviceContext *va_device_ctx;
Dqsv.c369 qs->va_device_ctx = (AVHWDeviceContext*)qs->va_device_ref->data; in ff_qsv_set_display_handle()
698 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)device_ref->data; in ff_qsv_init_session_device()
Ddxva2_internal.h76 AVHWDeviceContext *device_ctx;
Dvaapi_encode.h244 AVHWDeviceContext *device;
Ddecode.c1124 AVHWDeviceContext *device_ctx = in avcodec_default_get_format()
1125 (AVHWDeviceContext*)avctx->hw_device_ctx->data; in avcodec_default_get_format()
1180 AVHWDeviceContext *device_ctx; in ff_decode_get_hw_frames_ctx()
1195 device_ctx = (AVHWDeviceContext *)avctx->hw_device_ctx->data; in ff_decode_get_hw_frames_ctx()
1418 const AVHWDeviceContext *device_ctx = in ff_get_format()
1419 (AVHWDeviceContext*)avctx->hw_device_ctx->data; in ff_get_format()
/third_party/ffmpeg/libavfilter/
Dopencl.h40 AVHWDeviceContext *device;
Dvulkan.h164 AVHWDeviceContext *device;

12