vect_dsp32_dotmul.c File Reference


Detailed Description

generic 32-bit vector dot multiplication function

This file contains the code of the vector dot multiplication.

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

Definition in file vect_dsp32_dotmul.c.

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

Go to the source code of this file.

Defines

#define DSP32_DOTMUL_KERNEL_X_FCT(x_num, data)
#define DSP32_DOTMULTIPLICATION(x_num, data)   vect1[x_num] = ((S64) vect2[x_num] * (S64) vect3[x_num]) >> DSP32_QB;

Functions

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.


Define Documentation

#define DSP32_DOTMUL_KERNEL_X_FCT ( x_num,
data   ) 

Value:

static void TPASTE2(dsp32_vect_dotmul_kernel_x, x_num)(dsp32_t *vect1, dsp32_t *vect2, dsp32_t *vect3) \
{ \
  MREPEAT(x_num, DSP32_DOTMULTIPLICATION, ""); \
}

Definition at line 61 of file vect_dsp32_dotmul.c.

#define DSP32_DOTMULTIPLICATION ( x_num,
data   )     vect1[x_num] = ((S64) vect2[x_num] * (S64) vect3[x_num]) >> DSP32_QB;

Definition at line 55 of file vect_dsp32_dotmul.c.


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