DSP_fir_gen_hM17_rA8X8
[Filtering and convolution]

Collaboration diagram for DSP_fir_gen_hM17_rA8X8:


Detailed Description

void DSP_fir_gen_hM17_rA8X8 (const short *restrict x, const short *restrict h, short *restrict r, int nh, int nr)


Function Documentation

void DSP_fir_gen_hM17_rA8X8 ( const short *restrict  x,
const short *restrict  h,
short *restrict  r,
int  nh,
int  nr 
)

Computes a real FIR filter (direct-form) using 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.

Parameters:
x = Input array [nr+nh-1 elements]
h = Coeff array [nh elements]
r = Output array [nr elements]
nh = Number of coefficients
nr = Number of output samples
Algorithm:
DSP_fir_gen_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 >= 8; nr % 8 == 0.
x, h and r must be double word aligned.
Implementation Notes:
Endian Support: The code supports both big and little endian modes. Interruptibility: The code is interruptible


Copyright 2014, Texas Instruments Incorporated