DSPF_sp_convol
[Correlation]

Collaboration diagram for DSPF_sp_convol:


Detailed Description

void DSPF_sp_convol (const float *x, const float *h, float *restrict y, const short nh, const short ny)


Function Documentation

void DSPF_sp_convol ( const float *  x,
const float *  h,
float *restrict  y,
const short  nh,
const short  ny 
)

This function calculates the full-length convolution of real vectors x and h using time-domain techniques. The result is placed in real vector y. It is assumed that input vector x is padded with nh-1 no of zeros in the beginning and end.

Parameters:
x Pointer to real input vector of size = nr+nh-1.
h pointer to real input vector of size nh in forward order.
y Pointer to real output vector of size ny.
nh Number of elements in vector h.
ny Number of elements in vector y.
Algorithm:
DSPF_sp_convol_cn.c is the natural C equivalent of the optimized linear assembly code without restrictions. Note that the linear assembly code is optimized and restrictions may apply.
Assumptions:
nh is a multiple of 2 and greater than or equal to 4.
ny is a multiple of 4.
x, h and y are assumed to be aligned on a double-word boundary.
Implementation Notes:
Interruptibility: The code is interruptible.
Endian Support: The code supports both big and little endian modes.


Copyright 2014, Texas Instruments Incorporated