diff options
author | Lynne <dev@lynne.ee> | 2023-06-13 06:10:20 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2023-06-22 18:17:47 +0200 |
commit | 13ff3aa9e74508c735b57f73767aac6912c429aa (patch) | |
tree | e8f63044b765cd55b5ec0c3839c451bcfeec7f11 /libavcodec/vulkan_decode.h | |
parent | 1bcb8a73382a253cee8b2b9e704e5a2fa3369593 (diff) | |
download | ffmpeg-13ff3aa9e74508c735b57f73767aac6912c429aa.tar.gz |
vulkan_decode: use the hwfc->user_opaque field to store the profile
Diffstat (limited to 'libavcodec/vulkan_decode.h')
-rw-r--r-- | libavcodec/vulkan_decode.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/vulkan_decode.h b/libavcodec/vulkan_decode.h index 681d2476cd..3ac103f6b4 100644 --- a/libavcodec/vulkan_decode.h +++ b/libavcodec/vulkan_decode.h @@ -26,8 +26,6 @@ #include "vulkan_video.h" typedef struct FFVulkanDecodeProfileData { - VkVideoCapabilitiesKHR caps; - VkVideoDecodeCapabilitiesKHR dec_caps; VkVideoDecodeH264ProfileInfoKHR h264_profile; VkVideoDecodeH264ProfileInfoKHR h265_profile; VkVideoDecodeAV1ProfileInfoMESA av1_profile; @@ -40,7 +38,9 @@ typedef struct FFVulkanDecodeShared { FFVulkanContext s; FFVkVideoCommon common; FFVkExecPool exec_pool; - FFVulkanDecodeProfileData profile_data; + + VkVideoCapabilitiesKHR caps; + VkVideoDecodeCapabilitiesKHR dec_caps; AVBufferRef *dpb_hwfc_ref; /* Only used for dedicated_dpb */ |