Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 7 of 7) sorted by relevance

/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_Device.c61 AKFVEC* vec in AKFS_Rotate() argument
71 tmp = vec->u.x; in AKFS_Rotate()
72 vec->u.x = vec->u.y; in AKFS_Rotate()
73 vec->u.y = -tmp; in AKFS_Rotate()
76 vec->u.x = -(vec->u.x); in AKFS_Rotate()
77 vec->u.y = -(vec->u.y); in AKFS_Rotate()
80 tmp = vec->u.x; in AKFS_Rotate()
81 vec->u.x = -(vec->u.y); in AKFS_Rotate()
82 vec->u.y = tmp; in AKFS_Rotate()
86 vec->u.x = -(vec->u.x); in AKFS_Rotate()
[all …]
DAKFS_Device.h103 AKFVEC* vec
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c197 void inv_vector_normalize(long *vec, int length) in inv_vector_normalize() argument
204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize()
209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize()
212 vec[0] = 1073741824L; in inv_vector_normalize()
214 vec[ii] = 0; in inv_vector_normalize()
Dml_math_func.h98 void inv_vector_normalize(long *vec, int length);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c197 void inv_vector_normalize(long *vec, int length) in inv_vector_normalize() argument
204 inv_q30_to_double(vec[ii]) * inv_q30_to_double(vec[ii]); in inv_vector_normalize()
209 vec[ii] = (int)((double)vec[ii] * normSF); in inv_vector_normalize()
212 vec[0] = 1073741824L; in inv_vector_normalize()
214 vec[ii] = 0; in inv_vector_normalize()
Dml_math_func.h98 void inv_vector_normalize(long *vec, int length);
/hardware/intel/common/libmix/mix_audio/src/
Dmixaudio.c1031 struct iovec *vec; in mix_audio_capture_encode_default() local
1044 vec = (struct iovec *) g_alloca(sizeof(struct iovec) * iovoutcnt); in mix_audio_capture_encode_default()
1045 if (!vec) return MIX_RESULT_NO_MEMORY; in mix_audio_capture_encode_default()
1050 vec[i].iov_base = iovout[i].data; in mix_audio_capture_encode_default()
1051 vec[i].iov_len = iovout[i].size; in mix_audio_capture_encode_default()
1055 bytes_read = readv(mix->fileDescriptor, vec, iovoutcnt); in mix_audio_capture_encode_default()