Skip to content

Draft: [3.0] direct3d11: adjust the output luminance to the screen

Steve Lhomme requested to merge robUx4/vlc:d3d11-sdr-peak-luminance into 3.0.x

If we output 100 nits on a sceen that reports 400 nits in SDR mode the picture will look too dim.

The 270 value is the normal value reported on an SDR screen, so we scale the screen value accordingly.

Fixes 26112

This is only for 3.0 and 4.0 is different, it uses the d3d11 callbacks to get the screen information.

Draft as it needs to be tested on various screen/Windows configurations

Edited by Steve Lhomme

Merge request reports