Closed thesword53 closed 11 months ago
Thanks for the patch. It's probably worth waiting until the libva patch is accepted before merging this in.
The pull request for VA_FOURCC_Q416
has been merged to libva
2.20.0 https://github.com/intel/libva/pull/735
NVIDIA driver uses 16 bits surfaces for YUV 444 10 and 12 bits decoding. VA_FOURCC_Q410 (yuv444p10), VA_FOURCC_Q412 (yuv444p12) formats lead to invalid video output, so I only kept VA_FOURCC_Q416 (yuv444p16).
To test these formats, I patched
ffmpeg
andlibva
with following files:ffmpeg
6.0:libva
2.19.0I will also pull request these patches to libva and FFmpeg repo.