summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-03 19:58:06 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-04-03 19:58:06 +0000
commit269b96d75e7b04f46ef700db4bea772c2e7e252f (patch)
tree75adf8b83223bb6eac10d7d617c998c617dfce90 /libvo/gl_common.h
parentc7cdd996f584da802cea96513a2256aa556d3dce (diff)
downloadmpv-269b96d75e7b04f46ef700db4bea772c2e7e252f.tar.bz2
mpv-269b96d75e7b04f46ef700db4bea772c2e7e252f.tar.xz
Implement OpenGL-based YUV to RGB version for Radeon 9200 class
cards on OS X. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30993 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index d1b78c40bb..d1a382079e 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -71,6 +71,9 @@
#ifndef GL_GENERATE_MIPMAP
#define GL_GENERATE_MIPMAP 0x8191
#endif
+#ifndef GL_TEXT_FRAGMENT_SHADER_ATI
+#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
+#endif
#ifndef GL_REGISTER_COMBINERS_NV
#define GL_REGISTER_COMBINERS_NV 0x8522
#endif
@@ -303,6 +306,8 @@ int loadGPUProgram(GLenum target, char *prog);
#define YUV_CONVERSION_COMBINERS_ATI 5
//! use a fragment program with 3D table lookup for YUV conversion
#define YUV_CONVERSION_FRAGMENT_LOOKUP3D 6
+//! use ATI specific "text" register combiners ("fragment program")
+#define YUV_CONVERSION_TEXT_FRAGMENT 7
//! use normal bilinear scaling for textures
#define YUV_SCALER_BILIN 0
//! use higher quality bicubic scaling for textures