Definition in file vect_dsp16_max.c.
#include "dsp.h"
#include "preprocessor.h"
Go to the source code of this file.
Defines | |
#define | DSP16_MAX_KERNEL_X_FCT(x_num, data) |
#define | DSP16_MAXIMUM(x_num, data) |
Functions | |
dsp16_t | dsp16_vect_max (dsp16_t *vect1, int size) |
16-bit fixed point version of the vector maximum function. |
#define DSP16_MAX_KERNEL_X_FCT | ( | x_num, | |||
data | ) |
Value:
static dsp16_t TPASTE2(dsp16_vect_max_kernel_x, x_num)(dsp16_t *vect1, dsp16_t max) \ { \ MREPEAT(x_num, DSP16_MAXIMUM, ""); \ return max; \ }
Definition at line 60 of file vect_dsp16_max.c.
#define DSP16_MAXIMUM | ( | x_num, | |||
data | ) |
Value:
if (max < vect1[x_num]) \
max = vect1[x_num];
Definition at line 53 of file vect_dsp16_max.c.
Referenced by dsp16_vect_max().