?? fftdef.h
字號:
//***********************************************************************
// Defines for the FFT routines for TigerSHARC family of processors
// FFTDef.h
//***********************************************************************
#if !defined(__FFTDEF_H_)
#define __FFTDEF_H_
//***********************************************************************
//here N and log2(N) must be defined.
//N represents the number of input points to the fft.
/*
Each line of the input buffer represents a 32 bit number:
the 16 most significant bits are the imaginary part of the inputs,
the 16 less significant bits the the real part of the inputs
-N may be a power of 2 number between 64 and 32768
*/
#define N 1024
//***********************************************************************
#if N==64
#define MAX_FFT_SIZE 32
#define log2_N 6
#elif N==128
#define MAX_FFT_SIZE 64
#define log2_N 7
#elif N==256
#define MAX_FFT_SIZE 128
#define log2_N 8
#elif N==512
#define MAX_FFT_SIZE 256
#define log2_N 9
#elif N==1024
#define MAX_FFT_SIZE 512
#define log2_N 10
#elif N==2048
#define MAX_FFT_SIZE 1024
#define log2_N 11
#elif N==4096
#define MAX_FFT_SIZE 2048
#define log2_N 12
#elif N==8192
#define MAX_FFT_SIZE 4096
#define log2_N 13
#elif N==16384
#define MAX_FFT_SIZE 8192
#define log2_N 14
#elif N==32768
#define MAX_FFT_SIZE 16384
#define log2_N 15
#else
#define initialization_error
#define MAX_FFT_SIZE 16384
#define log2_N 15
#endif
#endif //__FFTDEF_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -