From c4c806a9d743ec917450515db15b270981930259 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 31 Dec 2009 18:07:37 +0000 Subject: Put the colourspace-related variables into a separate struct to ease extracting the code and sharing with other vos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30149 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'libvo/gl_common.h') 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; -- cgit v1.2.3