vect_dsp16_complex_add.c File Reference


Detailed Description

generic 16-bit complex addition function

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file vect_dsp16_complex_add.c.

#include "dsp.h"
#include "preprocessor.h"

Go to the source code of this file.

Defines

#define DSP16_COMPLEXADD_KERNEL_X_FCT(x_num, data)
#define DSP16_COMPLEXADDITION(x_num, data)

Functions

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 additon function.


Define Documentation

#define DSP16_COMPLEXADD_KERNEL_X_FCT ( x_num,
data   ) 

Value:

static void TPASTE2(dsp16_vect_complexadd_kernel_x, x_num)(dsp16_complex_t *vect1, dsp16_complex_t *vect2, dsp16_complex_t *vect3) \
{ \
  MREPEAT(x_num, DSP16_COMPLEXADDITION, ""); \
}

Definition at line 60 of file vect_dsp16_complex_add.c.

#define DSP16_COMPLEXADDITION ( x_num,
data   ) 

Value:

vect1[x_num].real = vect2[x_num].real + vect3[x_num].real; \
  vect1[x_num].imag = vect2[x_num].imag + vect3[x_num].imag;

Definition at line 53 of file vect_dsp16_complex_add.c.

Referenced by dsp16_vect_complex_add().


Generated on Fri Feb 19 02:23:20 2010 for AVR32 UC3 - EVK1104 DSPLib Demo Documentation by  doxygen 1.5.5