Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2020-04-06 20:18:50 +0300
committerLynne <dev@lynne.ee>2020-04-07 14:52:56 +0300
commit97b526c192add6f252b327245fd9223546867352 (patch)
tree8676075031430d923be525dc82944e77449368a9 /libavutil/hwcontext_vulkan.h
parent3f9fd9dcfdf090f81f7fd22ddc6f6d571f4c5516 (diff)
hwcontext_vulkan: only use one semaphore per image
The idea was to allow separate planes to be filtered independently, however, in hindsight, literaly nothing uses separate per-plane semaphores and it would only work when each plane is backed by separate device memory.
Diffstat (limited to 'libavutil/hwcontext_vulkan.h')
-rw-r--r--libavutil/hwcontext_vulkan.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/hwcontext_vulkan.h b/libavutil/hwcontext_vulkan.h
index 01d6d98b01..ebc28916f3 100644
--- a/libavutil/hwcontext_vulkan.h
+++ b/libavutil/hwcontext_vulkan.h
@@ -133,10 +133,10 @@ typedef struct AVVkFrame {
VkImageLayout layout[AV_NUM_DATA_POINTERS];
/**
- * Per-image semaphores. Must not be freed manually. Must be waited on
+ * Per-frame semaphore. Must not be freed manually. Must be waited on
* and signalled at every queue submission.
*/
- VkSemaphore sem[AV_NUM_DATA_POINTERS];
+ VkSemaphore sem;
/**
* Internal data.