Bug 240633
Summary: | [Linux] TextureMapperPlatformLayerProxyDMABuf should support different colorspaces | ||
---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> |
Component: | New Bugs | Assignee: | Zan Dobersek (Reviews) <zdobersek> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | 240952 | ||
Bug Blocks: | 237649 |
Zan Dobersek
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/93957133>
Zan Dobersek
Pull request: https://github.com/WebKit/WebKit/pull/1174
EWS
Committed r295048 (251143@main): <https://commits.webkit.org/251143@main>
Reviewed commits have been landed. Closing PR #1174 and removing active labels.