Home
last modified time | relevance | path

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

/cmsis-dsp-3.7.0-3.6.0/Source/SupportFunctions/
Darm_f64_to_q31.c89 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_f64_to_q31()
93 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_f64_to_q31()
97 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_f64_to_q31()
101 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_f64_to_q31()
107 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31()
108 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31()
109 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31()
110 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31()
137 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_f64_to_q31()
143 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0)); in arm_f64_to_q31()
Darm_float_to_q31.c117 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
123 *pDst++ = clip_q63_to_q31((q63_t) (*pSrc++ * 2147483648.0f)); in arm_float_to_q31()
208 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
214 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
251 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
255 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
259 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
263 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
269 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
270 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
[all …]
/cmsis-dsp-3.7.0-3.6.0/Source/ComplexMathFunctions/
Darm_cmplx_mult_real_q31.c133 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
134 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
142 *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()
151 *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()
160 *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()
190 *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()
/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/
Darm_lms_norm_q31.c118 energy = clip_q63_to_q31(energy); in arm_lms_norm_q31()
189 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.c191 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
196 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
200 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
204 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
225 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
Darm_iir_lattice_q31.c298 fnext = clip_q63_to_q31(((q63_t) fcurr - ((q31_t) (((q63_t) gcurr * (*pk )) >> 31)))); in arm_iir_lattice_q31()
301 gnext = clip_q63_to_q31(((q63_t) gcurr + ((q31_t) (((q63_t) fnext * (*pk++)) >> 31)))); in arm_iir_lattice_q31()
/cmsis-dsp-3.7.0-3.6.0/Source/ControllerFunctions/
Darm_pid_init_q31.c68 temp = clip_q63_to_q31((q63_t) S->Kp + S->Ki); in arm_pid_init_q31()
69 S->A0 = clip_q63_to_q31((q63_t) temp + S->Kd); in arm_pid_init_q31()
72 temp = clip_q63_to_q31((q63_t) S->Kd + S->Kd); in arm_pid_init_q31()
73 S->A1 = -clip_q63_to_q31((q63_t) temp + S->Kp); in arm_pid_init_q31()
Darm_sin_cos_q31.c86 *pCosVal = clip_q63_to_q31((temp >> 31) + (q63_t)f1); in arm_sin_cos_q31()
104 *pSinVal = clip_q63_to_q31((temp >> 31) + (q63_t)f1); in arm_sin_cos_q31()
/cmsis-dsp-3.7.0-3.6.0/Source/FastMathFunctions/
Darm_atan2_q31.c72 return(clip_q63_to_q31(res>>2)); in arm_atan_limited_q31()
115 ratio = clip_q63_to_q31((q63_t) ratio << shift); in arm_atan_q31()
135 ratio = clip_q63_to_q31((q63_t) ratio << shift); in arm_atan_q31()
/cmsis-dsp-3.7.0-3.6.0/Source/StatisticsFunctions/
Darm_rms_q31.c69 normalizedPower=clip_q63_to_q31((pow / (q63_t) blockSize) >> 17); in arm_rms_q31()
134 arm_sqrt_q31(clip_q63_to_q31((sum / (q63_t) blockSize) >> 31), pResult); in arm_rms_q31()
Darm_absmax_no_idx_q31.c82 *pResult = clip_q63_to_q31((q63_t)maxValue); in arm_absmax_no_idx_q31()
/cmsis-dsp-3.7.0-3.6.0/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()
/cmsis-dsp-3.7.0-3.6.0/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.h101 out = clip_q63_to_q31(((q63_t) out * tempVal) >> 30); in arm_recip_q31()
/cmsis-dsp-3.7.0-3.6.0/Source/BasicMathFunctions/
Darm_offset_q31.c146 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31()
Darm_shift_q31.c206 *pDst++ = clip_q63_to_q31((q63_t) *pSrc++ << shiftBits); in arm_shift_q31()