31.6.2 mips_fir16_setup

Description

Rearranges the coefficients from the input array, coeffs, into the output array coeffs2x, which is used by the mips_fir16() function. The number of coefficients to process is given by the parameter K.

Include

dsplib_dsp.h

Prototype

void
mips_fir16_setup
(
   int16 *coeffs2x,
   int16 *coeffs,
   int K
);

Argument

coeffs2x: Output array holding 2K coefficients rearranged for mips_fir16().

coeffs: Input array holding K 16-bit fixed-point coefficients in Q15 format.

K: Number of coefficients.

Return Value

None.

Remarks

None.

Note

This function is implemented in C.