changeset 26835:315e911d5762

Forgotten changes to gl_common.h
author reimar
date Sat, 24 May 2008 11:04:18 +0000
parents aadfce1c25c8
children ba086caf1230
files libvo/gl_common.h
diffstat 1 files changed, 15 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.h	Sat May 24 11:03:00 2008 +0000
+++ b/libvo/gl_common.h	Sat May 24 11:04:18 2008 +0000
@@ -263,11 +263,21 @@
 //! 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);