/cmsis-dsp-3.7.0-3.6.0/Source/FastMathFunctions/ |
D | arm_atan2_q31.c | 108 int16_t shift; in arm_atan_q31() local 110 arm_divide_q31(x,y,&ratio,&shift); in arm_atan_q31() 113 if (shift >= 0) in arm_atan_q31() 115 ratio = clip_q63_to_q31((q63_t) ratio << shift); in arm_atan_q31() 119 ratio = (ratio >> -shift); in arm_atan_q31() 128 int16_t shift; in arm_atan_q31() local 130 arm_divide_q31(y,x,&ratio,&shift); in arm_atan_q31() 133 if (shift >= 0) in arm_atan_q31() 135 ratio = clip_q63_to_q31((q63_t) ratio << shift); in arm_atan_q31() 139 ratio = (ratio >> -shift); in arm_atan_q31()
|
D | arm_atan2_q15.c | 108 int16_t shift; in arm_atan_q15() local 110 arm_divide_q15(x,y,&ratio,&shift); in arm_atan_q15() 113 if (shift >=0) in arm_atan_q15() 115 ratio = __SSAT(((q31_t) ratio << shift), 16); in arm_atan_q15() 119 ratio = (ratio >> -shift); in arm_atan_q15() 128 int16_t shift; in arm_atan_q15() local 130 arm_divide_q15(y,x,&ratio,&shift); in arm_atan_q15() 133 if (shift >=0) in arm_atan_q15() 135 ratio = __SSAT(((q31_t) ratio << shift), 16); in arm_atan_q15() 139 ratio = (ratio >> -shift); in arm_atan_q15()
|
D | arm_divide_q15.c | 63 int16_t *shift) in arm_divide_q15() argument 69 *shift = 0; in arm_divide_q15() 94 *shift = shiftForNormalizing; in arm_divide_q15()
|
D | arm_divide_q31.c | 58 int16_t *shift) in arm_divide_q31() argument 64 *shift = 0; in arm_divide_q31() 89 *shift = shiftForNormalizing; in arm_divide_q31()
|
/cmsis-dsp-3.7.0-3.6.0/Source/FilteringFunctions/ |
D | arm_biquad_cascade_df1_q15.c | 68 int shift; in arm_biquad_cascade_df1_q15() local 78 shift = (15 - postShift) - 32; in arm_biquad_cascade_df1_q15() 120 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 125 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 133 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 139 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 170 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 180 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 194 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() 204 acc = sqrshrl_sat48(acc, shift); in arm_biquad_cascade_df1_q15() [all …]
|
D | arm_biquad_cascade_df1_32x64_q31.c | 192 int32_t shift = (int32_t) S->postShift + 1; /* Shift to be applied to the output */ in arm_biquad_cas_df1_32x64_q31_scalar() local 245 Yn1 = acc << shift; in arm_biquad_cas_df1_32x64_q31_scalar() 296 int32_t shift = (int32_t) S->postShift + 1; /* Shift to be applied to the output */ in arm_biquad_cas_df1_32x64_q31() local 357 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 379 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 392 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 402 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 412 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 436 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() 452 Yn1 = asrl(Yn1, -shift); in arm_biquad_cas_df1_32x64_q31() [all …]
|
D | arm_biquad_cascade_df1_q31.c | 67 int shift; in arm_biquad_cascade_df1_q31() local 79 shift = (postShift + 1 + 8); in arm_biquad_cascade_df1_q31() 122 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 129 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 163 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 180 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 194 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 201 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 230 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() 237 acc = lsll(acc, shift); in arm_biquad_cascade_df1_q31() [all …]
|
D | arm_biquad_cascade_df1_fast_q31.c | 75 int32_t shift = (int32_t) S->postShift + 1; /* Shift to be applied to the output */ in arm_biquad_cascade_df1_fast_q31() local 127 Yn2 = acc << shift; in arm_biquad_cascade_df1_fast_q31() 153 Yn1 = acc << shift; in arm_biquad_cascade_df1_fast_q31() 179 Yn2 = acc << shift; in arm_biquad_cascade_df1_fast_q31() 211 Yn1 = acc << shift; in arm_biquad_cascade_df1_fast_q31() 257 acc = acc << shift; in arm_biquad_cascade_df1_fast_q31()
|
D | arm_biquad_cascade_df1_fast_q15.c | 75 int32_t shift = (int32_t) (15 - S->postShift); /* Post shift */ in arm_biquad_cascade_df1_fast_q15() local 121 out = __SSAT((acc >> shift), 16); in arm_biquad_cascade_df1_fast_q15() 148 out = __SSAT((acc >> shift), 16); in arm_biquad_cascade_df1_fast_q15() 205 out = __SSAT((acc >> shift), 16); in arm_biquad_cascade_df1_fast_q15()
|
D | arm_levinson_durbin_q31.c | 59 int16_t shift; in divide() local 77 status=arm_divide_q15(HALF_Q15,d>>16,&inverse,&shift); in divide() 83 r = TWO_Q30 - (r << shift); in divide() 86 r = r << (shift + 2); in divide()
|
/cmsis-dsp-3.7.0-3.6.0/Source/BasicMathFunctions/ |
D | arm_scale_q7.c | 60 int8_t shift, in arm_scale_q7() argument 82 low = vqshlq_r(low, shift); in arm_scale_q7() 85 high = vqshlq_r(high, shift); in arm_scale_q7() 108 low = vqshlq_r(low, shift); in arm_scale_q7() 112 high = vqshlq_r(high, shift); in arm_scale_q7() 125 int8_t shift, in arm_scale_q7() argument 130 int8_t kShift = 7 - shift; /* Shift to apply after scaling */ in arm_scale_q7()
|
D | arm_scale_q15.c | 60 int8_t shift, in arm_scale_q15() argument 80 low = vqshlq_r(low, shift); in arm_scale_q15() 84 high = vqshlq_r(high, shift); in arm_scale_q15() 107 low = vqshlq_r(low, shift); in arm_scale_q15() 111 high = vqshlq_r(high, shift); in arm_scale_q15() 123 int8_t shift, in arm_scale_q15() argument 128 int8_t kShift = 15 - shift; /* Shift to apply after scaling */ in arm_scale_q15()
|
D | arm_scale_q31.c | 65 int8_t shift, in arm_scale_q31() argument 83 vecDst = vqshlq_r(vecDst, shift + 1); in arm_scale_q31() 104 vecDst = vqshlq_r(vecDst, shift + 1); in arm_scale_q31() 113 int8_t shift, in arm_scale_q31() argument 119 int8_t kShift = shift + 1; /* Shift to apply after scaling */ in arm_scale_q31()
|
/cmsis-dsp-3.7.0-3.6.0/Source/DistanceFunctions/ |
D | arm_boolean_distance_template.h | 101 int shift; in FUNC() local 149 shift = 0; in FUNC() 150 while(shift < 32) in FUNC() 169 shift ++; in FUNC() 252 int shift; in FUNC() local 371 shift = 0; in FUNC() 372 while(shift < 32) in FUNC() 391 shift ++; in FUNC() 472 int shift; in FUNC() local 478 shift = 0; in FUNC() [all …]
|
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/examples/kws_example/kws/ |
D | AppNodes.h | 180 int16_t *shift) in arm_divide_q15() argument 186 *shift = 0; in arm_divide_q15() 211 *shift = shiftForNormalizing; in arm_divide_q15() 253 int16_t shift; in dsp_zcr_q15() local 255 arm_status status=arm_divide_q15(k,blockSize-1,"ient,&shift); in dsp_zcr_q15() 257 if (shift==1) in dsp_zcr_q15() 259 arm_shift_q15("ient,shift,"ient,1); in dsp_zcr_q15()
|
/cmsis-dsp-3.7.0-3.6.0/Source/MatrixFunctions/ |
D | arm_mat_scale_q31.c | 58 int32_t shift, in arm_mat_scale_q31() argument 67 int32_t totShift = shift + 1; /* shift to apply after scaling */ in arm_mat_scale_q31() 135 int32_t shift, in arm_mat_scale_q31() argument 143 int32_t kShift = shift + 1; /* Shift to apply after scaling */ in arm_mat_scale_q31()
|
D | arm_mat_scale_q15.c | 58 int32_t shift, in arm_mat_scale_q15() argument 68 int32_t totShift = shift + 1; /* shift to apply after scaling */ in arm_mat_scale_q15() 136 int32_t shift, in arm_mat_scale_q15() argument 144 int32_t kShift = 15 - shift; /* Total shift to apply after scaling */ in arm_mat_scale_q15()
|
/cmsis-dsp-3.7.0-3.6.0/Testing/Source/Tests/ |
D | FastMathQ31.cpp | 64 int16_t *shiftp = shift.ptr(); in test_division_q31() 78 ASSERT_EQ(refShift,shift); in test_division_q31() 137 int16_t *shiftp = shift.ptr(); in test_recip_q31() 148 ASSERT_EQ(refShift,shift); in test_recip_q31() 193 shift.create(ref.nbSamples(),FastMathQ31::SHIFT_S16_ID,mgr); in setUp() 250 shift.create(ref.nbSamples(),FastMathQ31::SHIFT_S16_ID,mgr); in setUp()
|
D | FastMathQ15.cpp | 66 int16_t *shiftp = shift.ptr(); in test_division_q15() 79 ASSERT_EQ(refShift,shift); in test_division_q15() 140 int16_t *shiftp = shift.ptr(); in test_recip_q15() 151 ASSERT_EQ(refShift,shift); in test_recip_q15() 196 shift.create(ref.nbSamples(),FastMathQ15::SHIFT_S16_ID,mgr); in setUp() 253 shift.create(ref.nbSamples(),FastMathQ15::SHIFT_S16_ID,mgr); in setUp()
|
/cmsis-dsp-3.7.0-3.6.0/Source/TransformFunctions/ |
D | arm_mfcc_q31.c | 100 int16_t shift; in arm_mfcc_q31() local 102 status = arm_divide_q31(0x7FFFFFFF,m,"ient,&shift); in arm_mfcc_q31() 108 arm_scale_q31(pSrc,quotient,shift,pSrc,S->fftLen); in arm_mfcc_q31()
|
D | arm_mfcc_q15.c | 99 int16_t shift; in arm_mfcc_q15() local 101 status = arm_divide_q15(0x7FFF,m,"ient,&shift); in arm_mfcc_q15() 107 arm_scale_q15(pSrc,quotient,shift,pSrc,S->fftLen); in arm_mfcc_q15()
|
/cmsis-dsp-3.7.0-3.6.0/PythonWrapper/cmsisdsp_pkg/src/ |
D | cmsisdsp_fastmath.c | 312 int16_t shift; // output in cmsis_arm_divide_q31() local 319 arm_status returnValue = arm_divide_q31(num,den,&pOut,&shift); in cmsis_arm_divide_q31() 322 PyObject* pShiftOBJ=Py_BuildValue("h",shift); in cmsis_arm_divide_q31() 341 int16_t shift; // output in cmsis_arm_divide_q15() local 348 arm_status returnValue = arm_divide_q15(num,den,&pOut,&shift); in cmsis_arm_divide_q15() 351 PyObject* pShiftOBJ=Py_BuildValue("h",shift); in cmsis_arm_divide_q15()
|
/cmsis-dsp-3.7.0-3.6.0/Include/dsp/ |
D | fast_math_functions.h | 324 int16_t *shift); 341 int16_t *shift);
|
D | basic_math_functions.h | 303 int8_t shift, 319 int8_t shift, 335 int8_t shift,
|
/cmsis-dsp-3.7.0-3.6.0/Include/ |
D | arm_helium_utils.h | 608 #define MVE_ASRL_SAT16(acc, shift) ((sqrshrl_sat48(acc, -(32-shift)) >> 32) & 0xffffffff) argument 609 #define MVE_ASRL_SAT32(acc, shift) ((sqrshrl(acc, -(32-shift)) >> 32) & 0xffffffff) argument
|