All the vector management functions currently supported by the DSP library.
This function adds two vectors and store the result into another one.
Relative functions:
This function adds two vectors and store the result into another one. It takes care of the saturation.
Relative functions:
This function adds each items of a vector with a real number and store the result into another vector.
Relative functions:
This function subtracts two vectors and store the result into another one.
Relative functions:
This function subtracts each items of a vector with a real number and store the result into another vector.
Relative functions:
This function multiplies one vector with a real number and store the result into another vector.
Relative functions:
This function divides one vector with a real number and store the result into another vector.
Relative functions:
This function multiplies one vector with an integer and store the result into another vector.
Relative functions:
This function divides one vector with an integer and store the result into another vector.
Relative functions:
This function multiplies two vectors point per point and store the result into another one.
Relative functions:
This function divides two vectors point per point and store the result into another one.
Relative functions:
These functions compute vect2^real.
Relative functions:
This function retrieves the minimum of a vector.
Relative functions:
This function retrieves the maximum of a vector.
Relative functions:
This function negate a vector.
Relative functions:
This function zero pads the tail of the vector.
Relative functions:
This function copy a vector into another vector.
Relative functions:
This function performs a linear partial convolution between two discrete sequences. It returns a signal of a length equals to (vect2_size - vect3_size + 1) elements.
Relative functions:
This function performs a linear convolution between two discrete sequences. It returns a signal of a length equals to (vect2_size + vect3_size - 1) elements.
Relative functions:
This function add two complex vectors and store the result into another one.
Relative functions:
This function sub two complex vectors and store the result into another one.
Relative functions:
This function returns the absolute value of a complex vector.
Relative functions:
This function returns the conjugate complex vector of the input.
Relative functions:
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... | |
16-bit fixed point version of the vector addition function.
vect1 | A pointer on the 16-bit real vector that will received the result of the addition. |
vect2 | A pointer on the 16-bit real vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 16-bit real vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp16_vect_add_kernel_ext().
16-bit fixed point version of the vector addition function.
vect1 | A pointer on the 16-bit real vector that will received the result of the addition. |
vect2 | A pointer on the 16-bit real vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 16-bit real vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP16_ADDITION.
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.
vect1 | A pointer on the 16-bit real vector that will receive the result. |
vect2 | A pointer on the 16-bit complex vector that will be computed. |
size | The size of the input buffer. |
References DSP16_COMPLEX_ABS, and dsp16_vect_complex_abs_kernel_x0().
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.
vect1 | A pointer on the 16-bit complex vector that will received the result of the addition. |
vect2 | A pointer on the 16-bit complex vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 16-bit complex vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP16_COMPLEXADDITION.
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.
vect1 | A pointer on the 16-bit complex vector that will receive the result. |
vect2 | A pointer on the 16-bit complex vector that will be computed. |
size | The size of the input buffer. |
References dsp16_vect_conj_kernel_ext().
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.
vect1 | A pointer on the 16-bit complex vector that will received the result of the subtraction. |
vect2 | A pointer on the 16-bit complex vector that will be subtracted with the other input vector (vect3). |
vect3 | A pointer on the 16-bit complex vector that will be subtracted with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP16_COMPLEXSUBITION.
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.
vect1 | A pointer on a 16-bits fixed-point vector corresponding to the output buffer. |
vect2 | A pointer on a 16-bits fixed-point vector of vect2_size elements corresponding to the first input buffer. |
vect2_size | The length of the first input buffer (must be greater or equals to 8). |
vect3 | A pointer on a 16-bits fixed-point vector of vect3_size elements corresponding to the second input buffer. |
vect3_size | The length of the second input buffer (must be greater or equals to 8) |
References dsp16_vect_convpart(), dsp16_vect_copy(), and dsp16_vect_zeropad().
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.
vect1 | A pointer on a 16-bits fixed-point vector corresponding to the output buffer. |
vect2 | A pointer on a 16-bits fixed-point vector of vect2_size elements corresponding to the first input buffer. |
vect2_size | The length of the first input buffer (must be greater or equals to 4). |
vect3 | A pointer on a 16-bits fixed-point vector of vect3_size elements corresponding to the second input buffer. |
vect3_size | The length of the second input buffer (must be greater or equals to 8) |
Referenced by dsp16_filt_fir(), and dsp16_vect_conv().
16-bit fixed point version of the copy function.
vect1 | A pointer on the 16 bits real vector that will receive data. |
vect2 | A pointer on the 16 bits real vector to be copied. |
size | The size of those vectors. |
Referenced by dsp16_resampling_compute(), dsp16_resampling_link(), and dsp16_vect_conv().
16-bit fixed point version of the vector dot division function.
vect1 | A pointer on the 16-bit real vector that will received the result of the dot division. |
vect2 | A pointer on the 16-bit real vector that will be divided with the other input vector (vect3). |
vect3 | A pointer on the 16-bit real vector that will be divided with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp16_vect_dotdiv_kernel_ext().
16-bit fixed point version of the vector dot multiplication function.
vect1 | A pointer on the 16-bit real vector that will received the result of the dot multiplication. |
vect2 | A pointer on the 16-bit real vector that will be multiplied with the other input vector (vect3). |
vect3 | A pointer on the 16-bit real vector that will be multiplied with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp16_vect_dotmul_kernel_ext().
16-bit fixed point version of the vector division with an integer.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be divided with the integer. |
size | The size of the buffers. |
integer | The integer to be divided with the vector (vect2). |
References DSP16_INTDIVISION.
16-bit fixed point version of the vector multiplication with an integer.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be multiplied with the integer. |
size | The size of the buffers. |
integer | The integer to be multiplied with the vector (vect2). |
References DSP16_INTMULTIPLICATION.
16-bit fixed point version of the vector maximum function.
vect1 | A pointer on the 16-bit real vector that is used to find its maximum. |
size | The size of the input buffer. |
References DSP16_MAXIMUM, DSP16_QA, DSP16_QB, DSP_Q_MIN, and max.
16-bit fixed point version of the vector minimum function.
vect1 | A pointer on the 16-bit real vector that is used to find its minimum. |
size | The size of the input buffer. |
References DSP16_MINIMUM, DSP16_QA, DSP16_QB, DSP_Q_MAX, and min.
16-bit fixed point version of the vector negate function.
vect1 | A pointer on the 16-bit real vector that will receive the result. |
vect2 | A pointer on the 16-bit real vector that will be negate. |
size | The size of the input buffer. |
References dsp16_vect_neg_kernel_ext().
16-bit fixed point version of the power function.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be raised to the power 'real'. |
size | The size of the buffers. |
real | The real number used to raised to the power 'vect2'. |
References DSP16_POWER.
16-bit fixed point version of the vector addition with a real number.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be added with the real number. |
size | The size of the buffers. |
real | The real number to be added with the vector (vect2). |
References DSP16_REALADDITION.
16-bit fixed point version of the vector division with a real number.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be divided with the real number. |
size | The size of the buffers. |
real | The real number to be divided with the vector (vect2). |
References dsp16_vect_realdiv_kernel_ext().
Referenced by dsp16_resampling_setup().
16-bit fixed point version of the vector multiplication with a real number.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be multiplied with the real number. |
size | The size of the buffers. |
real | The real number to be multiplied with the vector (vect2). |
References dsp16_vect_realmul_kernel_ext().
Referenced by dsp16_resampling_setup().
16-bit fixed point version of the vector subtraction with a real number.
vect1 | A pointer on the 16-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 16-bit real vector that will be subtracted with the real number. |
size | The size of the buffers. |
real | The real number to be subtracted with the vector (vect2). |
References DSP16_REALSUBTRACTION.
16-bit fixed point version of the vector subtraction function.
vect1 | A pointer on the 16-bit real vector that will received the result of the subtraction. |
vect2 | A pointer on the 16-bit real vector that will be subtracted with the other input vector (vect3). |
vect3 | A pointer on the 16-bit real vector that will be subtracted with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp16_vect_sub_kernel_ext().
|
inlinestatic |
16-bit fixed point version of the zero padding function.
vect1 | A pointer on the 16 bits real vector that has to be padded with zeros. |
size | The size of this vector. |
num_zero | The number of zeros to pad at the end of the vector. |
Referenced by dsp16_resampling_setup(), and dsp16_vect_conv().
32-bit fixed point version of the vector addition function.
vect1 | A pointer on the 32-bit real vector that will received the result of the addition. |
vect2 | A pointer on the 32-bit real vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 32-bit real vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp32_vect_add_kernel_ext().
32-bit fixed point version of the vector addition function.
vect1 | A pointer on the 32-bit real vector that will received the result of the addition. |
vect2 | A pointer on the 32-bit real vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 32-bit real vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP32_ADDITION.
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.
vect1 | A pointer on the 32-bit real vector that will receive the result. |
vect2 | A pointer on the 32-bit complex vector that will be computed. |
size | The size of the input buffer. |
References DSP32_COMPLEX_ABS, and dsp32_vect_complex_abs_kernel_x0().
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.
vect1 | A pointer on the 32-bit complex vector that will received the result of the addition. |
vect2 | A pointer on the 32-bit complex vector that will be added with the other input vector (vect3). |
vect3 | A pointer on the 32-bit complex vector that will be added with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP32_COMPLEXADDITION.
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.
vect1 | A pointer on the 32-bit complex vector that will received the result of the subtraction. |
vect2 | A pointer on the 32-bit complex vector that will be subtracted with the other input vector (vect3). |
vect3 | A pointer on the 32-bit complex vector that will be subtracted with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP32_COMPLEXSUBITION.
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.
vect1 | A pointer on a 32-bits fixed-point vector corresponding to the output buffer. |
vect2 | A pointer on a 32-bits fixed-point vector of vect2_size elements corresponding to the first input buffer. |
vect2_size | The length of the first input buffer (must be greater or equals to 8). |
vect3 | A pointer on a 32-bits fixed-point vector of vect3_size elements corresponding to the second input buffer. |
vect3_size | The length of the second input buffer (must be greater or equals to 8) |
References dsp32_vect_convpart(), dsp32_vect_copy(), and dsp32_vect_zeropad().
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.
vect1 | A pointer on a 32-bits fixed-point vector corresponding to the output buffer. |
vect2 | A pointer on a 32-bits fixed-point vector of vect2_size elements corresponding to the first input buffer. |
vect2_size | The length of the first input buffer (must be greater or equals to 4). |
vect3 | A pointer on a 32-bits fixed-point vector of vect3_size elements corresponding to the second input buffer. |
vect3_size | The length of the second input buffer (must be greater or equals to 8) |
Referenced by dsp32_filt_fir(), and dsp32_vect_conv().
32-bit fixed point version of the copy function.
vect1 | A pointer on the 32 bits real vector that will receive data. |
vect2 | A pointer on the 32 bits real vector to be copied. |
size | The size of those vectors. |
Referenced by dsp32_vect_conv().
32-bit fixed point version of the vector dot division function.
vect1 | A pointer on the 32-bit real vector that will received the result of the dot division. |
vect2 | A pointer on the 32-bit real vector that will be divided with the other input vector (vect3). |
vect3 | A pointer on the 32-bit real vector that will be divided with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP32_QB.
32-bit fixed point version of the vector dot multiplication function.
vect1 | A pointer on the 32-bit real vector that will received the result of the dot multiplication. |
vect2 | A pointer on the 32-bit real vector that will be multiplied with the other input vector (vect3). |
vect3 | A pointer on the 32-bit real vector that will be multiplied with the other input vector (vect2). |
size | The size of the input buffers. |
References DSP32_QB.
32-bit fixed point version of the vector division with an integer.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be divided with the integer. |
size | The size of the buffers. |
integer | The integer to be divided with the vector (vect2). |
References DSP32_INTDIVISION.
32-bit fixed point version of the vector multiplication with an integer.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be multiplied with the integer. |
size | The size of the buffers. |
integer | The integer to be multiplied with the vector (vect2). |
References DSP32_INTMULTIPLICATION.
32-bit fixed point version of the vector maximum function.
vect1 | A pointer on the 32-bit real vector that is used to find its maximum. |
size | The size of the input buffer. |
References DSP32_QA, DSP32_QB, dsp32_vect_max_kernel_ext(), DSP_Q_MIN, and max.
32-bit fixed point version of the vector minimum function.
vect1 | A pointer on the 32-bit real vector that is used to find its minimum. |
size | The size of the input buffer. |
References DSP32_QA, DSP32_QB, dsp32_vect_min_kernel_ext(), DSP_Q_MAX, and min.
32-bit fixed point version of the vector negate function.
vect1 | A pointer on the 32-bit real vector that will receive the result. |
vect2 | A pointer on the 32-bit real vector that will be negate. |
size | The size of the input buffer. |
References dsp32_vect_neg_kernel_ext().
32-bit fixed point version of the power function.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be raised to the power 'real'. |
size | The size of the buffers. |
real | The real number used to raised to the power 'vect2'. |
References DSP32_POWER.
32-bit fixed point version of the vector addition with a real number.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be added with the real number. |
size | The size of the buffers. |
real | The real number to be added with the vector (vect2). |
References DSP32_REALADDITION.
32-bit fixed point version of the vector division with a real number.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be divided with the real number. |
size | The size of the buffers. |
real | The real number to be divided with the vector (vect2). |
References DSP32_QB.
32-bit fixed point version of the vector multiplication with a real number.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be multiplied with the real number. |
size | The size of the buffers. |
real | The real number to be multiplied with the vector (vect2). |
References dsp32_vect_realmul_kernel_ext().
32-bit fixed point version of the vector subtraction with a real number.
vect1 | A pointer on the 32-bit real vector that will received the result of the operation. |
vect2 | A pointer on the 32-bit real vector that will be subtracted with the real number. |
size | The size of the buffers. |
real | The real number to be subtracted with the vector (vect2). |
References DSP32_REALSUBTRACTION.
32-bit fixed point version of the vector subtraction function.
vect1 | A pointer on the 32-bit real vector that will received the result of the subtraction. |
vect2 | A pointer on the 32-bit real vector that will be subtracted with the other input vector (vect3). |
vect3 | A pointer on the 32-bit real vector that will be subtracted with the other input vector (vect2). |
size | The size of the input buffers. |
References dsp32_vect_sub_kernel_ext().
|
inlinestatic |
32-bit fixed point version of the zero padding function.
vect1 | A pointer on the 32 bits real vector that has to be padded with zeros. |
size | The size of this vector. |
num_zero | The number of zeros to pad at the end of the vector. |
Referenced by dsp32_vect_conv().