mpv/video/out/opengl
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
..
angle_dynamic.c vo_opengl: angle: dynamically load ANGLE 2016-05-11 15:39:29 +02:00
angle_dynamic.h vo_opengl: angle: dynamically load ANGLE 2016-05-11 15:39:29 +02:00
common.c vo_opengl: improve missing function warning 2016-06-22 21:55:00 +02:00
common.h vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
context.c vo_opengl: add an angle-es2 backend 2016-05-10 20:19:25 +02:00
context.h
context_angle.c vo_opengl: angle: prevent DXGI hooking Alt+Enter 2016-06-07 18:41:47 +10:00
context_cocoa.c vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
context_drm_egl.c
context_dxinterop.c vo_opengl: dxinterop: render to gl->main_fb 2016-06-18 23:51:57 +10:00
context_rpi.c vo_opengl: rpi: don't include x11 header file 2016-04-15 09:45:15 +02:00
context_rpi.h
context_w32.c vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
context_wayland.c wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
context_x11.c vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
context_x11egl.c vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
egl_helpers.c vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
egl_helpers.h vo_opengl: use standard functions to retrieve display depth 2016-06-14 10:35:43 +02:00
formats.c vo_opengl: make ES float texture format checks stricter 2016-05-23 21:27:18 +02:00
formats.h vo_opengl: make ES float texture format checks stricter 2016-05-23 21:27:18 +02:00
header_fixes.h vo_opengl: manually add the GL_BACK_LEFT constant for GLES 2016-06-20 19:24:42 +02:00
hwdec.c video: remove d3d11 video processor use from OpenGL interop 2016-05-29 19:00:55 +02:00
hwdec.h vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
hwdec_d3d11egl.c d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
hwdec_d3d11eglrgb.c d3d: merge angle_common.h into d3d.h 2016-06-28 20:07:56 +02:00
hwdec_dxva2.c vo_opengl: refactor how hwdec interop exports textures 2016-05-10 18:42:42 +02:00
hwdec_dxva2egl.c d3d: merge angle_common.h into d3d.h 2016-06-28 20:07:56 +02:00
hwdec_dxva2gldx.c vo_opengl: hwdec: remove build-dependency on dxva2 2016-05-17 10:59:11 +02:00
hwdec_osx.c vo_opengl: fix passing along swizzle from hwdec interop 2016-05-10 21:12:57 +02:00
hwdec_vaegl.c vo_opengl: refactor how hwdec interop exports textures 2016-05-10 18:42:42 +02:00
hwdec_vaglx.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
hwdec_vdpau.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
lcms.c vo_opengl: cleanup icc + runtime option changing behavior 2016-06-04 17:52:10 +02:00
lcms.h vo_opengl: cleanup icc + runtime option changing behavior 2016-06-04 17:52:10 +02:00
osd.c vo_opengl: remove caching GL_MAX_TEXTURE_SIZE value 2016-07-03 17:33:59 +02:00
osd.h
user_shaders.c vo_opengl: make user hook passes optional 2016-06-08 20:50:19 +02:00
user_shaders.h vo_opengl: make user hook passes optional 2016-06-08 20:50:19 +02:00
utils.c vo_opengl: use ringbuffer of PBOs 2016-07-03 16:34:32 +02:00
utils.h vo_opengl: use ringbuffer of PBOs 2016-07-03 16:34:32 +02:00
video.c vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00
video.h vo_opengl: remove prescaling framework with superxbr prescaler 2016-06-18 19:17:28 +02:00
video_shaders.c vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00
video_shaders.h vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00