Adelsbach/VSIPL
Core Programming Reference Guide
DD-00016-015
Core

This manual is preliminary and incomplete.
While our Core implementation implements all functions given in the standard we are still working on completing this documentation.

Please refer to the VSIPL standard for a complete function reference of the Core profile until we have completed work on this documentation.

5.4.4 vsip_dfirflt_p - Apply a FIR Filter to a Vector View

int vsip_firflt_f(vsip_fir_f *fir, const vsip_vview_f *x, const vsip_vview_f *y); 
int vsip_cfirflt_f(vsip_cfir_f *fir, const vsip_cvview_f *x, const vsip_cvview_f *y);
Description

This function applies the specified FIR filter to the input vector view x and stores the result in the output vector view y.

Parameters
Return Value
Example

vsip_fir_f *fir_filter; 
vsip_vview_f *input_vector; 
vsip_vview_f *output_vector; 
int result; 
 
// Assuming fir_filter, input_vector, and output_vector have been properly initialized 
result = vsip_firflt_f(fir_filter, input_vector, output_vector); 
 
if (result != 0) { 
    // Handle error 
}