Atmel Software Framework

dsp_vectors.h File Reference
#include "string.h"

Functions

void dsp16_vect_add (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector addition function. More...
 
void dsp16_vect_add_and_sat (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector addition function. More...
 
void dsp16_vect_complex_abs (dsp16_t *vect1, dsp16_complex_t *vect2, int size)
 16-bit fixed point version of the complex vector absolute function. More...
 
void dsp16_vect_complex_add (dsp16_complex_t *vect1, dsp16_complex_t *vect2, dsp16_complex_t *vect3, int size)
 16-bit fixed point version of the complex vector addition function. More...
 
void dsp16_vect_complex_conj (dsp16_complex_t *vect1, dsp16_complex_t *vect2, int size)
 16-bit fixed point version of the complex vector conjugate function. More...
 
void dsp16_vect_complex_sub (dsp16_complex_t *vect1, dsp16_complex_t *vect2, dsp16_complex_t *vect3, int size)
 16-bit fixed point version of the complex vector subtraction function. More...
 
void dsp16_vect_conv (dsp16_t *vect1, dsp16_t *vect2, int vect2_size, dsp16_t *vect3, int vect3_size)
 16-bit fixed point version of the Convolution. More...
 
void dsp16_vect_convpart (dsp16_t *vect1, dsp16_t *vect2, int vect2_size, dsp16_t *vect3, int vect3_size)
 16-bit fixed point version of the Partial Convolution. More...
 
static void dsp16_vect_copy (dsp16_t *vect1, dsp16_t *vect2, int size)
 16-bit fixed point version of the copy function. More...
 
void dsp16_vect_dotdiv (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector dot division function. More...
 
void dsp16_vect_dotmul (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector dot multiplication function. More...
 
void dsp16_vect_intdiv (dsp16_t *vect1, dsp16_t *vect2, int size, int integer)
 16-bit fixed point version of the vector division with an integer. More...
 
void dsp16_vect_intmul (dsp16_t *vect1, dsp16_t *vect2, int size, int integer)
 16-bit fixed point version of the vector multiplication with an integer. More...
 
dsp16_t dsp16_vect_max (dsp16_t *vect1, int size)
 16-bit fixed point version of the vector maximum function. More...
 
dsp16_t dsp16_vect_min (dsp16_t *vect1, int size)
 16-bit fixed point version of the vector minimum function. More...
 
void dsp16_vect_neg (dsp16_t *vect1, dsp16_t *vect2, int size)
 16-bit fixed point version of the vector negate function. More...
 
void dsp16_vect_pow (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the power function. More...
 
void dsp16_vect_realadd (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the vector addition with a real number. More...
 
void dsp16_vect_realdiv (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the vector division with a real number. More...
 
void dsp16_vect_realmul (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the vector multiplication with a real number. More...
 
void dsp16_vect_realsub (dsp16_t *vect1, dsp16_t *vect2, int size, dsp16_t real)
 16-bit fixed point version of the vector subtraction with a real number. More...
 
void dsp16_vect_sub (dsp16_t *vect1, dsp16_t *vect2, dsp16_t *vect3, int size)
 16-bit fixed point version of the vector subtraction function. More...
 
static void dsp16_vect_zeropad (dsp16_t *vect1, int size, int num_zero)
 16-bit fixed point version of the zero padding function. More...
 
void dsp32_vect_add (dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3, int size)
 32-bit fixed point version of the vector addition function. More...
 
void dsp32_vect_add_and_sat (dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3, int size)
 32-bit fixed point version of the vector addition function. More...
 
void dsp32_vect_complex_abs (dsp32_t *vect1, dsp32_complex_t *vect2, int size)
 32-bit fixed point version of the complex vector absolute function. More...
 
void dsp32_vect_complex_add (dsp32_complex_t *vect1, dsp32_complex_t *vect2, dsp32_complex_t *vect3, int size)
 32-bit fixed point version of the complex vector addition function. More...
 
void dsp32_vect_complex_sub (dsp32_complex_t *vect1, dsp32_complex_t *vect2, dsp32_complex_t *vect3, int size)
 32-bit fixed point version of the complex vector subtraction function. More...
 
void dsp32_vect_conv (dsp32_t *vect1, dsp32_t *vect2, int vect2_size, dsp32_t *vect3, int vect3_size)
 32-bit fixed point version of the Convolution. More...
 
void dsp32_vect_convpart (dsp32_t *vect1, dsp32_t *vect2, int vect2_size, dsp32_t *vect3, int vect3_size)
 32-bit fixed point version of the Partial Convolution. More...
 
static void dsp32_vect_copy (dsp32_t *vect1, dsp32_t *vect2, int size)
 32-bit fixed point version of the copy function. More...
 
void dsp32_vect_dotdiv (dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3, int size)
 32-bit fixed point version of the vector dot division function. More...
 
void dsp32_vect_dotmul (dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3, int size)
 32-bit fixed point version of the vector dot multiplication function. More...
 
void dsp32_vect_intdiv (dsp32_t *vect1, dsp32_t *vect2, int size, int integer)
 32-bit fixed point version of the vector division with an integer. More...
 
void dsp32_vect_intmul (dsp32_t *vect1, dsp32_t *vect2, int size, int integer)
 32-bit fixed point version of the vector multiplication with an integer. More...
 
dsp32_t dsp32_vect_max (dsp32_t *vect1, int size)
 32-bit fixed point version of the vector maximum function. More...
 
dsp32_t dsp32_vect_min (dsp32_t *vect1, int size)
 32-bit fixed point version of the vector minimum function. More...
 
void dsp32_vect_neg (dsp32_t *vect1, dsp32_t *vect2, int size)
 32-bit fixed point version of the vector negate function. More...
 
void dsp32_vect_pow (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the power function. More...
 
void dsp32_vect_realadd (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the vector addition with a real number. More...
 
void dsp32_vect_realdiv (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the vector division with a real number. More...
 
void dsp32_vect_realmul (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the vector multiplication with a real number. More...
 
void dsp32_vect_realsub (dsp32_t *vect1, dsp32_t *vect2, int size, dsp32_t real)
 32-bit fixed point version of the vector subtraction with a real number. More...
 
void dsp32_vect_sub (dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3, int size)
 32-bit fixed point version of the vector subtraction function. More...
 
static void dsp32_vect_zeropad (dsp32_t *vect1, int size, int num_zero)
 32-bit fixed point version of the zero padding function. More...