Definition in file vect_dsp16_complex_abs.c.
#include "dsp.h"
#include "preprocessor.h"
Go to the source code of this file.
Defines | |
#define | DSP16_COMPLEX_ABS(x_num, data) |
#define | DSP16_COMPLEX_ABS_KERNEL_X_FCT(x_num, data) |
Functions | |
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. | |
static void | dsp16_vect_complex_abs_kernel_x0 (dsp16_t *vect1, dsp16_complex_t *vect2) |
#define DSP16_COMPLEX_ABS | ( | x_num, | |||
data | ) |
Value:
temp1 = vect2[x_num].real; \ temp1 = (temp1*temp1) >> DSP16_QB; \ temp2 = vect2[x_num].imag; \ temp2 = (temp2*temp2) >> DSP16_QB; \ vect1[x_num] = dsp16_op_sqrt(temp1 + temp2);
Definition at line 53 of file vect_dsp16_complex_abs.c.
Referenced by dsp16_vect_complex_abs().
#define DSP16_COMPLEX_ABS_KERNEL_X_FCT | ( | x_num, | |||
data | ) |
Value:
static void TPASTE2(dsp16_vect_complex_abs_kernel_x, x_num)(dsp16_t *vect1, dsp16_complex_t *vect2) \ { \ S32 temp1, temp2; \ MREPEAT(x_num, DSP16_COMPLEX_ABS, ""); \ }
Definition at line 63 of file vect_dsp16_complex_abs.c.
static void dsp16_vect_complex_abs_kernel_x0 | ( | dsp16_t * | vect1, | |
dsp16_complex_t * | vect2 | |||
) | [static] |