summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-06-13 17:09:02 +0200
committerwm4 <wm4@nowhere>2017-06-18 20:54:44 +0200
commitfe1227883a865b845c0c271bafd281f288404acb (patch)
tree8f97dfd8e677bb0535c541399e3f27b3c7015a95 /video/csputils.h
parentdeb93707791092e608b1e5f8f1d1773b0057ce59 (diff)
downloadmpv-fe1227883a865b845c0c271bafd281f288404acb.tar.bz2
mpv-fe1227883a865b845c0c271bafd281f288404acb.tar.xz
csputils: rename HDR curves
st2084 and std-b67 are really weird names for PQ and HLG, which is what everybody else (including e.g. the ITU-R) calls them. Follow their example. I decided against naming them bt2020-pq and bt2020-hlg because it's not necessary in this case. The standard name is only used for the other colorspaces etc. because those literally have no other names.
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/csputils.h b/video/csputils.h
index ec7369fa67..8e120922d7 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -79,8 +79,8 @@ enum mp_csp_trc {
MP_CSP_TRC_GAMMA22,
MP_CSP_TRC_GAMMA28,
MP_CSP_TRC_PRO_PHOTO,
- MP_CSP_TRC_SMPTE_ST2084,
- MP_CSP_TRC_ARIB_STD_B67,
+ MP_CSP_TRC_PQ,
+ MP_CSP_TRC_HLG,
MP_CSP_TRC_V_LOG,
MP_CSP_TRC_COUNT
};