Home
last modified time | relevance | path

Searched refs:S (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/TransformFunctions/
A Darm_cfft_radix2_init_f32.c73 S->fftLen = fftLen; in arm_cfft_radix2_init_f32()
79 S->ifftFlag = ifftFlag; in arm_cfft_radix2_init_f32()
85 switch (S->fftLen) in arm_cfft_radix2_init_f32()
94 S->bitRevFactor = 1u; in arm_cfft_radix2_init_f32()
107 S->bitRevFactor = 2u; in arm_cfft_radix2_init_f32()
120 S->bitRevFactor = 4u; in arm_cfft_radix2_init_f32()
133 S->bitRevFactor = 8u; in arm_cfft_radix2_init_f32()
143 S->bitRevFactor = 16u; in arm_cfft_radix2_init_f32()
151 S->bitRevFactor = 32u; in arm_cfft_radix2_init_f32()
159 S->bitRevFactor = 64u; in arm_cfft_radix2_init_f32()
[all …]
A Darm_cfft_radix2_init_q15.c74 S->fftLen = fftLen; in arm_cfft_radix2_init_q15()
79 S->ifftFlag = ifftFlag; in arm_cfft_radix2_init_q15()
84 switch (S->fftLen) in arm_cfft_radix2_init_q15()
92 S->bitRevFactor = 1u; in arm_cfft_radix2_init_q15()
104 S->bitRevFactor = 2u; in arm_cfft_radix2_init_q15()
113 S->bitRevFactor = 4u; in arm_cfft_radix2_init_q15()
121 S->bitRevFactor = 8u; in arm_cfft_radix2_init_q15()
129 S->bitRevFactor = 16u; in arm_cfft_radix2_init_q15()
137 S->bitRevFactor = 32u; in arm_cfft_radix2_init_q15()
145 S->bitRevFactor = 64u; in arm_cfft_radix2_init_q15()
[all …]
A Darm_cfft_radix2_init_q31.c75 S->fftLen = fftLen; in arm_cfft_radix2_init_q31()
80 S->ifftFlag = ifftFlag; in arm_cfft_radix2_init_q31()
85 switch (S->fftLen) in arm_cfft_radix2_init_q31()
92 S->bitRevFactor = 1u; in arm_cfft_radix2_init_q31()
102 S->bitRevFactor = 2u; in arm_cfft_radix2_init_q31()
112 S->bitRevFactor = 4u; in arm_cfft_radix2_init_q31()
122 S->bitRevFactor = 8u; in arm_cfft_radix2_init_q31()
130 S->bitRevFactor = 16u; in arm_cfft_radix2_init_q31()
137 S->bitRevFactor = 32u; in arm_cfft_radix2_init_q31()
144 S->bitRevFactor = 64u; in arm_cfft_radix2_init_q31()
[all …]
A Darm_cfft_radix4_init_f32.c74 S->fftLen = fftLen; in arm_cfft_radix4_init_f32()
80 S->ifftFlag = ifftFlag; in arm_cfft_radix4_init_f32()
86 switch (S->fftLen) in arm_cfft_radix4_init_f32()
93 S->twidCoefModifier = 1u; in arm_cfft_radix4_init_f32()
95 S->bitRevFactor = 1u; in arm_cfft_radix4_init_f32()
106 S->twidCoefModifier = 4u; in arm_cfft_radix4_init_f32()
108 S->bitRevFactor = 4u; in arm_cfft_radix4_init_f32()
119 S->bitRevFactor = 16u; in arm_cfft_radix4_init_f32()
127 S->bitRevFactor = 64u; in arm_cfft_radix4_init_f32()
135 S->bitRevFactor = 256u; in arm_cfft_radix4_init_f32()
[all …]
A Darm_cfft_radix4_init_q15.c74 S->fftLen = fftLen; in arm_cfft_radix4_init_q15()
78 S->ifftFlag = ifftFlag; in arm_cfft_radix4_init_q15()
83 switch (S->fftLen) in arm_cfft_radix4_init_q15()
89 S->twidCoefModifier = 1u; in arm_cfft_radix4_init_q15()
91 S->bitRevFactor = 1u; in arm_cfft_radix4_init_q15()
99 S->twidCoefModifier = 4u; in arm_cfft_radix4_init_q15()
100 S->bitRevFactor = 4u; in arm_cfft_radix4_init_q15()
107 S->twidCoefModifier = 16u; in arm_cfft_radix4_init_q15()
108 S->bitRevFactor = 16u; in arm_cfft_radix4_init_q15()
116 S->bitRevFactor = 64u; in arm_cfft_radix4_init_q15()
[all …]
A Darm_cfft_radix4_init_q31.c73 S->fftLen = fftLen; in arm_cfft_radix4_init_q31()
77 S->ifftFlag = ifftFlag; in arm_cfft_radix4_init_q31()
82 switch (S->fftLen) in arm_cfft_radix4_init_q31()
87 S->twidCoefModifier = 1u; in arm_cfft_radix4_init_q31()
89 S->bitRevFactor = 1u; in arm_cfft_radix4_init_q31()
97 S->twidCoefModifier = 4u; in arm_cfft_radix4_init_q31()
99 S->bitRevFactor = 4u; in arm_cfft_radix4_init_q31()
106 S->twidCoefModifier = 16u; in arm_cfft_radix4_init_q31()
107 S->bitRevFactor = 16u; in arm_cfft_radix4_init_q31()
114 S->bitRevFactor = 64u; in arm_cfft_radix4_init_q31()
[all …]
A Darm_rfft_init_f32.c4202 arm_rfft_instance_f32 * S, in arm_rfft_init_f32() argument
4225 S->ifftFlagR = (uint8_t) ifftFlagR; in arm_rfft_init_f32()
4231 switch (S->fftLenReal) in arm_rfft_init_f32()
4235 S->twidCoefRModifier = 1u; in arm_rfft_init_f32()
4238 S->twidCoefRModifier = 4u; in arm_rfft_init_f32()
4241 S->twidCoefRModifier = 16u; in arm_rfft_init_f32()
4244 S->twidCoefRModifier = 64u; in arm_rfft_init_f32()
4253 S->pCfft = S_CFFT; in arm_rfft_init_f32()
4255 if (S->ifftFlagR) in arm_rfft_init_f32()
4258 arm_cfft_radix4_init_f32(S->pCfft, S->fftLenBy2, 1u, 0u); in arm_rfft_init_f32()
[all …]
A Darm_dct4_init_f32.c16444 arm_dct4_instance_f32 * S, in arm_dct4_init_f32() argument
16467 S->N = N; in arm_dct4_init_f32()
16470 S->Nby2 = Nby2; in arm_dct4_init_f32()
16473 S->normalize = normalize; in arm_dct4_init_f32()
16476 S->pRfft = S_RFFT; in arm_dct4_init_f32()
16479 S->pCfft = S_CFFT; in arm_dct4_init_f32()
16485 S->pTwiddle = twiddlePtr[3]; in arm_dct4_init_f32()
16489 S->pTwiddle = twiddlePtr[2]; in arm_dct4_init_f32()
16493 S->pTwiddle = twiddlePtr[1]; in arm_dct4_init_f32()
16497 S->pTwiddle = twiddlePtr[0]; in arm_dct4_init_f32()
[all …]
A Darm_dct4_q15.c52 const arm_dct4_instance_q15 * S, in arm_dct4_q15() argument
97 pS2 = pState + (S->N - 1u); in arm_dct4_q15()
108 i = (uint32_t) S->Nby2 >> 2u; in arm_dct4_q15()
140 i = (uint32_t) S->N >> 2u; in arm_dct4_q15()
179 i = ((uint32_t) S->N - 1u) >> 2u; in arm_dct4_q15()
224 i = ((uint32_t) S->N - 1u) % 0x4u; in arm_dct4_q15()
243 i = (uint32_t) S->N >> 2u; in arm_dct4_q15()
274 i = (uint32_t) S->Nby2; in arm_dct4_q15()
295 i = (uint32_t) S->N; in arm_dct4_q15()
329 i = ((uint32_t) S->N - 1u); in arm_dct4_q15()
[all …]
A Darm_dct4_q31.c53 const arm_dct4_instance_q31 * S, in arm_dct4_q31() argument
98 pS2 = pState + (S->N - 1u); in arm_dct4_q31()
108 i = S->Nby2 >> 2u; in arm_dct4_q31()
140 i = S->N >> 2u; in arm_dct4_q31()
179 i = (S->N - 1u) >> 2u; in arm_dct4_q31()
224 i = (S->N - 1u) % 0x4u; in arm_dct4_q31()
243 i = S->N >> 2u; in arm_dct4_q31()
274 i = S->Nby2; in arm_dct4_q31()
295 i = S->N; in arm_dct4_q31()
343 i = (S->N - 1u); in arm_dct4_q31()
[all …]
A Darm_dct4_f32.c126 const arm_dct4_instance_f32 * S, in arm_dct4_f32() argument
171 pS2 = pState + (S->N - 1u); in arm_dct4_f32()
181 i = (uint32_t) S->Nby2 >> 2u; in arm_dct4_f32()
213 i = (uint32_t) S->N >> 2u; in arm_dct4_f32()
312 i = (uint32_t) S->N >> 2u; in arm_dct4_f32()
322 *pbuff++ = in * S->normalize; in arm_dct4_f32()
325 *pbuff++ = in * S->normalize; in arm_dct4_f32()
343 i = (uint32_t) S->Nby2; in arm_dct4_f32()
364 i = (uint32_t) S->N; in arm_dct4_f32()
408 i = ((uint32_t) S->N - 1u); in arm_dct4_f32()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/ControllerFunctions/
A Darm_pid_init_q15.c50 arm_pid_instance_q15 * S, in arm_pid_init_q15() argument
59 S->A0 = __QADD16(__QADD16(S->Kp, S->Ki), S->Kd); in arm_pid_init_q15()
65 S->A1 = __PKHBT(-__QADD16(__QADD16(S->Kd, S->Kd), S->Kp), S->Kd, 16); in arm_pid_init_q15()
69 S->A1 = __PKHBT(S->Kd, -__QADD16(__QADD16(S->Kd, S->Kd), S->Kp), 16); in arm_pid_init_q15()
77 memset(S->state, 0, 3u * sizeof(q15_t)); in arm_pid_init_q15()
87 temp = S->Kp + S->Ki + S->Kd; in arm_pid_init_q15()
88 S->A0 = (q15_t) __SSAT(temp, 16); in arm_pid_init_q15()
91 temp = -(S->Kd + S->Kd + S->Kp); in arm_pid_init_q15()
92 S->A1 = (q15_t) __SSAT(temp, 16); in arm_pid_init_q15()
93 S->A2 = S->Kd; in arm_pid_init_q15()
[all …]
A Darm_pid_init_q31.c50 arm_pid_instance_q31 * S, in arm_pid_init_q31() argument
59 S->A0 = __QADD(__QADD(S->Kp, S->Ki), S->Kd); in arm_pid_init_q31()
62 S->A1 = -__QADD(__QADD(S->Kd, S->Kd), S->Kp); in arm_pid_init_q31()
72 temp = clip_q63_to_q31((q63_t) S->Kp + S->Ki); in arm_pid_init_q31()
73 S->A0 = clip_q63_to_q31((q63_t) temp + S->Kd); in arm_pid_init_q31()
76 temp = clip_q63_to_q31((q63_t) S->Kd + S->Kd); in arm_pid_init_q31()
77 S->A1 = -clip_q63_to_q31((q63_t) temp + S->Kp); in arm_pid_init_q31()
82 S->A2 = S->Kd; in arm_pid_init_q31()
88 memset(S->state, 0, 3u * sizeof(q31_t)); in arm_pid_init_q31()
A Darm_pid_init_f32.c50 arm_pid_instance_f32 * S, in arm_pid_init_f32() argument
55 S->A0 = S->Kp + S->Ki + S->Kd; in arm_pid_init_f32()
58 S->A1 = (-S->Kp) - ((float32_t) 2.0 * S->Kd); in arm_pid_init_f32()
61 S->A2 = S->Kd; in arm_pid_init_f32()
67 memset(S->state, 0, 3u * sizeof(float32_t)); in arm_pid_init_f32()
/AliOS-Things-master/components/py_engine/tests/extmod/
A Ductypes_array_assign_native_le.py35 S.arr[0] = 0x11
36 print(hex(S.arr[0]))
40 S.arr3[0] = 0x2233
41 print(hex(S.arr3[0]))
45 S.arr3[1] = 0x4455
46 print(hex(S.arr3[1]))
54 print(S.arr5[0] == S.arr7[0].l)
55 assert S.arr5[0] == S.arr7[0].l
58 S.arr8[0] = 0x11
63 S.arr9[0] = 0x1122
[all …]
A Ductypes_array_assign_le.py26 S.arr[0] = 0x11
27 print(hex(S.arr[0]))
31 S.arr3[0] = 0x2233
32 print(hex(S.arr3[0]))
36 S.arr3[1] = 0x4455
37 print(hex(S.arr3[1]))
42 print(hex(S.arr5[0]))
45 print(S.arr5[0] == S.arr7[0].l)
46 assert S.arr5[0] == S.arr7[0].l
54 print(S.arr6[0] == S.arr8[0].l)
[all …]
A Ductypes_le.py30 print(S.sub.b0, S.sub.b1)
31 assert S.sub.b0, S.sub.b1 == (0x30, 0x31)
34 S[0]
39 print("arr:", S.arr[0], S.arr[1])
40 assert (S.arr[0], S.arr[1]) == (0x30, 0x31)
42 print("arr of struct:", S.arr2[0].b, S.arr2[1].b)
43 assert (S.arr2[0].b, S.arr2[1].b) == (0x30, 0x31)
52 print("bf:", S.bitf0, S.bitf1)
53 assert (S.bitf0, S.bitf1) == (0x30, 0x31)
55 print("bf 4bit:", S.bf3, S.bf2, S.bf1, S.bf0)
[all …]
A Ductypes_native_le.py40 print(S.sub.b0, S.sub.b1)
41 assert S.sub.b0, S.sub.b1 == (0x30, 0x31)
44 S[0]
49 print("arr:", S.arr[0], S.arr[1])
50 assert (S.arr[0], S.arr[1]) == (0x30, 0x31)
52 print("arr of struct:", S.arr2[0].b, S.arr2[1].b)
62 print("bf:", S.bitf0, S.bitf1)
63 assert (S.bitf0, S.bitf1) == (0x30, 0x31)
65 print("bf 4bit:", S.bf3, S.bf2, S.bf1, S.bf0)
66 assert (S.bf3, S.bf2, S.bf1, S.bf0) == (3, 1, 3, 0)
[all …]
A Ductypes_ptr_le.py26 print(addr == int(S.ptr))
27 print(addr == int(S.ptr2))
29 print(S.ptr[0])
30 assert S.ptr[0] == ord("0")
31 print(S.ptr[1])
32 assert S.ptr[1] == ord("1")
33 print(hex(S.ptr16[0]))
35 print(S.ptr2[0].b, S.ptr2[1].b)
36 print(S.ptr2[0].b, S.ptr2[1].b)
37 print(hex(S.ptr16[0]))
[all …]
A Ductypes_ptr_native_le.py25 S = uctypes.struct(uctypes.addressof(buf), desc, uctypes.NATIVE) variable
27 print(S.ptr[0])
28 assert S.ptr[0] == ord("0")
29 print(S.ptr[1])
30 assert S.ptr[1] == ord("1")
31 print(hex(S.ptr16[0]))
32 assert hex(S.ptr16[0]) == "0x3130"
33 print(S.ptr2[0].b, S.ptr2[1].b)
34 print(S.ptr2[0].b, S.ptr2[1].b)
35 print(hex(S.ptr16[0]))
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/DSP/Include/dsp/
A Dcontroller_functions.h276 (S->A1 * S->state[0]) + (S->A2 * S->state[1]) + (S->state[2]); in arm_pid_f32()
279 S->state[1] = S->state[0]; in arm_pid_f32()
280 S->state[0] = in; in arm_pid_f32()
312 acc += (q63_t) S->A1 * S->state[0]; in arm_pid_q31()
315 acc += (q63_t) S->A2 * S->state[1]; in arm_pid_q31()
324 S->state[1] = S->state[0]; in arm_pid_q31()
325 S->state[0] = in; in arm_pid_q31()
367 acc += (q31_t) S->A1 * S->state[0]; in arm_pid_q15()
368 acc += (q31_t) S->A2 * S->state[1]; in arm_pid_q15()
378 S->state[1] = S->state[0]; in arm_pid_q15()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/DSP/Include/dsp/
A Dcontroller_functions.h276 (S->A1 * S->state[0]) + (S->A2 * S->state[1]) + (S->state[2]); in arm_pid_f32()
279 S->state[1] = S->state[0]; in arm_pid_f32()
280 S->state[0] = in; in arm_pid_f32()
312 acc += (q63_t) S->A1 * S->state[0]; in arm_pid_q31()
315 acc += (q63_t) S->A2 * S->state[1]; in arm_pid_q31()
324 S->state[1] = S->state[0]; in arm_pid_q31()
325 S->state[0] = in; in arm_pid_q31()
367 acc += (q31_t) S->A1 * S->state[0]; in arm_pid_q15()
368 acc += (q31_t) S->A2 * S->state[1]; in arm_pid_q15()
378 S->state[1] = S->state[0]; in arm_pid_q15()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/FilteringFunctions/
A Darm_fir_interpolate_f32.c176 i = (S->L); in arm_fir_interpolate_f32()
280 ptr2 += S->L; in arm_fir_interpolate_f32()
310 pDst += S->L * 3; in arm_fir_interpolate_f32()
328 i = S->L; in arm_fir_interpolate_f32()
352 ptr2 += S->L; in arm_fir_interpolate_f32()
364 ptr2 += S->L; in arm_fir_interpolate_f32()
376 ptr2 += S->L; in arm_fir_interpolate_f32()
388 ptr2 += S->L; in arm_fir_interpolate_f32()
409 ptr2 += S->L; in arm_fir_interpolate_f32()
501 i = S->L; in arm_fir_interpolate_f32()
[all …]
A Darm_fir_interpolate_q15.c99 i = (S->L); in arm_fir_interpolate_q15()
191 ptr2 += S->L; in arm_fir_interpolate_q15()
217 pDst += S->L; in arm_fir_interpolate_q15()
237 i = S->L; in arm_fir_interpolate_q15()
261 ptr2 += S->L; in arm_fir_interpolate_q15()
273 ptr2 += S->L; in arm_fir_interpolate_q15()
285 ptr2 += S->L; in arm_fir_interpolate_q15()
297 ptr2 += S->L; in arm_fir_interpolate_q15()
318 ptr2 += S->L; in arm_fir_interpolate_q15()
423 i = S->L; in arm_fir_interpolate_q15()
[all …]
A Darm_fir_interpolate_q31.c100 i = (S->L); in arm_fir_interpolate_q31()
192 ptr2 += S->L; in arm_fir_interpolate_q31()
219 pDst += S->L; in arm_fir_interpolate_q31()
239 i = S->L; in arm_fir_interpolate_q31()
263 ptr2 += S->L; in arm_fir_interpolate_q31()
275 ptr2 += S->L; in arm_fir_interpolate_q31()
287 ptr2 += S->L; in arm_fir_interpolate_q31()
299 ptr2 += S->L; in arm_fir_interpolate_q31()
320 ptr2 += S->L; in arm_fir_interpolate_q31()
420 i = S->L; in arm_fir_interpolate_q31()
[all …]

Completed in 3088 milliseconds

12345678910>>...16