opengl: add GUI options for libplacebo settings
commit8f1a8a15cce213d6d5c4a3892a6a9fa6e2719860
authorNiklas Haas <vlc@haasn.xyz>
Thu, 28 Dec 2017 03:48:56 +0000 (28 04:48 +0100)
committerThomas Guillem <thomas@gllm.fr>
Thu, 4 Jan 2018 11:09:12 +0000 (4 12:09 +0100)
tree951da8ff94b6500a08040525873099d3c11aaaf0
parent9e78bfb791b1ad595e24023c37c228ab32a1d9a4
opengl: add GUI options for libplacebo settings

This allows users to override the target colorspace, some of the
colorspace conversion options, the tone mapping settings, and some of
the dithering settings.

Settings which I decided to omit include:
- dither LUT size (limited by the shader embedding method)
- temporal dither (not currently possible)
- overrides for the source colorspace (shouldn't persist)
- target display's light type (unlikely to not be _DISPLAY)
- target display's HDR metadata (usually taken care of by the display)

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/video_output/opengl/fragment_shaders.c
modules/video_output/opengl/vout_helper.h