Home
last modified time | relevance | path

Searched refs:drm_desc (Results 1 – 3 of 3) sorted by relevance

/third_party/ffmpeg/libavutil/
Dhwcontext_vaapi.c1142 AVDRMFrameDescriptor *drm_desc = hwmap->priv; in vaapi_unmap_to_drm_esh() local
1145 for (i = 0; i < drm_desc->nb_objects; i++) in vaapi_unmap_to_drm_esh()
1146 close(drm_desc->objects[i].fd); in vaapi_unmap_to_drm_esh()
1148 av_freep(&drm_desc); in vaapi_unmap_to_drm_esh()
1158 AVDRMFrameDescriptor *drm_desc = NULL; in vaapi_map_to_drm_esh() local
1181 drm_desc = av_mallocz(sizeof(*drm_desc)); in vaapi_map_to_drm_esh()
1182 if (!drm_desc) { in vaapi_map_to_drm_esh()
1188 drm_desc->nb_objects = va_desc.num_objects; in vaapi_map_to_drm_esh()
1190 drm_desc->objects[i].fd = va_desc.objects[i].fd; in vaapi_map_to_drm_esh()
1191 drm_desc->objects[i].size = va_desc.objects[i].size; in vaapi_map_to_drm_esh()
[all …]
Dhwcontext_vulkan.c2555 AVDRMFrameDescriptor drm_desc; member
2561 AVDRMFrameDescriptor *drm_desc = hwmap->priv; in vulkan_unmap_to_drm() local
2563 for (int i = 0; i < drm_desc->nb_objects; i++) in vulkan_unmap_to_drm()
2564 close(drm_desc->objects[i].fd); in vulkan_unmap_to_drm()
2566 av_free(drm_desc); in vulkan_unmap_to_drm()
2592 AVDRMFrameDescriptor *drm_desc = av_mallocz(sizeof(*drm_desc)); in vulkan_map_to_drm() local
2593 if (!drm_desc) in vulkan_map_to_drm()
2600 err = ff_hwframe_map_create(src->hw_frames_ctx, dst, src, &vulkan_unmap_to_drm, drm_desc); in vulkan_map_to_drm()
2623 &drm_desc->objects[i].fd); in vulkan_map_to_drm()
2630 drm_desc->nb_objects++; in vulkan_map_to_drm()
[all …]
Dhwcontext_opencl.c2046 AVDRMFrameDescriptor *drm_desc; member