utilities.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #if !defined(__UTILITIES_H__)
00014 #define __UTILITIES_H__
00015
00016
00017 #if defined(G722_1_USE_FIXED_POINT)
00018 void vec_copyi16(int16_t z[], const int16_t x[], int n);
00019 int32_t vec_dot_prodi16(const int16_t x[], const int16_t y[], int n);
00020 #else
00021 void vec_copyf(float z[], const float x[], int n);
00022 void vec_zerof(float z[], int n);
00023 void vec_subf(float z[], const float x[], const float y[], int n);
00024 void vec_scalar_mulf(float z[], const float x[], float y, int n);
00025 void vec_mulf(float z[], const float x[], const float y[], int n);
00026 float vec_dot_prodf(const float x[], const float y[], int n);
00027 void vec_scaled_addf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
00028 void vec_scaled_subf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
00029 #endif
00030
00031 #endif
00032