Definition in file vect_dsp32_complex_abs.c.
#include "dsp.h"
#include "preprocessor.h"
Go to the source code of this file.
Defines | |
#define | DSP32_COMPLEX_ABS(x_num, data) |
#define | DSP32_COMPLEX_ABS_KERNEL_X_FCT(x_num, data) |
Functions | |
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. | |
static void | dsp32_vect_complex_abs_kernel_x0 (dsp32_t *vect1, dsp32_complex_t *vect2) |
#define DSP32_COMPLEX_ABS | ( | x_num, | |||
data | ) |
Value:
temp1 = vect2[x_num].real; \ temp1 = (temp1*temp1) >> DSP32_QB; \ temp2 = vect2[x_num].imag; \ temp2 = (temp2*temp2) >> DSP32_QB; \ vect1[x_num] = dsp32_op_sqrt(temp1 + temp2);
Definition at line 53 of file vect_dsp32_complex_abs.c.
Referenced by dsp32_vect_complex_abs().
#define DSP32_COMPLEX_ABS_KERNEL_X_FCT | ( | x_num, | |||
data | ) |
Value:
static void TPASTE2(dsp32_vect_complex_abs_kernel_x, x_num)(dsp32_t *vect1, dsp32_complex_t *vect2) \ { \ S32 temp1, temp2; \ MREPEAT(x_num, DSP32_COMPLEX_ABS, ""); \ }
Definition at line 63 of file vect_dsp32_complex_abs.c.
static void dsp32_vect_complex_abs_kernel_x0 | ( | dsp32_t * | vect1, | |
dsp32_complex_t * | vect2 | |||
) | [static] |