This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 9548d68e5b54dfa46620d441da4ff44b3b64f2bf
Author:     Lynne <[email protected]>
AuthorDate: Tue Aug 4 01:13:22 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Wed Aug 5 16:04:37 2026 +0900

    vulkan: remove ff_vk_exec_add_dep_buf
---
 libavutil/vulkan.c | 20 --------------------
 libavutil/vulkan.h |  2 --
 2 files changed, 22 deletions(-)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 15777c70fc..0b7effcc58 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -684,26 +684,6 @@ void ff_vk_exec_discard_deps(FFVulkanContext *s, 
FFVkExecContext *e)
     e->sem_sig_val_dst_cnt = 0;
 }
 
-int ff_vk_exec_add_dep_buf(FFVulkanContext *s, FFVkExecContext *e,
-                           AVBufferRef **deps, int nb_deps, int ref)
-{
-    av_assert1((e->nb_buf_deps + nb_deps) <= FF_VK_EXEC_MAX_BUF_DEPS);
-
-    for (int i = 0; i < nb_deps; i++) {
-        if (!deps[i])
-            continue;
-
-        e->buf_deps[e->nb_buf_deps] = ref ? av_buffer_ref(deps[i]) : deps[i];
-        if (!e->buf_deps[e->nb_buf_deps]) {
-            ff_vk_exec_discard_deps(s, e);
-            return AVERROR(ENOMEM);
-        }
-        e->nb_buf_deps++;
-    }
-
-    return 0;
-}
-
 void ff_vk_exec_add_dep_refstruct(FFVulkanContext *s, FFVkExecContext *e,
                                   void *obj)
 {
diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index 49d3fbce93..e0dc60746b 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -493,8 +493,6 @@ void ff_vk_exec_wait(FFVulkanContext *s, FFVkExecContext 
*e);
  * update_frame will update the frame's properties before it is unlocked,
  * only if submission was successful.
  */
-int ff_vk_exec_add_dep_buf(FFVulkanContext *s, FFVkExecContext *e,
-                           AVBufferRef **deps, int nb_deps, int ref);
 
 /* Takes a new reference to an AVRefStruct-managed object, held until the
  * execution's dependencies are released. */

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to