[Mplayer-cvslog] CVS: main/libvo vo_vesa.c,1.37,1.38

Nick Kurshev nick at mplayer.dev.hu
Mon Nov 5 09:38:20 CET 2001


Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv12819/main/libvo

Modified Files:
	vo_vesa.c 
Log Message:
rgb32to16, rgb32to15 support

Index: vo_vesa.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_vesa.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- vo_vesa.c	4 Nov 2001 18:04:45 -0000	1.37
+++ vo_vesa.c	5 Nov 2001 08:38:18 -0000	1.38
@@ -700,6 +700,10 @@
 		  else 
 		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 24) rgb2rgb_fnc = rgb32to24;
 		  else 
+		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb32to16;
+		  else 
+		  if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15;
+		  else 
 		  if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16;
 		  else 
 		  {




More information about the MPlayer-cvslog mailing list