?? wib_fft_f.h
字號:
#ifndef FFT_FIX
#define FFT_FIX
#include "commdef.h"
#define IFFT_F 1
#define FFT_F 0
#define DEBUG_OUT_FFT_EXPONENT
#define OLD_HANDLE // exponent diff
#define POW4I (1 << ((i + 1) * 2))
#define POW4I_1 (1 << (i * 2))
typedef struct FFT_TBL
{
complex16 *p_w1p;
complex16 *p_w2p;
complex16 *p_w3p;
unsigned short *p_reorder_idx;
unsigned short N;
unsigned char bit_width;
unsigned char log2n;
unsigned char degree;
} fft_tbl;
fft_tbl fft_f_prepare(
unsigned short N, //fft size
unsigned char bit_width //WP bit width
);
signed short fft_f_execute(
const complex16 *p_dat_in, //point to input buffer;
complex16 *p_dat_out, //point to output buffer;
const unsigned char mode, //0 fft; 1 IFFT
fft_tbl fft_tbl_inst
);
void fft_f_free(
fft_tbl fft_tbl_inst
);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -