Open Bug 2012850 Opened 6 days ago Updated 6 days ago

[HDR] Support HLG transfer function sources

Categories

(Core :: Graphics: Color Management, defect, P1)

defect

Tracking

()

ASSIGNED

People

(Reporter: ahale, Assigned: ahale)

References

(Blocks 1 open bug)

Details

Per a comment on https://mozillagfx.wordpress.com/2026/01/16/experimental-high-dynamic-range-video-playback-on-windows-in-firefox-nightly-148/ we're currently not utilizing HLG transfer function on some YouTube videos and BBC videos, this will also be potentially relevant to HDR images and Canvas2D/WebGL/WebGPU.

From a video perspective the lacking feature is TextureHost not storing the mTransferFunction of the video, we need to plumb that through so that compositor code (e.g. DCLayerTree for Windows) and related code can use the correct colorspace selection for this transfer function rather than assuming that BT2020 is PQ (which is only one of the three transfer functions that colorspace can use, one of which isn't even HDR).

Here's a test URL on YouTube: https://www.youtube.com/watch?v=3ypGuk6JC6M

Blocks: 2012848
No longer depends on: 2012848
You need to log in before you can comment on or make changes to this bug.