diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-25 16:07:54 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-09-25 16:07:54 +0000 |
commit | d16d2c3e3219c5618f43ff4b8309d278c4c8b573 (patch) | |
tree | 9fe81775b340e2d1f21a8879469e039e5732a64d /libvo/gl_common.h | |
parent | bbd3dc0511cb170289c1345ab4a7481c94d963a1 (diff) | |
download | mpv-d16d2c3e3219c5618f43ff4b8309d278c4c8b573.tar.bz2 mpv-d16d2c3e3219c5618f43ff4b8309d278c4c8b573.tar.xz |
Support rectangular texture in fragment programs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index ebb15028f7..fd2a4436ae 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -158,7 +158,8 @@ void glDrawTex(GLfloat x, GLfloat y, GLfloat w, GLfloat h, #define YUV_CONVERSION_FRAGMENT_POW 3 //! use a fragment program with additional table lookup for YUV conversion #define YUV_CONVERSION_FRAGMENT_LOOKUP 4 -void glSetupYUVConversion(int type, float brightness, float contrast, +void glSetupYUVConversion(GLenum target, int type, + float brightness, float contrast, float hue, float saturation, float rgamma, float ggamma, float bgamma); void inline glEnableYUVConversion(GLenum target, int type); |