diff options
Diffstat (limited to 'video/csputils.c')
-rw-r--r-- | video/csputils.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/video/csputils.c b/video/csputils.c index 5b5c4e1def..c97f08ea0c 100644 --- a/video/csputils.c +++ b/video/csputils.c @@ -66,6 +66,7 @@ const struct m_opt_choice_alternatives mp_csp_prim_names[] = { {"cie1931", MP_CSP_PRIM_CIE_1931}, {"dci-p3", MP_CSP_PRIM_DCI_P3}, {"v-gamut", MP_CSP_PRIM_V_GAMUT}, + {"s-gamut", MP_CSP_PRIM_S_GAMUT}, {0} }; @@ -453,6 +454,14 @@ struct mp_csp_primaries mp_get_csp_primaries(enum mp_csp_prim spc) .blue = {0.100, -0.03}, .white = d65 }; + // From Sony S-Log reference manual + case MP_CSP_PRIM_S_GAMUT: + return (struct mp_csp_primaries) { + .red = {0.730, 0.280}, + .green = {0.140, 0.855}, + .blue = {0.100, -0.05}, + .white = d65 + }; default: return (struct mp_csp_primaries) {{0}}; } |