The branch, master has been updated
via 231f735d55b6954f75a4bd24a166ff7a9baa5429 (commit)
via 162e07da6188ec999f4ce8e7c86fa81d588c8773 (commit)
from faa382e5b196f2acb5bc5b159aaf06682291328b (commit)
- Log -----------------------------------------------------------------
commit 231f735d55b6954f75a4bd24a166ff7a9baa5429
Author: Lynne <[email protected]>
AuthorDate: Wed Nov 26 18:33:10 2025 +0100
Commit: Lynne <[email protected]>
CommitDate: Wed Nov 26 18:33:10 2025 +0100
vulkan_dpx: use host visible allocation for host image copy buffer
Fixes black screen on Nvidia.
diff --git a/libavcodec/vulkan_dpx.c b/libavcodec/vulkan_dpx.c
index 465ed17194..8978b78db4 100644
--- a/libavcodec/vulkan_dpx.c
+++ b/libavcodec/vulkan_dpx.c
@@ -102,7 +102,8 @@ static int host_upload_image(AVCodecContext *avctx,
VK_BUFFER_USAGE_STORAGE_BUFFER_BIT |
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT,
NULL, size,
- VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT);
+ VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT |
+ VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT);
if (err < 0)
return err;
commit 162e07da6188ec999f4ce8e7c86fa81d588c8773
Author: Lynne <[email protected]>
AuthorDate: Wed Nov 26 18:32:25 2025 +0100
Commit: Lynne <[email protected]>
CommitDate: Wed Nov 26 18:32:25 2025 +0100
vulkan_dpx: fix "upoad" typo
diff --git a/libavcodec/vulkan_dpx.c b/libavcodec/vulkan_dpx.c
index 1af417fdf7..465ed17194 100644
--- a/libavcodec/vulkan_dpx.c
+++ b/libavcodec/vulkan_dpx.c
@@ -50,9 +50,9 @@ typedef struct DecodePushData {
int padded_10bit;
} DecodePushData;
-static int host_upoad_image(AVCodecContext *avctx,
- FFVulkanDecodeContext *dec, DPXDecContext *dpx,
- const uint8_t *src, uint32_t size)
+static int host_upload_image(AVCodecContext *avctx,
+ FFVulkanDecodeContext *dec, DPXDecContext *dpx,
+ const uint8_t *src, uint32_t size)
{
int err;
VkImage temp;
@@ -163,7 +163,7 @@ static int vk_dpx_start_frame(AVCodecContext
*avctx,
FFVulkanDecodePicture *vp = &pp->vp;
if (ctx->s.extensions & FF_VK_EXT_HOST_IMAGE_COPY)
- host_upoad_image(avctx, dec, dpx, buffer, size);
+ host_upload_image(avctx, dec, dpx, buffer, size);
/* Host map the frame data if supported */
if (!vp->slices_buf &&
-----------------------------------------------------------------------
Summary of changes:
libavcodec/vulkan_dpx.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]