diff options
author | Lynne <dev@lynne.ee> | 2020-05-23 19:02:08 +0100 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-05-26 10:52:10 +0100 |
commit | 4dcb50c58a9c592b4296a3d26ebe2c61fc99ceac (patch) | |
tree | 7b2c86f288827fd0b804d85a88af4eac4aa744ab /libavutil/hwcontext_vulkan.h | |
parent | b8d9bc2e87ef19cfc26cdbdc94062a5ce3201f6c (diff) | |
download | ffmpeg-4dcb50c58a9c592b4296a3d26ebe2c61fc99ceac.tar.gz |
hwcontext_vulkan: use host mapped buffers when uploading and downloading
Speeds up both use cases by 30%.
Diffstat (limited to 'libavutil/hwcontext_vulkan.h')
-rw-r--r-- | libavutil/hwcontext_vulkan.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/hwcontext_vulkan.h b/libavutil/hwcontext_vulkan.h index 0ac34658b2..aba98337ab 100644 --- a/libavutil/hwcontext_vulkan.h +++ b/libavutil/hwcontext_vulkan.h @@ -86,8 +86,8 @@ typedef struct AVVulkanDeviceContext { int nb_enabled_inst_extensions; /** * Enabled device extensions. By default, VK_KHR_external_memory_fd, - * VK_EXT_external_memory_dma_buf, VK_EXT_image_drm_format_modifier and - * VK_KHR_external_semaphore_fd are enabled if found. + * VK_EXT_external_memory_dma_buf, VK_EXT_image_drm_format_modifier, + * VK_KHR_external_semaphore_fd and VK_EXT_external_memory_host are enabled if found. * If supplying your own device context, these fields takes the same format as * the above fields, with the same conditions that duplicates are possible * and accepted, and that NULL and 0 respectively means no extensions are enabled. |