summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
Diffstat (limited to 'video')
-rw-r--r--video/csputils.c6
-rw-r--r--video/csputils.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/video/csputils.c b/video/csputils.c
index 8face3164c..f25d20e517 100644
--- a/video/csputils.c
+++ b/video/csputils.c
@@ -45,6 +45,12 @@ char * const mp_csp_names[MP_CSP_COUNT] = {
"YCgCo",
};
+char * const mp_csp_levels_names[MP_CSP_LEVELS_COUNT] = {
+ "Autoselect",
+ "TV",
+ "PC",
+};
+
char * const mp_csp_equalizer_names[MP_CSP_EQ_COUNT] = {
"brightness",
"contrast",
diff --git a/video/csputils.h b/video/csputils.h
index 7c528d1b86..8c9806a1a3 100644
--- a/video/csputils.h
+++ b/video/csputils.h
@@ -53,6 +53,9 @@ enum mp_csp_levels {
MP_CSP_LEVELS_COUNT,
};
+// Any enum mp_csp_levels value is a valid index (except MP_CSP_LEVELS_COUNT)
+extern char * const mp_csp_levels_names[MP_CSP_LEVELS_COUNT];
+
struct mp_csp_details {
enum mp_csp format;
enum mp_csp_levels levels_in; // encoded video