[Mplayer-cvslog] CVS: main/mp3lib fastmemcpy.h,NONE,1.1 sr1.c,1.5,1.6 tabinit.c,1.1.1.1,1.2

Nick Kurshev nickols_k at users.sourceforge.net
Thu Jun 7 11:08:34 CEST 2001


Update of /cvsroot/mplayer/main/mp3lib
In directory usw-pr-cvs1:/tmp/cvs-serv17423/main/mp3lib

Modified Files:
	sr1.c tabinit.c 
Added Files:
	fastmemcpy.h 
Log Message:
Minor improvements

--- NEW FILE ---
#include "../libvo/fastmemcpy.h"
Index: sr1.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/sr1.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** sr1.c	2001/06/06 09:33:36	1.5
--- sr1.c	2001/06/07 09:08:32	1.6
***************
*** 28,31 ****
--- 28,32 ----
  #include "d_cpu.h"
  
+ #include "fastmemcpy.h"
  //static FILE* mp3_file=NULL;
  
***************
*** 178,182 ****
      // head_check:
      if( (newhead & 0xffe00000) != 0xffe00000 ||  
!         (newhead & 0x0000f300) == 0x0000f300) return FALSE;
  
      fr->lay = 4-((newhead>>17)&3);
--- 179,183 ----
      // head_check:
      if( (newhead & 0xffe00000) != 0xffe00000 ||  
!         (newhead & 0x0000fc00) == 0x0000fc00) return FALSE;
  
      fr->lay = 4-((newhead>>17)&3);

Index: tabinit.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/tabinit.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** tabinit.c	2001/02/24 20:31:06	1.1.1.1
--- tabinit.c	2001/06/07 09:08:32	1.2
***************
*** 2,7 ****
  
  #ifdef HAVE_3DNOW
!         real decwin[2*(512+32)];
!         real cos64[32],cos32[16],cos16[8],cos8[4],cos4[2];
          real *pnts[]={ cos64,cos32,cos16,cos8,cos4 };
  #else
--- 2,11 ----
  
  #ifdef HAVE_3DNOW
!         real decwin[2*(512+32)] __attribute__((aligned(8)));
!         real cos64[32] __attribute__((aligned(8)));
! 	real cos32[16] __attribute__((aligned(8)));
! 	real cos16[8] __attribute__((aligned(8)));
! 	real cos8[4] __attribute__((aligned(8)));
! 	real cos4[2] __attribute__((aligned(8)));
          real *pnts[]={ cos64,cos32,cos16,cos8,cos4 };
  #else
***************
*** 11,15 ****
  #endif
  
!        long intwinbase[] = {
       0,    -1,    -1,    -1,    -1,    -1,    -1,    -2,    -2,    -2,
      -2,    -3,    -3,    -4,    -4,    -5,    -5,    -6,    -7,    -7,
--- 15,19 ----
  #endif
  
! long intwinbase[] = {
       0,    -1,    -1,    -1,    -1,    -1,    -1,    -2,    -2,    -2,
      -2,    -3,    -3,    -4,    -4,    -5,    -5,    -6,    -7,    -7,


_______________________________________________
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