Home
last modified time | relevance | path

Searched refs:clip_q63_to_q31 (Results 1 – 13 of 13) sorted by relevance

/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_float_to_q31.c112 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
118 *pDst++ = clip_q63_to_q31((q63_t) (*pSrc++ * 2147483648.0f)); in arm_float_to_q31()
203 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
209 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
246 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
250 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
254 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
258 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
264 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
265 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_mult_real_q31.c134 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
135 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
143 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
144 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
152 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
153 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
161 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
162 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
191 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
192 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
/third_party/cmsis/CMSIS/DSP/Source/ControllerFunctions/
Darm_pid_init_q31.c69 temp = clip_q63_to_q31((q63_t) S->Kp + S->Ki); in arm_pid_init_q31()
70 S->A0 = clip_q63_to_q31((q63_t) temp + S->Kd); in arm_pid_init_q31()
73 temp = clip_q63_to_q31((q63_t) S->Kd + S->Kd); in arm_pid_init_q31()
74 S->A1 = -clip_q63_to_q31((q63_t) temp + S->Kp); in arm_pid_init_q31()
Darm_sin_cos_q31.c87 *pCosVal = clip_q63_to_q31((temp >> 31) + (q63_t)f1); in arm_sin_cos_q31()
105 *pSinVal = clip_q63_to_q31((temp >> 31) + (q63_t)f1); in arm_sin_cos_q31()
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_lms_norm_q31.c189 w = clip_q63_to_q31(((q63_t) errorXmu * oneByEnergy) >> (31 - postShift)); in arm_lms_norm_q31()
210 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
215 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
219 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
223 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
244 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_norm_q31()
Darm_lms_q31.c192 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
197 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
201 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
205 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
226 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
Darm_iir_lattice_q31.c299 fnext = clip_q63_to_q31(((q63_t) fcurr - ((q31_t) (((q63_t) gcurr * (*pk )) >> 31)))); in arm_iir_lattice_q31()
302 gnext = clip_q63_to_q31(((q63_t) gcurr + ((q31_t) (((q63_t) fnext * (*pk++)) >> 31)))); in arm_iir_lattice_q31()
/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_rms_q31.c70 normalizedPower=clip_q63_to_q31((pow / (q63_t) blockSize) >> 17); in arm_rms_q31()
135 arm_sqrt_q31(clip_q63_to_q31((sum / (q63_t) blockSize) >> 31), pResult); in arm_rms_q31()
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_cmplx_mult_q31.c562 pOut[0] = (q31_t) clip_q63_to_q31(sumReal >> 31); in arm_mat_cmplx_mult_q31()
563 pOut[1] = (q31_t) clip_q63_to_q31(sumImag >> 31); in arm_mat_cmplx_mult_q31()
690 px[0 * CMPLX_DIM * numColsB + 0] = (q31_t) clip_q63_to_q31(acc0 >> 31); in arm_mat_cmplx_mult_q31()
691 px[0 * CMPLX_DIM * numColsB + 1] = (q31_t) clip_q63_to_q31(acc1 >> 31); in arm_mat_cmplx_mult_q31()
692 px[1 * CMPLX_DIM * numColsB + 0] = (q31_t) clip_q63_to_q31(acc2 >> 31); in arm_mat_cmplx_mult_q31()
693 px[1 * CMPLX_DIM * numColsB + 1] = (q31_t) clip_q63_to_q31(acc3 >> 31); in arm_mat_cmplx_mult_q31()
805 px[0] = (q31_t) clip_q63_to_q31(acc0 >> 31); in arm_mat_cmplx_mult_q31()
806 px[1] = (q31_t) clip_q63_to_q31(acc1 >> 31); in arm_mat_cmplx_mult_q31()
1029 *px++ = (q31_t) clip_q63_to_q31(sumReal >> 31); in arm_mat_cmplx_mult_q31()
1030 *px++ = (q31_t) clip_q63_to_q31(sumImag >> 31); in arm_mat_cmplx_mult_q31()
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dnone.h136 __STATIC_FORCEINLINE q31_t clip_q63_to_q31( in clip_q63_to_q31() function
437 return ((int32_t)(clip_q63_to_q31((q63_t)x + (q31_t)y))); in __QADD()
448 return ((int32_t)(clip_q63_to_q31((q63_t)x - (q31_t)y))); in __QSUB()
Dutils.h88 out = clip_q63_to_q31(((q63_t) out * tempVal) >> 30); in arm_recip_q31()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_offset_q31.c147 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31()
Darm_shift_q31.c207 *pDst++ = clip_q63_to_q31((q63_t) *pSrc++ << shiftBits); in arm_shift_q31()