[Mplayer-cvslog] CVS: main/libvo vo_dga.c,1.19,1.20

Andreas Ackermann acki2 at users.sourceforge.net
Thu May 3 01:21:29 CEST 2001


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

Modified Files:
	vo_dga.c 
Log Message:
- now we use fastmemcpy() for copying. Saves about 25% of copying time on K6-2+


Index: vo_dga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dga.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** vo_dga.c	2001/05/01 22:37:37	1.19
--- vo_dga.c	2001/05/02 23:21:27	1.20
***************
*** 24,27 ****
--- 24,30 ----
   *
   * $Log$
+  * Revision 1.20  2001/05/02 23:21:27  acki2
+  * - now we use fastmemcpy() for copying. Saves about 25% of copying time on K6-2+
+  *
   * Revision 1.19  2001/05/01 22:37:37  acki2
   * - now features 24->32 conversion (this is actually faster than letting the
***************
*** 114,117 ****
--- 117,122 ----
  #include "x11_common.h"
  
+ #include "fastmemcpy.h"
+ 	
  static vo_info_t vo_info =
  {
***************
*** 385,389 ****
    switch(SRC_MODE.vdm_conversion_func){
    case VDM_CONV_NATIVE:
!     rep_movsl(d, s, lpl, vo_dga_vp_skip, numlines );
      break;
    case VDM_CONV_15TO16:
--- 390,404 ----
    switch(SRC_MODE.vdm_conversion_func){
    case VDM_CONV_NATIVE:
!   {int i;
!    for(i=0; i< vo_dga_lines; i++){
!         memcpy(d, s, vo_dga_bytes_per_line);
! 	d+=vo_dga_vp_skip;
! 	d+=vo_dga_bytes_per_line;
! 	s+=vo_dga_bytes_per_line;
!    }
!   }	  
! 	  
! 	  
! 	  //    rep_movsl(d, s, lpl, vo_dga_vp_skip, numlines );
      break;
    case VDM_CONV_15TO16:


_______________________________________________
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