/* ======================================================================== */ /* TEXAS INSTRUMENTS, INC. */ /* */ /* NAME */ /* DSPF_sp_fir_cplx -- Single Precision complex Finite Impulse Response */ /* Filter */ /* */ /* USAGE */ /* This routine has the following C prototype: */ /* */ /* void DSPF_sp_fir_cplx( */ /* const float * restrict x, */ /* const float * restrict h, */ /* float * restrict r, */ /* int nh, */ /* int nr */ /* ) */ /* */ /* x[2*(nr+nh-1)] : Pointer to complex input array. */ /* The input data pointer x must point to the */ /* (nh)th complex element, i.e. */ /* element 2*(nh-1). */ /* h[2*nh]: Pointer to complex coefficient array */ /* (in normal order). */ /* r[2*nr]: Pointer to complex output array. */ /* nh: Number of complex coefficients in vector h. */ /* nr: Number of complex output samples to */ /* calculate. */ /* */ /* DESCRIPTION */ /* */ /* 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. */ /* */ /* */ /* */ /* */ /* ------------------------------------------------------------------------ */ /* Copyright (c) 2003 Texas Instruments, Incorporated. */ /* All Rights Reserved. */ /* ======================================================================== */ #ifndef DSPF_SP_FIR_CPLX_ #define DSPF_SP_FIR_CPLX_ 1 void DSPF_sp_fir_cplx( const float *restrict x, const float *restrict h, float *restrict r, int nh, int nr ); #endif /* ======================================================================== */ /* End of file: dspf_sp_fir_cplx.h */ /* ------------------------------------------------------------------------ */ /* Copyright (C) 2003 Texas Instruments, Incorporated. */ /* All Rights Reserved. */ /* ======================================================================== */