[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.44,1.45
Nick Kurshev
nick at mplayer.dev.hu
Wed Jan 23 18:03:18 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv24253/main/libvo
Modified Files:
vo_xv.c
Log Message:
RGB independed correction for GATOS's radeon_video driver!
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- vo_xv.c 23 Jan 2002 16:54:29 -0000 1.44
+++ vo_xv.c 23 Jan 2002 17:03:15 -0000 1.45
@@ -166,8 +166,19 @@
else
if(strcmp(attributes[i].name,"XV_HUE") == 0)
port_value = vo_gamma_hue;
+ else
+ /* Note: since 22.01.2002 GATOS supports these attrs for radeons (NK) */
+ if(strcmp(attributes[i].name,"XV_RED_INTENSITY") == 0)
+ port_value = vo_gamma_red_intensity;
+ else
+ if(strcmp(attributes[i].name,"XV_GREEN_INTENSITY") == 0)
+ port_value = vo_gamma_green_intensity;
+ else
+ if(strcmp(attributes[i].name,"XV_BLUE_INTENSITY") == 0)
+ port_value = vo_gamma_blue_intensity;
else continue;
- /* means that user has untouched this parameter */
+ /* means that user has untouched this parameter since
+ NVidia driver has default == min for XV_HUE but not mid */
if(!port_value) continue;
port_min = xv_min;
port_max = xv_max;
More information about the MPlayer-cvslog
mailing list