mirror of https://github.com/mpv-player/mpv
a0d8962be8
In sum there were three issues: 1. nominal_peak_luminance is an output parameter, not input 2. mpv internally uses MP_REF_WHITE which we need to scale by 3. the value should be left at its default for SDR Together with the last change this means mpv can sucessfully take HDR screenshots with --screenshot-sw without resulting in a brightly colored mess. Though note that zimg does not perform proper tonemapping. |
||
---|---|---|
.. | ||
decode | ||
filter | ||
out | ||
csputils.c | ||
csputils.h | ||
cuda.c | ||
d3d.c | ||
d3d.h | ||
drmprime.c | ||
fmt-conversion.c | ||
fmt-conversion.h | ||
hwdec.c | ||
hwdec.h | ||
image_loader.c | ||
image_loader.h | ||
image_writer.c | ||
image_writer.h | ||
img_format.c | ||
img_format.h | ||
mp_image.c | ||
mp_image.h | ||
mp_image_pool.c | ||
mp_image_pool.h | ||
repack.c | ||
repack.h | ||
sws_utils.c | ||
sws_utils.h | ||
vaapi.c | ||
vaapi.h | ||
vdpau.c | ||
vdpau.h | ||
vdpau_functions.inc | ||
vdpau_mixer.c | ||
vdpau_mixer.h | ||
zimg.c | ||
zimg.h |