Update of /cvsroot/mplayer/main/libvo In directory usw-pr-cvs1:/tmp/cvs-serv6142/libvo Modified Files: vo_svga.c Log Message: Maybe a little speedup. Index: vo_svga.c =================================================================== RCS file: /cvsroot/mplayer/main/libvo/vo_svga.c,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -r1.19 -r1.20 *** vo_svga.c 2001/04/17 19:05:59 1.19 --- vo_svga.c 2001/04/18 10:37:09 1.20 *************** *** 422,431 **** } if (bpp_conv) { - uint16_t *source = (uint16_t *) src[0]; - uint16_t *dest = (uint16_t *) bppbuf; - uint16_t *end; - switch(bpp) { case 32: { end = source + (maxw * maxh * 2); while (source < end) { --- 422,431 ---- } if (bpp_conv) { switch(bpp) { case 32: { + uint16_t *source = (uint16_t *) src[0]; + uint16_t *dest = (uint16_t *) bppbuf; + uint16_t *end; + end = source + (maxw * maxh * 2); while (source < end) { *************** *** 441,444 **** --- 441,447 ---- rgb15to16_mmx(src[0],bppbuf,maxw * maxh * 2); #else + uint16_t *source = (uint16_t *) src[0]; + uint16_t *dest = (uint16_t *) bppbuf; + uint16_t *end; register uint16_t srcdata; _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
Zoltan Mark Vician