Functions
Collaboration diagram for DSP_fir_r8_h24:

Functions

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

Detailed Description

Function Documentation

◆ DSP_fir_r8_h24()

void DSP_fir_r8_h24 ( const short *restrict  x,
const short *restrict  h,
short *restrict  r,
int  nr 
)
Computes a real FIR filter (direct-form) using 24 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+24-1 elements]
 @param  h   =  Coeff array [24 elements]      
 @param  r   =  Output array [nr elements] 
 @param  nr  =  Number of output samples       
Algorithm:
DSP_fir_r8_h24_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 == 24.
Implementation Notes:
Endian Support: The code supports little endian mode. Interruptibility: The code is interruptible

Copyright 2022, Texas Instruments Incorporated