1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00
Originally committed as revision 14699 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loren Merritt
2008-08-12 00:27:21 +00:00
parent 5d0ddd1a9f
commit 49c0dd754c
2 changed files with 11 additions and 12 deletions

View File

@@ -389,10 +389,10 @@ OBJS += i386/fdct_mmx.o \
i386/idct_mmx_xvid.o \ i386/idct_mmx_xvid.o \
i386/idct_sse2_xvid.o \ i386/idct_sse2_xvid.o \
OBJS-$(HAVE_YASM) += i386/fft_mmx.o \ OBJS-$(HAVE_YASM) += i386/fft_mmx.o \
i386/fft_sse.o \ i386/fft_sse.o \
i386/fft_3dn.o \ i386/fft_3dn.o \
i386/fft_3dn2.o \ i386/fft_3dn2.o \
OBJS-$(CONFIG_GPL) += i386/idct_mmx.o OBJS-$(CONFIG_GPL) += i386/idct_mmx.o

View File

@@ -164,15 +164,14 @@ int ff_fft_init(FFTContext *s, int nbits, int inverse)
} while (nblocks != 0); } while (nblocks != 0);
av_freep(&s->exptab); av_freep(&s->exptab);
/* compute bit reverse table */ /* compute bit reverse table */
for(i=0;i<n;i++) {
for(i=0;i<n;i++) { m=0;
m=0; for(j=0;j<nbits;j++) {
for(j=0;j<nbits;j++) { m |= ((i >> j) & 1) << (nbits-j-1);
m |= ((i >> j) & 1) << (nbits-j-1); }
s->revtab[i]=m;
} }
s->revtab[i]=m;
}
} }
return 0; return 0;