This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSPF_sp_fftSPxSP问题



查了一下手册,看了一下例程,也没弄太懂。

void DSPF_sp_fftSPxSP ( int  N,
float *  ptr_x,
float *  ptr_w,
float *  ptr_y,
unsigned char *  brev,
int  n_min,
int  offset,
int  n_max  
)

那个

unsigned char *  brev

到底是个什么参数?例程上给的是

unsigned char brev[64] = {
    0x0, 0x20, 0x10, 0x30, 0x8, 0x28, 0x18, 0x38,
    0x4, 0x24, 0x14, 0x34, 0xc, 0x2c, 0x1c, 0x3c,
    0x2, 0x22, 0x12, 0x32, 0xa, 0x2a, 0x1a, 0x3a,
    0x6, 0x26, 0x16, 0x36, 0xe, 0x2e, 0x1e, 0x3e,
    0x1, 0x21, 0x11, 0x31, 0x9, 0x29, 0x19, 0x39,
    0x5, 0x25, 0x15, 0x35, 0xd, 0x2d, 0x1d, 0x3d,
    0x3, 0x23, 0x13, 0x33, 0xb, 0x2b, 0x1b, 0x3b,
    0x7, 0x27, 0x17, 0x37, 0xf, 0x2f, 0x1f, 0x3f
};

难道无论做多少点fft都用这个数组?

offset  index in complex samples of sub-fft from start of main fft
n_max  size of main fft in complex samples

这两个参数的用处又是什么?例程里直接把offset填0,n_max置为N。好像没什么特别用途。