mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-07-18 21:14:24 -04:00
added stride to fft input -- should simplify multi-dimensional FFTs
This commit is contained in:
@ -34,9 +34,10 @@ endif
|
||||
|
||||
all: $(BENCHKISS) $(SELFTEST) $(BENCHFFTW) $(TESTREAL) $(FFTUTIL) $(TESTKFC)
|
||||
|
||||
#CFLAGS=-Wall -O3 -ansi -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer
|
||||
CFLAGS=-Wall -O3 -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer
|
||||
#-DUSE_SKIP
|
||||
# If the above flags do not work, try the following
|
||||
CFLAGS=-Wall -O3
|
||||
#CFLAGS=-Wall -O3
|
||||
|
||||
$(FFTUTIL): ../kiss_fft.c fftutil.c kiss_fft2d.c kiss_fftr.c
|
||||
$(CC) -o $@ $(CFLAGS) -I.. $(TYPEFLAGS) -lm $+
|
||||
|
@ -103,6 +103,14 @@ int main(int argc,char ** argv)
|
||||
case 'r':nrows = atoi(optarg);break;
|
||||
case 'i':isinverse=1;break;
|
||||
case 'R':isreal=1;break;
|
||||
case '?':
|
||||
fprintf(stderr,"usage options:\n"
|
||||
"\t-n NFFT: fft size\n"
|
||||
"\t-r nrows: # rows (implies 2d FFT)\n"
|
||||
"\t-i : inverse\n"
|
||||
"\t-R : real input samples, not complex\n");
|
||||
exit (1);
|
||||
default:fprintf(stderr,"bad %c\n",c);break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user