Mercurial > mplayer.hg
comparison libvo/gl_common.h @ 16586:26b156d7a68d
Support rectangular texture in fragment programs
author | reimar |
---|---|
date | Sun, 25 Sep 2005 16:07:54 +0000 |
parents | 3191dcb27a12 |
children | 1bb2b2696451 |
comparison
equal
deleted
inserted
replaced
16585:af59e082803a | 16586:26b156d7a68d |
---|---|
156 #define YUV_CONVERSION_FRAGMENT 2 | 156 #define YUV_CONVERSION_FRAGMENT 2 |
157 //! use a fragment program for YUV conversion with gamma using POW | 157 //! use a fragment program for YUV conversion with gamma using POW |
158 #define YUV_CONVERSION_FRAGMENT_POW 3 | 158 #define YUV_CONVERSION_FRAGMENT_POW 3 |
159 //! use a fragment program with additional table lookup for YUV conversion | 159 //! use a fragment program with additional table lookup for YUV conversion |
160 #define YUV_CONVERSION_FRAGMENT_LOOKUP 4 | 160 #define YUV_CONVERSION_FRAGMENT_LOOKUP 4 |
161 void glSetupYUVConversion(int type, float brightness, float contrast, | 161 void glSetupYUVConversion(GLenum target, int type, |
162 float brightness, float contrast, | |
162 float hue, float saturation, | 163 float hue, float saturation, |
163 float rgamma, float ggamma, float bgamma); | 164 float rgamma, float ggamma, float bgamma); |
164 void inline glEnableYUVConversion(GLenum target, int type); | 165 void inline glEnableYUVConversion(GLenum target, int type); |
165 void inline glDisableYUVConversion(GLenum target, int type); | 166 void inline glDisableYUVConversion(GLenum target, int type); |
166 | 167 |