Skip to content

Conversation

@ccameron-chromium
Copy link

@ccameron-chromium ccameron-chromium commented Jun 13, 2025

Fixes #149


Preview | Diff


A [=/screen=] has an <dfn>HDR headroom</dfn>, which is the current [=/HDR headroom=] of the screen.

Note: The [=screen/HDR headroom=], being the base 2 logarithm of the peak luminance of the screen to the [=/HDR reference white=] luminance of the screen (which is the luminance of '[=/white=]') has to be zero for [=/standard dynamic range=] displays. For [=/high dynamic range=] capable displays it can be zero or greater than zero and can vary over time in response to changes in the presence or absence of HDR content on the screen, screen brightness, ambient brightness, power management feature, and other factors.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I am missing some details here.
How peak luminance of the screen is specified? Is it read from the OS/display settings?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some operating systems (Windows) expose the peak luminance, and the headroom is derived from the ratio.

Other operating systems (macOS, iOS, Android) just expose the ratio and abstract away the peak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add HDR headroom parameter to ScreenDetailed

4 participants