[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
- Previous message: [Mplayer-cvslog] CVS: main configure,1.533,1.534
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_gl.c,1.27,1.28 vo_gl2.c,1.20,1.21 vo_x11.c,1.114,1.115 vo_xmga.c,1.74,1.75 vo_xv.c,1.111,1.112 vo_xvidix.c,1.49,1.50 x11_common.c,1.93,1.94 x11_common.h,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
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
- Previous message: [Mplayer-cvslog] CVS: main configure,1.533,1.534
- Next message: [Mplayer-cvslog] CVS: main/libvo vo_gl.c,1.27,1.28 vo_gl2.c,1.20,1.21 vo_x11.c,1.114,1.115 vo_xmga.c,1.74,1.75 vo_xv.c,1.111,1.112 vo_xvidix.c,1.49,1.50 x11_common.c,1.93,1.94 x11_common.h,1.25,1.26
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list