[MPlayer-cvslog] r26867 - trunk/libvo/gl_common.h

reimar subversion at mplayerhq.hu
Sat May 24 13:04:19 CEST 2008


Author: reimar
Date: Sat May 24 13:04:18 2008
New Revision: 26867

Log:
Forgotten changes to gl_common.h


Modified:
   trunk/libvo/gl_common.h

Modified: trunk/libvo/gl_common.h
==============================================================================
--- trunk/libvo/gl_common.h	(original)
+++ trunk/libvo/gl_common.h	Sat May 24 13:04:18 2008
@@ -263,11 +263,21 @@ int loadGPUProgram(GLenum target, char *
 //! 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);
 



More information about the MPlayer-cvslog mailing list