changeset 18676:e813d4014acd

fix image adjustment (brightness etc.) for yuv=6
author reimar
date Sun, 11 Jun 2006 10:08:40 +0000
parents 22053c057c66
children 5f9b8f025d6c
files libvo/gl_common.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Sat Jun 10 22:13:19 2006 +0000
+++ b/libvo/gl_common.c	Sun Jun 11 10:08:40 2006 +0000
@@ -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: