Right now, TextureMapperPlatformLayerProxyDMABuf defaults to converting multiplanar YUV data to RGB via the BT.601 conversion matrix. It should be possible for the incoming DMABufs to have the desired colorspace specified, and the proxy class should respect it to the point of selecting the appropriate conversion matrix.
Besides BT.601, other supported YUV colorspaces should be BT.709, BT.2020 and SMPTE 240M, matching the GStreamer GST_VIDEO_COLORIMETRY_* values.
Pull request: https://github.com/WebKit/WebKit/pull/1174
Committed r295048 (251143@main): <https://commits.webkit.org/251143@main>
Reviewed commits have been landed. Closing PR #1174 and removing active labels.