[Mplayer-cvslog] CVS: main/libvo vo_fbdev.c,1.31,1.32

Szabolcs Berecz szabii at users.sourceforge.net
Fri Apr 20 22:39:16 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv17372

Modified Files:
	vo_fbdev.c 
Log Message:
nothing important?

Index: vo_fbdev.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_fbdev.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -r1.31 -r1.32
*** vo_fbdev.c	2001/04/20 01:09:53	1.31
--- vo_fbdev.c	2001/04/20 20:39:14	1.32
***************
*** 440,444 ****
  static void set_bpp(struct fb_var_screeninfo *p, int bpp)
  {
- /*	p->bits_per_pixel = (bpp == 15) ? 16 : bpp; */
  	p->bits_per_pixel = (bpp + 1) & ~1;
  	p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0;
--- 440,443 ----
***************
*** 450,471 ****
  			p->green.offset = 8;
  			p->green.length = 8;
- 			p->blue.offset = 0;
  			p->blue.length = 8;
  			break;
  		case 16:
  			p->red.offset = 11;
  			p->red.length = 5;
  			p->green.offset = 5;
- 			p->green.length = 6;
- 			p->blue.offset = 0;
  			p->blue.length = 5;
  			break;
  		case 15:
  			p->red.offset = 10;
  			p->red.length = 5;
  			p->green.offset = 5;
- 			p->green.length = 5;
- 			p->blue.offset = 0;
  			p->blue.length = 5;
  			break;
  	}
--- 449,470 ----
  			p->green.offset = 8;
  			p->green.length = 8;
  			p->blue.length = 8;
+ 			p->blue.offset = 0;
  			break;
  		case 16:
  			p->red.offset = 11;
+ 			p->green.length = 6;
  			p->red.length = 5;
  			p->green.offset = 5;
  			p->blue.length = 5;
+ 			p->blue.offset = 0;
  			break;
  		case 15:
  			p->red.offset = 10;
+ 			p->green.length = 5;
  			p->red.length = 5;
  			p->green.offset = 5;
  			p->blue.length = 5;
+ 			p->blue.offset = 0;
  			break;
  	}


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list