aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan_decode.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-08-31 01:43:48 +0000
committerLynne <dev@lynne.ee>2024-09-09 07:05:44 +0200
commit66e950fcacf20ec355f8d6fbd0f8196c1c1c36dc (patch)
tree77475842762d515045c215c1693d11686fb07a6e /libavcodec/vulkan_decode.h
parent06483d039a8ecd162374b25149796b76d1ff6e03 (diff)
downloadffmpeg-66e950fcacf20ec355f8d6fbd0f8196c1c1c36dc.tar.gz
vulkan_video: move imageview creation and DPB fields to common context
Shared between decoders and encoders.
Diffstat (limited to 'libavcodec/vulkan_decode.h')
-rw-r--r--libavcodec/vulkan_decode.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/vulkan_decode.h b/libavcodec/vulkan_decode.h
index c181277cdc..76e60836b5 100644
--- a/libavcodec/vulkan_decode.h
+++ b/libavcodec/vulkan_decode.h
@@ -53,15 +53,7 @@ typedef struct FFVulkanDecodeShared {
VkVideoCapabilitiesKHR caps;
VkVideoDecodeCapabilitiesKHR dec_caps;
- AVBufferRef *dpb_hwfc_ref; /* Only used for dedicated_dpb */
-
- AVFrame *layered_frame; /* Only used for layered_dpb */
- VkImageView layered_view;
- VkImageAspectFlags layered_aspect;
-
VkVideoSessionParametersKHR empty_session_params;
-
- VkSamplerYcbcrConversion yuv_sampler;
} FFVulkanDecodeShared;
typedef struct FFVulkanDecodeContext {
@@ -70,7 +62,6 @@ typedef struct FFVulkanDecodeContext {
FFVkExecPool exec_pool;
int dedicated_dpb; /* Oddity #1 - separate DPB images */
- int layered_dpb; /* Madness #1 - layered DPB images */
int external_fg; /* Oddity #2 - hardware can't apply film grain */
uint32_t frame_id_alloc_mask; /* For AV1 only */