# HG changeset patch # User reimar # Date 1211627058 0 # Node ID 315e911d5762af26a90a9eafc9bbad2e02be76f8 # Parent aadfce1c25c877392c6572549c3bf7160dac835f Forgotten changes to gl_common.h diff -r aadfce1c25c8 -r 315e911d5762 libvo/gl_common.h --- 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);