DSP_iir_ss
[Filtering and convolution]

Collaboration diagram for DSP_iir_ss:


Detailed Description

short DSP_iir_ss (short Input, const short *restrict Coefs, int nCoefs, short *restrict State)


Function Documentation

short DSP_iir_ss ( short  Input,
const short *restrict  Coefs,
int  nCoefs,
short *restrict  State 
)

This function implements an IIR filter, with a number of biquad stages given by nCoefs / 4. It accepts a single sample of input and returns a single sample of output. Coefficients are expected to be in the range [-2.0, 2.0) with Q14 precision.

Parameters:
Input = Single sample input
Coefs = Coefficients with Q14 precision
nCoefs = Number of coefficients
State = State
Algorithm:
DSP_iir_ss_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:
Coefs and State are double word aligned.
nCoefs is a multiple of 4 and >= 4.
Implementation Notes:
Interruptibility : The code is interruptible.
Endian support : supports both Little and Big endian modes.


Copyright 2014, Texas Instruments Incorporated