summaryrefslogtreecommitdiffstats
path: root/video/csputils.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-15 16:28:39 +0100
committerwm4 <wm4@nowhere>2014-02-16 03:51:02 +0100
commitccfbe434558075c5d5dd9353a8c9dcc1b9954547 (patch)
tree00c916bd57d15acd950651ae057895439a80ce5e /video/csputils.h
parent317a02bdd43ee4d650e4faea340c610fdfa82ff5 (diff)
downloadmpv-ccfbe434558075c5d5dd9353a8c9dcc1b9954547.tar.bz2
mpv-ccfbe434558075c5d5dd9353a8c9dcc1b9954547.tar.xz
csputils: provide string descriptions of chroma locations
Diffstat (limited to 'video/csputils.h')
-rw-r--r--video/csputils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/csputils.h b/video/csputils.h
index 6ae26124c5..c11c3506a6 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -92,8 +92,11 @@ enum mp_chroma_location {
MP_CHROMA_AUTO,
MP_CHROMA_LEFT, // mpeg2/4, h264
MP_CHROMA_CENTER, // mpeg1, jpeg
+ MP_CHROMA_COUNT,
};
+extern const char *const mp_chroma_names[MP_CHROMA_COUNT];
+
enum mp_csp_equalizer_param {
MP_CSP_EQ_BRIGHTNESS,
MP_CSP_EQ_CONTRAST,