summaryrefslogtreecommitdiff
path: root/libavcodec/vulkan_video.h
Commit message (Collapse)AuthorAge
* vulkan_av1: port to the new stable APILynne2024-03-25
| | | | Co-Authored-by: Dave Airlie <airlied@redhat.com>
* avcodec/vulkan_video: Merge dec part of FFVkCodecMap and extension propsAndreas Rheinhardt2024-03-07
| | | | | | | | | | | | | | | | All the fields of FFVkCodecMap are either decoder-only or encoder-only (with the latter being unused and unset for now). Yet there is already a per-decoder struct containing static information about these decoders, namely VkExtensionProperties. This commit merges the decoder-parts of FFVkCodecMap with the VkExtensionProperties into a common structure. Given that FFVkCodecMap is now unused, it is removed. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/vulkan_video: Don't use sparse tableAndreas Rheinhardt2024-03-03
| | | | | | | | | | | | ff_vk_codec_map currently is an array indexed by AVCodecID; it has AV_CODEC_ID_FIRST_AUDIO (= 65536) entries, but uses only three of them; only 24B of 1MiB were actually used This commit fixes this by adding an AVCodecID field to the table and making it non-sparse. Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* {avcodec,tests}: rename the bundled Mesa AV1 vulkan video headersJan Ekström2024-02-18
| | | | | | | | | | | | | | | | | | This together with adjusting the inclusion define allows for the build to not fail with latest Vulkan-Headers that contain the stabilized Vulkan AV1 decoding definitions. Compilation fails currently as the AV1 header is getting included via hwcontext_vulkan.h -> <vulkan/vulkan.h> -> vulkan_core.h, which finally includes vk_video/vulkan_video_codec_av1std.h and the decode header, leading to the bundled header to never defining anything due to the inclusion define being the same. This fix is imperfect, as it leads to additional re-definition warnings for things such as VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION. , but it is not clear how to otherwise have the bundled version trump the actually standardized one for a short-term compilation fix.
* vulkan_decode: convert max level from vulkan to av for comparisonsLynne2023-09-08
|
* av1dec: add Vulkan hwaccelLynne2023-05-29
|
* libavcodec: add Vulkan common video codeLynne2023-05-29