summaryrefslogtreecommitdiffstats
path: root/libvo/csputils.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 19:59:58 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-31 19:59:58 +0000
commit498ad7ba573b80ac8740886b46f9f8e660647858 (patch)
treed7f778585377a31f6a78087c996d35e266425815 /libvo/csputils.h
parent0ecf324ac56d58230bcd34faecd92d8749f090a6 (diff)
downloadmpv-498ad7ba573b80ac8740886b46f9f8e660647858.tar.bz2
mpv-498ad7ba573b80ac8740886b46f9f8e660647858.tar.xz
First steps to supporting different YUV->RGB conversion definitions.
The numbers are possibly still wrong though. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30151 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/csputils.h')
-rw-r--r--libvo/csputils.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libvo/csputils.h b/libvo/csputils.h
index 1218b1a473..29760fd872 100644
--- a/libvo/csputils.h
+++ b/libvo/csputils.h
@@ -21,7 +21,17 @@
#include <stdint.h>
+enum mp_csp_standard {
+ MP_CSP_DEFAULT,
+ MP_CSP_BT_601,
+ MP_CSP_BT_709,
+ MP_CSP_SMPTE_240M,
+ MP_CSP_EBU,
+ MP_CSP_COUNT
+};
+
struct mp_csp_params {
+ enum mp_csp_standard format;
float brightness;
float contrast;
float hue;