summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-24 11:04:18 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-05-24 11:04:18 +0000
commitdbe3c2994a3ae8c5feebf47318c7a4256fc0e998 (patch)
tree542b78a28ad4207097b500936a531e6589a5c4ff
parent056b5b9457795eccc48b92ff1bf61ffcd516d136 (diff)
downloadmpv-dbe3c2994a3ae8c5feebf47318c7a4256fc0e998.tar.bz2
mpv-dbe3c2994a3ae8c5feebf47318c7a4256fc0e998.tar.xz
Forgotten changes to gl_common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26867 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libvo/gl_common.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index 66fc2fe799..d9ce734bb0 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -263,11 +263,21 @@ 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)
/** \} */
-void glSetupYUVConversion(GLenum target, int type,
- float brightness, float contrast,
- float hue, float saturation,
- float rgamma, float ggamma, float bgamma,
- int texw, int texh);
+typedef struct {
+ GLenum target;
+ int type;
+ float brightness;
+ float contrast;
+ float hue;
+ float saturation;
+ float rgamma;
+ float ggamma;
+ float bgamma;
+ int texw;
+ int texh;
+} gl_conversion_params_t;
+
+void glSetupYUVConversion(gl_conversion_params_t *params);
void glEnableYUVConversion(GLenum target, int type);
void glDisableYUVConversion(GLenum target, int type);