Common DSP Library Functions

Function

Description

mips_vec_abs16/32

Compute the absolute value of each Q15/Q31vector element.

mips_vec_add16/32

Add the corresponding elements of twoQ15/Q31 vectors.

mips_vec_addc16/32

Add a constant to all elements of a vector.

mips_vec_dotp16/32

Compute dot product of two Q15/Q31 vectors.

mips_vec_mul16/32

Multiply the corresponding elements of twoQ15/Q31 vectors. Can be used for applying windows.

mips_vec_mulc16/32

Multiply all elements of a vector by a constant.

mips_vec_sub16/32

Subtract the corresponding elements of twoQ15/Q31 vectors.

mips_vec_sum_squares16/32

Calculate the sum of squares of elements of avector in Q15/Q31 format.

mips_fir16

Applies a block FIR filter to a Q15 vector.

mips_fir16_setup

Prepare the filter coefficients for the mips_fir16 function.

mips_iir16

Singlesample IIR filter.

mips_iir16_setup

Prepare the filter coefficients for the mips_iir16 function.

mips_lms16

Singlesample LMS filter

mips_fft16

Compute the complex FFT of a vector containing Q15 complex samples, i.e., 16bit fractional real and imaginary parts.
