DSPF_sp_bitrev_cplx
Special Requirements
4-8
a
= i0 >> nbot;
if (!b) ia = index[a];
ib
= index[b];
ibs
= ib << nbot;
j0
= ibs + ia;
t
= i0 < j0;
xi0
= x[i0];
xj0
= x[j0];
if (t)
{
x[i0] = xj0;
x[j0] = xi0;
}
i1
= i0 + 1;
j1
= j0 + halfn;
xi1
= x[i1];
xj1
= x[j1];
x[i1] = xj1;
x[j1] = xi1;
i3
= i1 + halfn;
j3
= j1 + 1;
xi3
= x[i3];
xj3
= x[j3];
if (t)
{
x[i3] = xj3;
x[j3] = xi3;
}
}
}
-
nx must be a power of 2.
-
The table from bitrev_index is already created.
-
The array x is actually an array of 2*nx floats. It is assumed to be double-
word aligned.
Need help?
Do you have a question about the TMS320C67 DSP Series and is the answer not in the manual?
Questions and answers