David Rosca at AMD continues leading the efforts for improving the open-source Radeon video acceleration support under Linux with the Mesa Gallium3D code. This is especially important now that AMD is encouraging customers to no longer use the AMD Multimedia Framework (AMF) on Linux but resort to using VA-API and the Mesa multimedia capabilities instead.
Rosca merged to Mesa 25.3-devel a rework of the color conversion code for the Mesa Gallium3D video acceleration code. Notable is adding support for BT.2020 SMPTE240M and getting the changes into place for basic support for High Dynamic Range (HDR) video content when using video processing shaders.
The AMD engineer explained in the now-merged merge request:
“This adds support for BT.2020 SMPTE240M, RGB->YUV support for all standards and color ranges (before only RGB full to BT709 YUV full/limited was supported) and improves accuracy with >8 bits formats.
Also implements transfer function and primaries conversions.
This enables basic support for HDR when using processing shaders.”
This is predominantly work to the common Gallium3D VL code but the testing has been focused at least on the RadeonSI Gallium3D driver with AMD GPUs using Video Core Next (VCN).
