[Mplayer-cvslog] CVS: main/libac3 imdct.c,1.1.1.1,1.2 srfft.c,1.1.1.1,1.2 decode.c,1.2,1.3
Nick Kurshev
nickols_k at users.sourceforge.net
Wed May 23 10:20:18 CEST 2001
Update of /cvsroot/mplayer/main/libac3
In directory usw-pr-cvs1:/tmp/cvs-serv11145/main/libac3
Modified Files:
imdct.c srfft.c decode.c
Log Message:
initial 3dnow support
Index: imdct.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/imdct.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** imdct.c 2001/02/24 20:29:39 1.1.1.1
--- imdct.c 2001/05/23 08:20:16 1.2
***************
*** 33,36 ****
--- 33,40 ----
#include "srfft.h"
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
void imdct_do_256 (float data[],float delay[]);
void imdct_do_512 (float data[],float delay[]);
***************
*** 139,142 ****
--- 143,149 ----
}
+ #ifdef HAVE_3DNOW
+ #include "mmx/imdct_3dnow.c"
+ #else
/**
***************
*** 474,478 ****
}
}
!
//FIXME remove - for timing code
///#include <sys/time.h>
--- 481,485 ----
}
}
! #endif /* HAVE_3DNOW */
//FIXME remove - for timing code
///#include <sys/time.h>
Index: srfft.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/srfft.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** srfft.c 2001/02/24 20:29:42 1.1.1.1
--- srfft.c 2001/05/23 08:20:16 1.2
***************
*** 34,37 ****
--- 34,45 ----
#include "srfftp.h"
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
+ #ifdef HAVE_3DNOW
+ #include "mmx/srfft_3dnow.c"
+ #else
+
void fft_4(complex_t *x)
{
***************
*** 409,413 ****
}
!
void fft_64p(complex_t *a)
{
--- 417,421 ----
}
! #endif
void fft_64p(complex_t *a)
{
Index: decode.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/decode.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** decode.c 2001/05/10 03:39:54 1.2
--- decode.c 2001/05/23 08:20:16 1.3
***************
*** 158,161 ****
--- 158,176 ----
sanity_check_init(&syncinfo,&bsi,&audblk);
decode_mute();
+ printf("!! libac3: using "
+ #ifdef HAVE_SSE
+ "SSE"
+ #else
+ #ifdef HAVE_3DNOWEX
+ "3dNow-dsp!"
+ #else
+ #ifdef HAVE_3DNOW
+ "3dNow!"
+ #else
+ "FPU"
+ #endif
+ #endif
+ #endif
+ " optimization\n");
}
_______________________________________________
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