summaryrefslogtreecommitdiffstats
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2019-01-02 07:18:29 +0100
committerJan Ekström <jeebjp@gmail.com>2019-02-18 01:54:06 +0200
commitfdd671188d7edb8d150ec2c93656fb80bf031f12 (patch)
tree4fc415e7cf8cfbf3de5891f5685a1c875bf9cde0 /video/out/vo_direct3d.c
parent12e58ff8a65c537a222a3fb954f88d98a3a5bfd2 (diff)
downloadmpv-fdd671188d7edb8d150ec2c93656fb80bf031f12.tar.bz2
mpv-fdd671188d7edb8d150ec2c93656fb80bf031f12.tar.xz
vo_gpu: improve accuracy of HDR brightness estimation
This change switches to a logarithmic mean to estimate the average signal brightness. This handles dark scenes with isolated highlights much more faithfully than the linear mean did, since the log of the signal roughly corresponds to the perceptual brightness.
Diffstat (limited to 'video/out/vo_direct3d.c')
0 files changed, 0 insertions, 0 deletions