Mercurial > mplayer.hg
comparison libvo/gl_common.h @ 26835:315e911d5762
Forgotten changes to gl_common.h
author | reimar |
---|---|
date | Sat, 24 May 2008 11:04:18 +0000 |
parents | 0d255d03016f |
children | ba086caf1230 |
comparison
equal
deleted
inserted
replaced
26834:aadfce1c25c8 | 26835:315e911d5762 |
---|---|
261 //! extract luminance scaler out of type | 261 //! extract luminance scaler out of type |
262 #define YUV_LUM_SCALER(t) ((t >> YUV_LUM_SCALER_SHIFT) & YUV_SCALER_MASK) | 262 #define YUV_LUM_SCALER(t) ((t >> YUV_LUM_SCALER_SHIFT) & YUV_SCALER_MASK) |
263 //! extract chrominance scaler out of type | 263 //! extract chrominance scaler out of type |
264 #define YUV_CHROM_SCALER(t) ((t >> YUV_CHROM_SCALER_SHIFT) & YUV_SCALER_MASK) | 264 #define YUV_CHROM_SCALER(t) ((t >> YUV_CHROM_SCALER_SHIFT) & YUV_SCALER_MASK) |
265 /** \} */ | 265 /** \} */ |
266 void glSetupYUVConversion(GLenum target, int type, | 266 typedef struct { |
267 float brightness, float contrast, | 267 GLenum target; |
268 float hue, float saturation, | 268 int type; |
269 float rgamma, float ggamma, float bgamma, | 269 float brightness; |
270 int texw, int texh); | 270 float contrast; |
271 float hue; | |
272 float saturation; | |
273 float rgamma; | |
274 float ggamma; | |
275 float bgamma; | |
276 int texw; | |
277 int texh; | |
278 } gl_conversion_params_t; | |
279 | |
280 void glSetupYUVConversion(gl_conversion_params_t *params); | |
271 void glEnableYUVConversion(GLenum target, int type); | 281 void glEnableYUVConversion(GLenum target, int type); |
272 void glDisableYUVConversion(GLenum target, int type); | 282 void glDisableYUVConversion(GLenum target, int type); |
273 | 283 |
274 /** \addtogroup glcontext | 284 /** \addtogroup glcontext |
275 * \{ */ | 285 * \{ */ |