Commit ca206a51 authored by Niklas Haas's avatar Niklas Haas Committed by Hugo Beauzée-Luyssen
Browse files

libplacebo: add support for BT.2390 EETF

This has already been the default in most libplacebo versions, in that
`pl_color_map_default_params.tone_mapping_algo` was equal to this value.
Despite this, it was never exposed in the UI, meaning users could not
actually manually select it.

Update the string to make it clear that this is the intended/recommended
default.
parent ccad653c
......@@ -150,6 +150,9 @@ static const char * const trc_text[] = {
#define TONEMAPPING_LONGTEXT "Algorithm to use when converting from wide gamut to standard gamut, or from HDR to SDR."
static const int tone_values[] = {
#if PL_API_VER >= 68
PL_TONE_MAPPING_BT_2390,
#endif
PL_TONE_MAPPING_HABLE,
PL_TONE_MAPPING_MOBIUS,
PL_TONE_MAPPING_REINHARD,
......@@ -159,7 +162,10 @@ static const int tone_values[] = {
};
static const char * const tone_text[] = {
"Hable (filmic mapping, recommended)",
#if PL_API_VER >= 68
"ITU-R BT.2390 EETF (recommended)",
#endif
"Hable (filmic mapping)",
"Mobius (linear + knee)",
"Reinhard (simple non-linear)",
"Gamma-Power law",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment