[Mplayer-cvslog] CVS: main/libac3 Makefile,1.5,1.6 imdct.c,1.2,1.3 srfftp.h,1.1.1.1,1.2
Nick Kurshev
nickols_k at users.sourceforge.net
Thu May 31 19:58:58 CEST 2001
Update of /cvsroot/mplayer/main/libac3
In directory usw-pr-cvs1:/tmp/cvs-serv11371/main/libac3
Modified Files:
Makefile imdct.c srfftp.h
Log Message:
libac3 now is full 3dnow! optimized
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Makefile 2001/05/24 21:09:13 1.5
--- Makefile 2001/05/31 17:58:56 1.6
***************
*** 7,11 ****
OBJS = bit_allocate.o bitstream.o coeff.o crc.o debug.o decode.o dither.o exponent.o imdct.o parse.o rematrix.o sanity_check.o srfft.o stats.o $(OPTIONAL_OBJS)
# OBJS = $(SRCS:.c=.o)
! CFLAGS = $(OPTFLAGS) -I. -I.. -DHAVE_CONFIG_H
.SUFFIXES: .c .o
--- 7,13 ----
OBJS = bit_allocate.o bitstream.o coeff.o crc.o debug.o decode.o dither.o exponent.o imdct.o parse.o rematrix.o sanity_check.o srfft.o stats.o $(OPTIONAL_OBJS)
# OBJS = $(SRCS:.c=.o)
! #WARNING: Please don't remove -O2 key. It should overwrite any other
! # keys. I know this is an inconvenience, but I'll fix it later!
! CFLAGS = $(OPTFLAGS) -O2 -I. -I.. -DHAVE_CONFIG_H
.SUFFIXES: .c .o
Index: imdct.c
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/imdct.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** imdct.c 2001/05/23 08:20:16 1.2
--- imdct.c 2001/05/31 17:58:56 1.3
***************
*** 53,65 ****
static float xcos1[128] __attribute__((aligned(16)));
static float xsin1[128] __attribute__((aligned(16)));
! static float xcos2[64];
! static float xsin2[64];
/* Delay buffer for time domain interleaving */
! static float delay[6][256];
! static float delay1[6][256];
/* Windowing function for Modified DCT - Thank you acroread */
! static float window[] = {
0.00014, 0.00024, 0.00037, 0.00051, 0.00067, 0.00086, 0.00107, 0.00130,
0.00157, 0.00187, 0.00220, 0.00256, 0.00297, 0.00341, 0.00390, 0.00443,
--- 53,65 ----
static float xcos1[128] __attribute__((aligned(16)));
static float xsin1[128] __attribute__((aligned(16)));
! static float xcos2[64] __attribute__((aligned(16)));
! static float xsin2[64] __attribute__((aligned(16)));
/* Delay buffer for time domain interleaving */
! static float delay[6][256] __attribute__((aligned(16)));
! static float delay1[6][256] __attribute__((aligned(16)));
/* Windowing function for Modified DCT - Thank you acroread */
! static float window[] __attribute__((aligned(16))) = {
0.00014, 0.00024, 0.00037, 0.00051, 0.00067, 0.00086, 0.00107, 0.00130,
0.00157, 0.00187, 0.00220, 0.00256, 0.00297, 0.00341, 0.00390, 0.00443,
***************
*** 96,100 ****
};
! static const int pm128[128] =
{
0, 16, 32, 48, 64, 80, 96, 112, 8, 40, 72, 104, 24, 56, 88, 120,
--- 96,100 ----
};
! static const int pm128[128] __attribute__((aligned(16))) =
{
0, 16, 32, 48, 64, 80, 96, 112, 8, 40, 72, 104, 24, 56, 88, 120,
***************
*** 108,112 ****
};
! static const int pm64[64] =
{
0, 8, 16, 24, 32, 40, 48, 56,
--- 108,112 ----
};
! static const int pm64[64] __attribute__((aligned(16))) =
{
0, 8, 16, 24, 32, 40, 48, 56,
Index: srfftp.h
===================================================================
RCS file: /cvsroot/mplayer/main/libac3/srfftp.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** srfftp.h 2001/02/24 20:29:42 1.1.1.1
--- srfftp.h 2001/05/31 17:58:56 1.2
***************
*** 33,37 ****
#define SRFFTP_H__
! static complex_t delta16[4] =
{ {1.00000000000000, 0.00000000000000},
{0.92387953251129, -0.38268343236509},
--- 33,37 ----
#define SRFFTP_H__
! static complex_t delta16[4] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.92387953251129, -0.38268343236509},
***************
*** 39,43 ****
{0.38268343236509, -0.92387953251129}};
! static complex_t delta16_3[4] =
{ {1.00000000000000, 0.00000000000000},
{0.38268343236509, -0.92387953251129},
--- 39,43 ----
{0.38268343236509, -0.92387953251129}};
! static complex_t delta16_3[4] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.38268343236509, -0.92387953251129},
***************
*** 45,49 ****
{-0.92387953251129, 0.38268343236509}};
! static complex_t delta32[8] =
{ {1.00000000000000, 0.00000000000000},
{0.98078528040323, -0.19509032201613},
--- 45,49 ----
{-0.92387953251129, 0.38268343236509}};
! static complex_t delta32[8] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.98078528040323, -0.19509032201613},
***************
*** 55,59 ****
{0.19509032201613, -0.98078528040323}};
! static complex_t delta32_3[8] =
{ {1.00000000000000, 0.00000000000000},
{0.83146961230255, -0.55557023301960},
--- 55,59 ----
{0.19509032201613, -0.98078528040323}};
! static complex_t delta32_3[8] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.83146961230255, -0.55557023301960},
***************
*** 65,69 ****
{-0.55557023301960, 0.83146961230255}};
! static complex_t delta64[16] =
{ {1.00000000000000, 0.00000000000000},
{0.99518472667220, -0.09801714032956},
--- 65,69 ----
{-0.55557023301960, 0.83146961230255}};
! static complex_t delta64[16] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.99518472667220, -0.09801714032956},
***************
*** 83,87 ****
{0.09801714032956, -0.99518472667220}};
! static complex_t delta64_3[16] =
{ {1.00000000000000, 0.00000000000000},
{0.95694033573221, -0.29028467725446},
--- 83,87 ----
{0.09801714032956, -0.99518472667220}};
! static complex_t delta64_3[16] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.95694033573221, -0.29028467725446},
***************
*** 101,105 ****
{-0.29028467725446, 0.95694033573221}};
! static complex_t delta128[32] =
{ {1.00000000000000, 0.00000000000000},
{0.99879545620517, -0.04906767432742},
--- 101,105 ----
{-0.29028467725446, 0.95694033573221}};
! static complex_t delta128[32] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.99879545620517, -0.04906767432742},
***************
*** 135,139 ****
{0.04906767432742, -0.99879545620517}};
! static complex_t delta128_3[32] =
{ {1.00000000000000, 0.00000000000000},
{0.98917650996478, -0.14673047445536},
--- 135,139 ----
{0.04906767432742, -0.99879545620517}};
! static complex_t delta128_3[32] __attribute__((aligned(16))) =
{ {1.00000000000000, 0.00000000000000},
{0.98917650996478, -0.14673047445536},
_______________________________________________
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