vulkan video decoding: radv status
I've been working the past couple of weeks with an ffmpeg developer (Lynne) doing Vulkan video decode bringup on radv.
The current status of this work is in a branch. This work is all against the current EXT decode beta extensions in the spec.
Khronos has released the final specs for these extensions. This work is rebased onto the final KHR form and is in a merge request for radv.
This contains an initial implementation of H264 and H265 decoding for AMD GPUs from TONGA to NAVI2x. It passes the basic conformance tests but fails some of the more complicated ones, but it has decoded the streams we've been throwing at it using ffmpeg.
Building:git clone https://gitlab.freedesktop.org/airlied/mesa
git checkout radv-vulkan-video-prelim-decode
meson build -Dvulkan-beta=true -Dvulkan-drivers=amd -Dvideo-codecs=h264dec,h265dec --prefix=<prefix>
For merge branch:
This should show support for VK_KHR_video_queue, VK_KHR_video_decode_queue, VK_EXT_video_decode_h264 and VK_EXT_video_decode_h265.