1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-24 08:33:34 +00:00
mpv/video/filter
Niklas Haas 45c3e0f0d0 vo_opengl: refactor HDR mechanism
Instead of doing HDR tone mapping on an ad-hoc basis inside
pass_colormanage, the reference peak of an image is now part of the
image params (alongside colorspace, gamma, etc.) and tone mapping is
done whenever peak_src != peak_dst.

To get sensible behavior when mixing HDR and SDR content and displays,
target-brightness is a generic filler for "the assumed brightness of SDR
content".

This gets rid of the weird display_scaled hack, sets the framework
for multiple HDR functions with difference reference peaks, and allows
us to (in a future commit) autodetect the right source peak from
the HDR metadata.

(Apart from metadata, the source peak can also be controlled via
vf_format. For HDR content this adjusts the overall image brightness,
for SDR content it's like simulating a different exposure)
2016-05-30 20:17:33 +02:00
..
refqueue.c vf_d3d11vpp: add a D3D11 video processor filter 2016-05-28 19:28:08 +02:00
refqueue.h vf_d3d11vpp: add a D3D11 video processor filter 2016-05-28 19:28:08 +02:00
vf_buffer.c
vf_crop.c vf_crop: support opaque hardware decoding formats 2016-05-19 22:56:11 +02:00
vf_d3d11vpp.c video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00
vf_dlopen.c
vf_dlopen.h
vf_dsize.c
vf_eq.c
vf_expand.c
vf_flip.c
vf_format.c vo_opengl: refactor HDR mechanism 2016-05-30 20:17:33 +02:00
vf_gradfun.c
vf_lavfi.c
vf_lavfi.h
vf_mirror.c
vf_noformat.c
vf_pullup.c
vf_rotate.c
vf_scale.c
vf_stereo3d.c
vf_sub.c
vf_vapoursynth.c
vf_vavpp.c vf_vdpaupp: use refqueue helper 2016-05-27 17:03:00 +02:00
vf_vdpaupp.c vf_vdpaupp: use refqueue helper 2016-05-27 17:03:00 +02:00
vf_vdpaurb.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vf_yadif.c
vf.c vf: fix filter auto-insertion 2016-05-30 20:03:01 +02:00
vf.h video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00