[Mplayer-cvslog] CVS: main/libac3 imdct.c,1.6,1.7 rematrix.c,1.1.1.1,1.2

Nick Kurshev nickols_k at users.sourceforge.net
Fri Jun 22 10:57:54 CEST 2001


Update of /cvsroot/mplayer/main/libac3
In directory usw-pr-cvs1:/tmp/cvs-serv23102/main/libac3

Modified Files:
	imdct.c rematrix.c 
Log Message:
More 3dnow! optimization

Index: imdct.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/imdct.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** imdct.c	2001/06/16 15:23:48	1.6
--- imdct.c	2001/06/22 08:57:52	1.7
***************
*** 669,676 ****
  			break;
  		case 2:		// copy to output
! 			for (i = 0; i < 256; i++) {
! 				*s16_samples++ = (int16_t)samples[0][i];
! 				*s16_samples++ = (int16_t)samples[1][i];
! 			}
  			break;
  		}
--- 669,673 ----
  			break;
  		case 2:		// copy to output
! 			stream_sample_2ch_to_s16(s16_samples,samples[0],samples[1]);
  			break;
  		}

Index: rematrix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/rematrix.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** rematrix.c	2001/02/24 20:29:39	1.1.1.1
--- rematrix.c	2001/06/22 08:57:52	1.2
***************
*** 28,34 ****
  #include "ac3_internal.h"
  
- 
  #include "rematrix.h"
  
  
  struct rematrix_band_s
--- 28,36 ----
  #include "ac3_internal.h"
  
  #include "rematrix.h"
  
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
  
  struct rematrix_band_s
***************
*** 58,61 ****
--- 60,66 ----
   * stereo mode
   **/
+ #ifdef HAVE_3DNOW
+ #include "mmx/rematrix_3dnow.c"
+ #else
  
  void rematrix (audblk_t *audblk, stream_samples_t samples)
***************
*** 90,91 ****
--- 95,97 ----
  	}
  }
+ #endif


_______________________________________________
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