[MPlayer-cvslog] r18677 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Sun Jun 11 12:08:40 CEST 2006


Author: reimar
Date: Sun Jun 11 12:08:40 2006
New Revision: 18677

Modified:
   trunk/libvo/gl_common.c

Log:
fix image adjustment (brightness etc.) for yuv=6


Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	(original)
+++ trunk/libvo/gl_common.c	Sun Jun 11 12:08:40 2006
@@ -786,8 +786,8 @@
 //! resolution for 3D yuv->rgb conversion lookup table
 #define LOOKUP_3DRES 32
 static void create_conv_textures(int conv, int *texu, char *texs,
-              int brightness, int contrast, int uvcos, int uvsin,
-              int rgamma, int ggamma, int bgamma) {
+              float brightness, float contrast, float uvcos, float uvsin,
+              float rgamma, float ggamma, float bgamma) {
   unsigned char *lookup_data = NULL;
   switch (conv) {
     case YUV_CONVERSION_FRAGMENT:



More information about the MPlayer-cvslog mailing list