summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 23a78c24a0..8410c4c954 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -327,9 +327,8 @@ int loadGPUProgram(GLenum target, char *prog);
//! extract chrominance scaler out of type
#define YUV_CHROM_SCALER(t) ((t >> YUV_CHROM_SCALER_SHIFT) & YUV_SCALER_MASK)
/** \} */
-typedef struct {
- GLenum target;
- int type;
+
+struct mp_csp_params {
float brightness;
float contrast;
float hue;
@@ -337,6 +336,12 @@ typedef struct {
float rgamma;
float ggamma;
float bgamma;
+};
+
+typedef struct {
+ GLenum target;
+ int type;
+ struct mp_csp_params csp_params;
int texw;
int texh;
int chrom_texw;