1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-02 21:12:23 +00:00
mpv/video/filter
Niklas Haas 923e3c7b20 vo_opengl: generalize HDR tone mapping mechanism
This involves multiple changes:

1. Brightness metadata is split into nominal peak and signal peak.

For a quick and dirty explanation: nominal peak is the brightest value
that your color space can represent (i.e. the brightness of an encoded
1.0), and signal peak is the brightest value that actually occurs in
the video (i.e. the brightest thing that's displayed).

2. vo_opengl uses a new decision logic to figure out the right nom_peak
and sig_peak for all situations. It also does a better job of picking
the right target gamut/colorspace to use for the OSD. (Which still is
and still should be treated as sRGB). This change in logic also
fixes #3293 en passant.

3. Since it was growing rapidly, the logic for auto-guessing / inferring
the right colorimetry configuration (in pass_colormanage) was split from
the logic for actually performing the adaptation (now pass_color_map).

Right now, the new logic doesn't do a whole lot since HDR metadata is
still ignored (but not for long).
2016-07-03 19:42:52 +02:00
..
refqueue.c refqueue: free referenced images on free 2016-06-19 19:52:49 +02:00
refqueue.h vf_d3d11vpp: add a D3D11 video processor filter 2016-05-28 19:28:08 +02:00
vf_buffer.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vf_crop.c vf_crop: support opaque hardware decoding formats 2016-05-19 22:56:11 +02:00
vf_d3d11vpp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vf_dlopen.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
vf_dlopen.h vf_dlopen: declare as deprecated 2015-05-25 21:13:54 +02:00
vf_dsize.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_eq.c Update license headers 2015-04-13 12:10:01 +02:00
vf_expand.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_flip.c Update license headers 2015-04-13 12:10:01 +02:00
vf_format.c vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00
vf_gradfun.c Update license headers 2015-04-13 12:10:01 +02:00
vf_lavfi.c af_lavfi, vf_lavfi: fix compilation on Libav 2016-01-22 20:53:52 +01:00
vf_lavfi.h video/filters: simplify libavfilter bridge 2015-02-11 17:35:58 +01:00
vf_mirror.c vf_mirror: replace internal implementation with libavfilter 2015-04-16 22:43:15 +02:00
vf_noformat.c Update license headers 2015-04-13 12:10:01 +02:00
vf_pullup.c Update license headers 2015-04-13 12:10:01 +02:00
vf_rotate.c Update license headers 2015-04-13 12:10:01 +02:00
vf_scale.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vf_stereo3d.c vf_stereo3d: add alternating modes 2015-12-18 15:35:06 +01:00
vf_sub.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
vf_vapoursynth.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vf_vavpp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vf_vdpaupp.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
vf_vdpaurb.c vf_vdpaurb: use new common nv12 download code 2016-06-21 21:44:13 +02:00
vf_yadif.c vf_yadif: change defaults 2015-12-21 22:05:40 +01:00
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