summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-01-28 18:52:33 +0100
committerNiklas Haas <git@nand.wakku.to>2015-01-28 18:52:33 +0100
commit8d15f7583ca000bc06568c79175835a7eed3cd3d (patch)
tree668e152e25a32fbc609d3dbb7810ddcd707d03fe /video/csputils.h
parent0a38d69ac053c09ecb962d62c10d925dbe6b0dd7 (diff)
downloadmpv-8d15f7583ca000bc06568c79175835a7eed3cd3d.tar.bz2
mpv-8d15f7583ca000bc06568c79175835a7eed3cd3d.tar.xz
vo_opengl: remove is_linear_rgb and clean up code
This opportunity for refactoring was enabled by f3c84a3.
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/csputils.h b/video/csputils.h
index f973117751..abf319cdcb 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -70,7 +70,8 @@ enum mp_csp_prim {
enum mp_csp_trc {
MP_CSP_TRC_NONE,
MP_CSP_TRC_BT_1886,
- MP_CSP_TRC_SRGB
+ MP_CSP_TRC_SRGB,
+ MP_CSP_TRC_LINEAR
};
// Any enum mp_csp_prim value is a valid index (except MP_CSP_PRIM_COUNT)