[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.9,1.10

Andreas Ackermann acki2 at users.sourceforge.net
Mon Apr 2 00:01:30 CEST 2001


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

Modified Files:
	vo_dga.c 
Log Message:
- still more debug output to be able to fix 15/16 bpp problem 


Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** vo_dga.c	2001/04/01 08:07:14	1.9
--- vo_dga.c	2001/04/01 22:01:28	1.10
***************
*** 20,23 ****
--- 20,26 ----
   *
   * $Log$
+  * Revision 1.10  2001/04/01 22:01:28  acki2
+  * - still more debug output to be able to fix 15/16 bpp problem
+  *
   * Revision 1.9  2001/04/01 08:07:14  acki2
   * - added detection of memsize of graphics card to check if double buffering is possible
***************
*** 262,270 ****
            // this only for debug reasons ...
  	  if(modelines[i].bitsPerPixel == 15 || modelines[i].bitsPerPixel == 16){
!               printf("vo_dga: depth: %d, %08x, %08x, %08x\n",
  		       modelines[i].bitsPerPixel,
  		       modelines[i].redMask,
  		       modelines[i].greenMask,
! 	               modelines[i].blueMask);			  
            }
            for(k=0, dummy=1; k<modelines[i].bitsPerPixel-1; k++)dummy <<=1;
--- 265,277 ----
            // this only for debug reasons ...
  	  if(modelines[i].bitsPerPixel == 15 || modelines[i].bitsPerPixel == 16){
!               printf("vo_dga: num: %d, depth: %d, bpp: %d, %08x, %08x, %08x, %dx%d\n",
! 		       i,
! 		       modelines[i].depth,
  		       modelines[i].bitsPerPixel,
  		       modelines[i].redMask,
  		       modelines[i].greenMask,
! 	               modelines[i].blueMask,
! 		       modelines[i].viewportWidth,
! 		       modelines[i].viewportHeight);			  
            }
            for(k=0, dummy=1; k<modelines[i].bitsPerPixel-1; k++)dummy <<=1;
***************
*** 499,502 ****
--- 506,512 ----
       if( modelines[i].bitsPerPixel == vo_dga_planes)
       {
+ 
+        printf("maxy: %4d, depth: %2d, %4dx%4d, ", modelines[i].maxViewportY, modelines[i].depth,
+ 		       modelines[i].imageWidth, modelines[i].imageHeight );
         if ( check_mode(i, d_width, d_height, modelines[i].bitsPerPixel,  
                    modelines[i].viewportWidth, 


_______________________________________________
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