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