1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-24 00:46:58 +00:00
mpv/video/out
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
..
cocoa cocoa: fix display refresh rate retrieval on multi monitor setups 2016-06-18 19:15:36 +02:00
opengl vo_opengl: generalize HDR tone mapping mechanism 2016-07-03 19:42:52 +02:00
wayland Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
win32 mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
aspect.c aspect: rework --video-unscaled 2016-04-10 18:29:20 +02:00
aspect.h Update license headers 2015-04-13 12:10:01 +02:00
bitmap_packer.c bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_common.h vo_opengl: cocoa: switch to new internal API 2015-10-01 22:42:25 +02:00
cocoa_common.m cocoa: fix display refresh rate retrieval on multi monitor setups 2016-06-18 19:15:36 +02:00
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
dither.h
drm_common.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
drm_common.h Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
filter_kernels.c filter_kernels: improve the gaussian function 2016-01-07 12:17:34 +01:00
filter_kernels.h filter_kernels.h: adjust the license 2016-01-19 18:41:11 +01:00
vo_caca.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_direct3d.c vo_direct3d: remove bitmap packer 2016-07-01 20:28:49 +02:00
vo_drm.c Change GPL/LGPL dual-licensed files to LGPL 2016-01-19 18:36:34 +01:00
vo_image.c mpv_talloc.h: rename from talloc.h 2016-01-11 21:05:55 +01:00
vo_lavc.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_null.c video/out: remove an unused parameter 2015-10-03 18:20:16 +02:00
vo_opengl_cb.c vo_opengl_cb: icc-profile-auto does not and will not work 2016-06-05 15:00:07 +02:00
vo_opengl.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_rpi.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_sdl.c vo_sdl: fix pixel formats. 2016-06-10 16:30:12 -04:00
vo_vaapi.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo_vdpau.c vo_vdpau: remove bitmap packer use 2016-07-01 20:28:49 +02:00
vo_wayland.c wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
vo_x11.c vo_xv, vo_x11: warn that these VOs should not be used 2016-03-06 19:22:15 +01:00
vo_xv.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
vo.c build: silence -Wunused-result 2016-06-07 14:12:33 +02:00
vo.h vo_opengl: expose performance timers as properties 2016-06-07 12:17:25 +02:00
w32_common.c w32_common: make WM_NCHITTEST simpler and more accurate 2016-07-03 21:58:29 +10:00
w32_common.h vo_direct3d: fix operation 2015-10-31 12:52:02 +01:00
wayland_common.c wayland: mark existing dnd entry print as debug rather than an error 2016-05-31 11:22:57 +02:00
wayland_common.h wayland: implement HIDPI support 2016-05-30 20:17:26 +02:00
win_state.c video: switch from using display aspect to sample aspect 2015-12-19 20:45:36 +01:00
win_state.h
x11_common.c x11: tell GNOME to use dark window decorations 2016-05-09 20:39:59 +02:00
x11_common.h x11: move vo->input_ctx accesses to x11->input_ctx 2016-03-15 22:11:31 +01:00
x11_icon.bin