summaryrefslogtreecommitdiffstats
path: root/video/csputils.c
diff options
context:
space:
mode:
authorWessel Dankers <wsl@uvt.nl>2018-08-22 14:39:40 +0200
committerwm4 <1387750+wm4@users.noreply.github.com>2019-09-27 13:21:41 +0200
commit643417dd175ebe3a1b90213f97acddaea7eaea80 (patch)
treeecd0f64845724490fc932aa28d643e850a208163 /video/csputils.c
parent919b7a55cdc837166bf831cdd1f01e4ad5b2cf89 (diff)
downloadmpv-643417dd175ebe3a1b90213f97acddaea7eaea80.tar.bz2
mpv-643417dd175ebe3a1b90213f97acddaea7eaea80.tar.xz
video: add pure gamma TRC curves for 2.0, 2.4 and 2.6.
Diffstat (limited to 'video/csputils.c')
-rw-r--r--video/csputils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/csputils.c b/video/csputils.c
index f02a4ca4b8..6f88fe30b2 100644
--- a/video/csputils.c
+++ b/video/csputils.c
@@ -78,7 +78,10 @@ const struct m_opt_choice_alternatives mp_csp_trc_names[] = {
{"srgb", MP_CSP_TRC_SRGB},
{"linear", MP_CSP_TRC_LINEAR},
{"gamma1.8", MP_CSP_TRC_GAMMA18},
+ {"gamma2.0", MP_CSP_TRC_GAMMA20},
{"gamma2.2", MP_CSP_TRC_GAMMA22},
+ {"gamma2.4", MP_CSP_TRC_GAMMA24},
+ {"gamma2.6", MP_CSP_TRC_GAMMA26},
{"gamma2.8", MP_CSP_TRC_GAMMA28},
{"prophoto", MP_CSP_TRC_PRO_PHOTO},
{"pq", MP_CSP_TRC_PQ},