summaryrefslogtreecommitdiffstats
path: root/video/mp_image.c
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-03-25 18:45:08 +0100
committerwm4 <wm4@nowhere>2014-06-22 19:00:38 +0200
commit86d3d11a68510764504a2a3c5987ab8e059d6df5 (patch)
tree9db725a7fadd4790c3cd0ec492fcd005888d1b44 /video/mp_image.c
parent082fbe39e8b67043f4a5aec1b7396eca14403791 (diff)
downloadmpv-86d3d11a68510764504a2a3c5987ab8e059d6df5.tar.bz2
mpv-86d3d11a68510764504a2a3c5987ab8e059d6df5.tar.xz
video: Add BT.2020-NCL colorspace and transfer function
Source: http://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-0-201208-I!!PDF-E.pdf
Diffstat (limited to 'video/mp_image.c')
-rw-r--r--video/mp_image.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/mp_image.c b/video/mp_image.c
index 85638e9fd1..64c310aaed 100644
--- a/video/mp_image.c
+++ b/video/mp_image.c
@@ -521,6 +521,7 @@ void mp_image_params_guess_csp(struct mp_image_params *params)
if (fmt.flags & MP_IMGFLAG_YUV) {
if (params->colorspace != MP_CSP_BT_601 &&
params->colorspace != MP_CSP_BT_709 &&
+ params->colorspace != MP_CSP_BT_2020_NC &&
params->colorspace != MP_CSP_SMPTE_240M &&
params->colorspace != MP_CSP_YCGCO)
{