[Mplayer-cvslog] CVS: main/libvo vo_directfb2.c,NONE,1.1 vo_directfb.c,1.21,1.22

Arpi of Ize arpi at mplayerhq.hu
Fri Aug 9 19:20:48 CEST 2002


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

Modified Files:
	vo_directfb.c 
Added Files:
	vo_directfb2.c 
Log Message:
new directfb driver for 0.9.13+ by jiri.svoboda at seznam.cz


--- NEW FILE ---
/*
   MPlayer video driver for DirectFramebuffer device
  
   (C) 2002
   
   Written by  Jiri Svoboda <Jiri.Svoboda at seznam.cz>

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2 of the License, or (at your option) any later version.

   This library is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with this library; if not, write to the
[...1185 lines suppressed...]
    			vo_draw_alpha_yuy2(w,h,src,srca,stride,((uint8_t *) dst) + pitch*y0 + 2*x0,pitch);
		break;

        	case DSPF_UYVY:
    			vo_draw_alpha_yuy2(w,h,src,srca,stride,((uint8_t *) dst) + pitch*y0 + 2*x0 + 1,pitch);
		break;

        	case DSPF_I420:
		case DSPF_YV12:
    			vo_draw_alpha_yv12(w,h,src,srca,stride,((uint8_t *) dst) + pitch*y0 + 1*x0,pitch);
		break;
		}

	    unlock();
}

static void draw_osd(void)
{
    vo_draw_text(width,height,draw_alpha);
}

Index: vo_directfb.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directfb.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- vo_directfb.c	5 Aug 2002 11:46:51 -0000	1.21
+++ vo_directfb.c	9 Aug 2002 17:20:46 -0000	1.22
@@ -487,7 +487,7 @@
     DFBCardCapabilities caps;    
     DFBCHECK (dfb->GetCardCapabilities(dfb,&caps));
     if (caps.acceleration_mask & DFXL_STRETCHBLIT) hwstretchblit=1; else hwstretchblit=0;
-    if (verbose) printf("DirectFB: Card supports hw stretch blit\n");
+    if (verbose && hwstretchblit) printf("DirectFB: Card supports hw stretch blit\n");
     }
 
 // just look at RGB things for main layer




More information about the MPlayer-cvslog mailing list