mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-06-04 01:28:23 -04:00
*** empty log message ***
This commit is contained in:
parent
4d603f2926
commit
473942ae5b
@ -18,14 +18,16 @@ ifeq "$(DATATYPE)" "float"
|
|||||||
FASTFILT=fastconv
|
FASTFILT=fastconv
|
||||||
FASTFILTREAL=fastconvr
|
FASTFILTREAL=fastconvr
|
||||||
PSDPNG=psdpng
|
PSDPNG=psdpng
|
||||||
|
DUMPHDR=dumphdr
|
||||||
else
|
else
|
||||||
FFTUTIL=fft_$(DATATYPE)
|
FFTUTIL=fft_$(DATATYPE)
|
||||||
FASTFILT=fastconv_$(DATATYPE)
|
FASTFILT=fastconv_$(DATATYPE)
|
||||||
FASTFILTREAL=fastconvr_$(DATATYPE)
|
FASTFILTREAL=fastconvr_$(DATATYPE)
|
||||||
PSDPNG=psdpng_$(DATATYPE)
|
PSDPNG=psdpng_$(DATATYPE)
|
||||||
|
DUMPHDR=dumphdr_$(DATATYPE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: $(FFTUTIL) $(FASTFILT) $(FASTFILTREAL) $(PSDPNG)
|
all: $(FFTUTIL) $(FASTFILT) $(FASTFILTREAL) $(PSDPNG) $(DUMPHDR)
|
||||||
|
|
||||||
#CFLAGS=-Wall -O3 -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer $(WARNINGS)
|
#CFLAGS=-Wall -O3 -pedantic -march=pentiumpro -ffast-math -fomit-frame-pointer $(WARNINGS)
|
||||||
# If the above flags do not work, try the following
|
# If the above flags do not work, try the following
|
||||||
@ -43,5 +45,8 @@ $(FFTUTIL): ../kiss_fft.c fftutil.c kiss_fftnd.c kiss_fftr.c
|
|||||||
$(PSDPNG): ../kiss_fft.c psdpng.c kiss_fftr.c
|
$(PSDPNG): ../kiss_fft.c psdpng.c kiss_fftr.c
|
||||||
$(CC) -o $@ $(CFLAGS) -I.. $(TYPEFLAGS) -lm -lpng $+
|
$(CC) -o $@ $(CFLAGS) -I.. $(TYPEFLAGS) -lm -lpng $+
|
||||||
|
|
||||||
|
$(DUMPHDR): ../kiss_fft.c dumphdr.c
|
||||||
|
$(CC) -o $@ $(CFLAGS) -I.. $(TYPEFLAGS) -lm $+
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *~ fft fft_* fastconv fastconv_* fastconvr fastconvr_* psdpng psdpng_*
|
rm -f *~ fft fft_* fastconv fastconv_* fastconvr fastconvr_* psdpng psdpng_*
|
||||||
|
@ -349,7 +349,8 @@ void do_file_filter(
|
|||||||
n_samps_buf = 8*4096/sizeof(kffsamp_t);
|
n_samps_buf = 8*4096/sizeof(kffsamp_t);
|
||||||
n_samps_buf = nfft + 4*(nfft-n_imp_resp+1);
|
n_samps_buf = nfft + 4*(nfft-n_imp_resp+1);
|
||||||
|
|
||||||
fprintf(stderr,"bufsize=%d\n",sizeof(kffsamp_t)*n_samps_buf );
|
if (verbose) fprintf(stderr,"bufsize=%d\n",sizeof(kffsamp_t)*n_samps_buf );
|
||||||
|
|
||||||
|
|
||||||
/*allocate space and initialize pointers */
|
/*allocate space and initialize pointers */
|
||||||
inbuf = (kffsamp_t*)malloc(sizeof(kffsamp_t)*n_samps_buf);
|
inbuf = (kffsamp_t*)malloc(sizeof(kffsamp_t)*n_samps_buf);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user