0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/decode
Niklas Haas 5b6cce2b73 vd_lavc: expose mastering display side data reference peak
This greatly improves the result when decoding typical (ST.2084) HDR
content, since the job of tone mapping gets significantly easier when
you're only mapping from 1000 to 250, rather than 10000 to 250.

The difference is so drastic that we can now even reasonably use
`hdr-tone-mapping=linear` and get a very perceptually uniform result
that is only slightly darker than normal. (To compensate for the extra
dynamic range)

Due to weird implementation details, this only seems to be present on
keyframes (or something like that), so we have to cache the last seen
value for the frames in between.

Also, in some files the metadata is just completely broken /
nonsensical, so I decided to apply a simple heuristic to detect
completely broken metadata.
2016-07-03 19:42:52 +02:00
..
d3d11va.c d3d11va: remove unused d3d11va_surface.subindex field 2016-06-16 18:13:46 +02:00
d3d.c d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
d3d.h d3d: implement screenshots for --hwdec=d3d11va 2016-06-28 20:38:53 +02:00
dec_video.c dec_video: always redisplay cover art after a seek 2016-03-11 20:58:13 +01:00
dec_video.h video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
dxva2.c dxva2: remove dead code in failure case 2016-06-07 18:53:05 +10:00
lavc.h vd_lavc: expose mastering display side data reference peak 2016-07-03 19:42:52 +02:00
vaapi.c vaapi: avoid forward declaration of variable 2016-05-15 18:37:51 +02:00
vd_lavc.c vd_lavc: expose mastering display side data reference peak 2016-07-03 19:42:52 +02:00
vd.h video: approximate AVI timestamps via DTS handling 2016-02-11 16:14:30 +01:00
vdpau.c vo_opengl: vdpau interop without RGB conversion 2016-06-19 19:58:40 +02:00
videotoolbox.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00