diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-12-14 16:18:17 -0500 |
---|---|---|
committer | Jan Ekström <jeebjp@gmail.com> | 2017-12-14 23:31:09 +0200 |
commit | 3b0ed13e39d02a653c433f56b6c7506801939e23 (patch) | |
tree | cc6965dfebff3cd3e1fdb9ee403af8e96fbccf83 | |
parent | 74c6e7ba1d02afce12b44fc63f2bba678fdb3577 (diff) | |
download | mpv-3b0ed13e39d02a653c433f56b6c7506801939e23.tar.bz2 mpv-3b0ed13e39d02a653c433f56b6c7506801939e23.tar.xz |
csputils: Fix DCI P3 primaries white point
-rw-r--r-- | video/csputils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/video/csputils.c b/video/csputils.c index d9a5c29491..438e1c752b 100644 --- a/video/csputils.c +++ b/video/csputils.c @@ -363,6 +363,7 @@ struct mp_csp_primaries mp_get_csp_primaries(enum mp_csp_prim spc) d50 = {0.34577, 0.35850}, d65 = {0.31271, 0.32902}, c = {0.31006, 0.31616}, + dci = {0.31400, 0.35100}, e = {1.0/3.0, 1.0/3.0}; switch (spc) { @@ -438,7 +439,7 @@ struct mp_csp_primaries mp_get_csp_primaries(enum mp_csp_prim spc) .red = {0.680, 0.320}, .green = {0.265, 0.690}, .blue = {0.150, 0.060}, - .white = d65 + .white = dci }; // From Panasonic VARICAM reference manual case MP_CSP_PRIM_V_GAMUT: |