Collaboration diagram for DSPF_sp_fir_cplx:
void | DSPF_sp_fir_cplx (const float *x, const float *h, float *restrict y, int nh, int nr) |
void DSPF_sp_fir_cplx | ( | const float * | x, | |
const float * | h, | |||
float *restrict | y, | |||
int | nh, | |||
int | nr | |||
) |
This function implements the FIR filter for complex input data. The filter has nr output samples and nh coefficients. Each array consists of an even and odd term with even terms representing the real part and the odd terms the imaginary part of the element. The coefficients are expected in normal order.
x[2*(nr+nh-1)] | Pointer to complex input array. The input data pointer x must point to the (nh)th complex element. | |
h[2*nh] | Pointer to complex coefficient array. | |
r[2*nr] | Pointer to complex output array. | |
nh | Number of complex coefficients in vector h. | |
nr | Number of complex output samples to calculate. |