summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-06-10 02:51:32 +0200
committerwm4 <wm4@nowhere>2017-06-18 20:54:44 +0200
commit2e45b8fa1ad7577fa733db2927fc1ca64d1f921e (patch)
treefa74b9e55a8fb45ec1fec1b36b2a66d33947d8ab /video/csputils.h
parent326e02e955fbd88b5fbd489a14cf332b1e450957 (diff)
downloadmpv-2e45b8fa1ad7577fa733db2927fc1ca64d1f921e.tar.bz2
mpv-2e45b8fa1ad7577fa733db2927fc1ca64d1f921e.tar.xz
vo_opengl: implement sony s-log2 trc
Apparently this is virtually identical to Panasonic's V-Log, but using the constants from S-Log1 and an extra scaling coefficient to make the S-Log1 curve less limited. Whatever floats their NIH boat, I guess. Source: https://pro.sony.com/bbsccms/assets/files/micro/dmpc/training/S-Log2_Technical_PaperV1_0.pdf
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/csputils.h b/video/csputils.h
index dc78a670ff..2119cca45a 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -84,6 +84,7 @@ enum mp_csp_trc {
MP_CSP_TRC_HLG,
MP_CSP_TRC_V_LOG,
MP_CSP_TRC_S_LOG1,
+ MP_CSP_TRC_S_LOG2,
MP_CSP_TRC_COUNT
};