Skip to content

gallium/va: vaDeriveImage to check PIPE_VIDEO_SUPPORTS_CONTIGUOUS_PLANES_MAP

In the change !17472 (merged) vaDeriveImage was disallowed for ffmpeg as it was producing an issue due to the map not having all the contiguous planes mapped. D3D12 maps all the underlying planes to make use of vaDeriveImage (739283da) and disallowing vaDeriveImage regresses our encoding tests, so adding a new gallium video cap and checking it in vaDeriveImage to only skip this when the cap is not supported. The cap is only reported as true in gallium/d3d12 so the radeonsi fix should still stand for other drivers.

Fixes: ("radeonsi/vcn: WA 10bit encoding crash in vaapi")

Merge request reports