Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).
|
Good morning, does anyone have C code using cbrev() and rfft() functions of DSP lib? I have noticed that the example given in \examples\rfft, referred on SPRU518C, page 4-69, calls rfft() right after calling cbrev(). There is something wrong here, as cbrev() returns a complex output vector (page 4-12, argument r[2*nx]) and the input vector for rfft() has to have only real elements (page 4-68, argument x[nx]). Isn't it wrong to use a complex vector as input to rfft()? I think so... Any info will be helpful. Thanks in advance, Believer |