Computes a real FIR filter (direct-form) using 16 coefficients
stored in vector h. The real data input is stored in vector x.
The filter output result is stored in vector r. Input data and
filter taps are 16-bit, with intermediate values kept at 32-bit
precision. Filter taps are expected in Q15 format.
@param x = Input array [nr+16-1 elements]
@param h = Coeff array [16 elements]
@param r = Output array [nr elements]
@param nr = Number of output samples
- Algorithm:
- DSP_fir_r8_h16_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions. Note that the intrinsic C code is optimized and restrictions may apply.
- Assumptions:
- Arrays x, h, and r do not overlap.
nr >= 4; nr % 4 == 0.
nh == 16.
- Implementation Notes:
- Endian Support: The code supports little endian mode. Interruptibility: The code is interruptible