Home
last modified time | relevance | path

Searched refs:pSrc (Results 1 – 25 of 187) sorted by relevance

12345678

/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_radix2_q31.c32 q31_t * pSrc,
38 q31_t * pSrc,
44 q31_t * pSrc,
68 q31_t * pSrc) in arm_cfft_radix2_q31() argument
73 arm_radix2_butterfly_inverse_q31(pSrc, S->fftLen, in arm_cfft_radix2_q31()
78 arm_radix2_butterfly_q31(pSrc, S->fftLen, in arm_cfft_radix2_q31()
82 arm_bitreversal_q31(pSrc, S->fftLen, S->bitRevFactor, S->pBitRevTable); in arm_cfft_radix2_q31()
90 q31_t * pSrc, in arm_radix2_butterfly_q31() argument
116 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_radix2_butterfly_q31()
117 pSrc[2 * i] = ((pSrc[2 * i] >> 1U) + (pSrc[2 * l] >> 1U)) >> 1U; in arm_radix2_butterfly_q31()
[all …]
Darm_cfft_radix2_f32.c32 float32_t * pSrc,
38 float32_t * pSrc,
45 float32_t * pSrc,
69 float32_t * pSrc) in arm_cfft_radix2_f32() argument
75 arm_radix2_butterfly_inverse_f32(pSrc, S->fftLen, S->pTwiddle, in arm_cfft_radix2_f32()
81 arm_radix2_butterfly_f32(pSrc, S->fftLen, S->pTwiddle, in arm_cfft_radix2_f32()
88 arm_bitreversal_f32(pSrc, S->fftLen, S->bitRevFactor, S->pBitRevTable); in arm_cfft_radix2_f32()
114 float32_t * pSrc, in arm_radix2_butterfly_f32() argument
147 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_radix2_butterfly_f32()
148 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32()
[all …]
Darm_bitreversal.c42 float32_t * pSrc, in arm_bitreversal_f32() argument
62 in = pSrc[2U * i]; in arm_bitreversal_f32()
63 pSrc[2U * i] = pSrc[2U * j]; in arm_bitreversal_f32()
64 pSrc[2U * j] = in; in arm_bitreversal_f32()
67 in = pSrc[(2U * i) + 1U]; in arm_bitreversal_f32()
68 pSrc[(2U * i) + 1U] = pSrc[(2U * j) + 1U]; in arm_bitreversal_f32()
69 pSrc[(2U * j) + 1U] = in; in arm_bitreversal_f32()
72 in = pSrc[2U * (i + fftLenBy2p1)]; in arm_bitreversal_f32()
73 pSrc[2U * (i + fftLenBy2p1)] = pSrc[2U * (j + fftLenBy2p1)]; in arm_bitreversal_f32()
74 pSrc[2U * (j + fftLenBy2p1)] = in; in arm_bitreversal_f32()
[all …]
Darm_cfft_radix8_f32.c46 float32_t * pSrc, in arm_radix8_butterfly_f32() argument
81 r1 = pSrc[2 * i1] + pSrc[2 * i5]; in arm_radix8_butterfly_f32()
82 r5 = pSrc[2 * i1] - pSrc[2 * i5]; in arm_radix8_butterfly_f32()
83 r2 = pSrc[2 * i2] + pSrc[2 * i6]; in arm_radix8_butterfly_f32()
84 r6 = pSrc[2 * i2] - pSrc[2 * i6]; in arm_radix8_butterfly_f32()
85 r3 = pSrc[2 * i3] + pSrc[2 * i7]; in arm_radix8_butterfly_f32()
86 r7 = pSrc[2 * i3] - pSrc[2 * i7]; in arm_radix8_butterfly_f32()
87 r4 = pSrc[2 * i4] + pSrc[2 * i8]; in arm_radix8_butterfly_f32()
88 r8 = pSrc[2 * i4] - pSrc[2 * i8]; in arm_radix8_butterfly_f32()
93 pSrc[2 * i1] = r1 + r2; in arm_radix8_butterfly_f32()
[all …]
Darm_cfft_radix2_q15.c32 q15_t * pSrc,
38 q15_t * pSrc,
44 q15_t * pSrc,
68 q15_t * pSrc) in arm_cfft_radix2_q15() argument
73 arm_radix2_butterfly_inverse_q15 (pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier); in arm_cfft_radix2_q15()
77 arm_radix2_butterfly_q15 (pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier); in arm_cfft_radix2_q15()
80 arm_bitreversal_q15(pSrc, S->fftLen, S->bitRevFactor, S->pBitRevTable); in arm_cfft_radix2_q15()
88 q15_t * pSrc, in arm_radix2_butterfly_q15() argument
117 T = read_q15x2 (pSrc + (2 * i)); in arm_radix2_butterfly_q15()
121 S = read_q15x2 (pSrc + (2 * l)); in arm_radix2_butterfly_q15()
[all …]
Darm_cfft_radix4_q31.c33 q31_t * pSrc,
39 q31_t * pSrc,
45 q31_t * pSrc,
77 q31_t * pSrc) in arm_cfft_radix4_q31() argument
82 arm_radix4_butterfly_inverse_q31(pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier); in arm_cfft_radix4_q31()
87 arm_radix4_butterfly_q31(pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier); in arm_cfft_radix4_q31()
93 arm_bitreversal_q31(pSrc, S->fftLen, S->bitRevFactor, S->pBitRevTable); in arm_cfft_radix4_q31()
146 q31_t * pSrc, in arm_radix4_butterfly_q31() argument
191 r1 = (pSrc[(2U * i0)] >> 4U) + (pSrc[(2U * i2)] >> 4U); in arm_radix4_butterfly_q31()
193 r2 = (pSrc[(2U * i0)] >> 4U) - (pSrc[(2U * i2)] >> 4U); in arm_radix4_butterfly_q31()
[all …]
Darm_cfft_f64.c34 float64_t * pSrc,
40 uint64_t * pSrc,
62 float64_t * pSrc, in arm_radix4_butterfly_f64() argument
113 r1 = pSrc[(2U * i0)] + pSrc[(2U * i2)]; in arm_radix4_butterfly_f64()
116 r2 = pSrc[(2U * i0)] - pSrc[(2U * i2)]; in arm_radix4_butterfly_f64()
119 s1 = pSrc[(2U * i0) + 1U] + pSrc[(2U * i2) + 1U]; in arm_radix4_butterfly_f64()
122 s2 = pSrc[(2U * i0) + 1U] - pSrc[(2U * i2) + 1U]; in arm_radix4_butterfly_f64()
125 t1 = pSrc[2U * i1] + pSrc[2U * i3]; in arm_radix4_butterfly_f64()
128 pSrc[2U * i0] = r1 + t1; in arm_radix4_butterfly_f64()
134 t2 = pSrc[(2U * i1) + 1U] + pSrc[(2U * i3) + 1U]; in arm_radix4_butterfly_f64()
[all …]
Darm_bitreversal2.c42 uint64_t *pSrc, in arm_bitreversal_64() argument
54 tmp = pSrc[a]; in arm_bitreversal_64()
55 pSrc[a] = pSrc[b]; in arm_bitreversal_64()
56 pSrc[b] = tmp; in arm_bitreversal_64()
59 tmp = pSrc[a+1]; in arm_bitreversal_64()
60 pSrc[a+1] = pSrc[b+1]; in arm_bitreversal_64()
61 pSrc[b+1] = tmp; in arm_bitreversal_64()
76 uint32_t *pSrc, in arm_bitreversal_32() argument
88 tmp = pSrc[a]; in arm_bitreversal_32()
89 pSrc[a] = pSrc[b]; in arm_bitreversal_32()
[all …]
Darm_cfft_radix4_f32.c32 float32_t * pSrc,
38 float32_t * pSrc,
44 float32_t * pSrc,
70 float32_t * pSrc) in arm_cfft_radix4_f32() argument
75 …arm_radix4_butterfly_inverse_f32(pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier, S->onebyfftLen… in arm_cfft_radix4_f32()
80 arm_radix4_butterfly_f32(pSrc, S->fftLen, S->pTwiddle, S->twidCoefModifier); in arm_cfft_radix4_f32()
86 arm_bitreversal_f32(pSrc, S->fftLen, S->bitRevFactor, S->pBitRevTable); in arm_cfft_radix4_f32()
109 float32_t * pSrc, in arm_radix4_butterfly_f32() argument
150 xaIn = pSrc[(2U * i0)]; in arm_radix4_butterfly_f32()
151 yaIn = pSrc[(2U * i0) + 1U]; in arm_radix4_butterfly_f32()
[all …]
Darm_cfft_q31.c38 uint32_t *pSrc, in arm_bitreversal_32_inpl_mve() argument
43 uint64_t *src = (uint64_t *) pSrc; in arm_bitreversal_32_inpl_mve()
71 q31_t *pSrc, in _arm_radix4_butterfly_q31_mve() argument
109 q31_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_q31_mve()
202 vecScGathAddr = vecScGathAddr + (uint32_t) pSrc; in _arm_radix4_butterfly_q31_mve()
251 static void arm_cfft_radix4by2_q31_mve(const arm_cfft_instance_q31 *S, q31_t *pSrc, uint32_t fftLen) in arm_cfft_radix4by2_q31_mve() argument
262 pIn0 = pSrc; in arm_cfft_radix4by2_q31_mve()
263 pIn1 = pSrc + fftLen; in arm_cfft_radix4by2_q31_mve()
289 _arm_radix4_butterfly_q31_mve(S, pSrc, n2); in arm_cfft_radix4by2_q31_mve()
291 _arm_radix4_butterfly_q31_mve(S, pSrc + fftLen, n2); in arm_cfft_radix4by2_q31_mve()
[all …]
Darm_cfft_q15.c37 uint16_t *pSrc, in arm_bitreversal_16_inpl_mve() argument
42 uint32_t *src = (uint32_t *)pSrc; in arm_bitreversal_16_inpl_mve()
97 q15_t *pSrc, in _arm_radix4_butterfly_q15_mve() argument
134 q15_t *inA = pSrc + CMPLX_DIM * i * n1; in _arm_radix4_butterfly_q15_mve()
220 vecScGathAddr = vecScGathAddr + (uint32_t) pSrc; in _arm_radix4_butterfly_q15_mve()
262 static void arm_cfft_radix4by2_q15_mve(const arm_cfft_instance_q15 *S, q15_t *pSrc, uint32_t fftLen) in arm_cfft_radix4by2_q15_mve() argument
275 pIn0 = pSrc; in arm_cfft_radix4by2_q15_mve()
276 pIn1 = pSrc + fftLen; in arm_cfft_radix4by2_q15_mve()
303 _arm_radix4_butterfly_q15_mve(S, pSrc, n2); in arm_cfft_radix4by2_q15_mve()
305 _arm_radix4_butterfly_q15_mve(S, pSrc + fftLen, n2); in arm_cfft_radix4by2_q15_mve()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_bitonic_sort_f32.c35 static void arm_bitonic_sort_core_f32(float32_t *pSrc, uint32_t n, uint8_t dir) in arm_bitonic_sort_core_f32() argument
43 leftPtr = pSrc; in arm_bitonic_sort_core_f32()
44 rightPtr = pSrc+n-1; in arm_bitonic_sort_core_f32()
65 leftPtr = pSrc+j; in arm_bitonic_sort_core_f32()
66 rightPtr = pSrc+j+step; in arm_bitonic_sort_core_f32()
232 static void arm_bitonic_sort_16_f32(float32_t *pSrc, float32_t *pDst, uint8_t dir) in arm_bitonic_sort_16_f32() argument
240 a = vld1q_f32(pSrc); in arm_bitonic_sort_16_f32()
241 b = vld1q_f32(pSrc+4); in arm_bitonic_sort_16_f32()
242 c = vld1q_f32(pSrc+8); in arm_bitonic_sort_16_f32()
243 d = vld1q_f32(pSrc+12); in arm_bitonic_sort_16_f32()
[all …]
Darm_quick_sort_f32.c32 static uint32_t arm_quick_sort_partition_f32(float32_t *pSrc, int32_t first, int32_t last, uint8_t … in arm_quick_sort_partition_f32() argument
41 pivot = pSrc[pivot_index]; in arm_quick_sort_partition_f32()
68 } while (pSrc[i] < pivot && i<last); in arm_quick_sort_partition_f32()
74 } while (pSrc[j] > pivot); in arm_quick_sort_partition_f32()
82 } while (pSrc[i] > pivot && i<last); in arm_quick_sort_partition_f32()
88 } while (pSrc[j] < pivot); in arm_quick_sort_partition_f32()
95 temp=pSrc[i]; in arm_quick_sort_partition_f32()
96 pSrc[i]=pSrc[j]; in arm_quick_sort_partition_f32()
97 pSrc[j]=temp; in arm_quick_sort_partition_f32()
104 static void arm_quick_sort_core_f32(float32_t *pSrc, int32_t first, int32_t last, uint8_t dir) in arm_quick_sort_core_f32() argument
[all …]
Darm_copy_f32.c62 const float32_t * pSrc, in arm_copy_f32() argument
72 vstrwq_f32(pDst, vldrwq_f32(pSrc)); in arm_copy_f32()
77 pSrc += 4; in arm_copy_f32()
89 *pDst++ = *pSrc++; in arm_copy_f32()
100 const float32_t * pSrc, in arm_copy_f32() argument
116 inV = vld1q_f32(pSrc); in arm_copy_f32()
118 pSrc += 4; in arm_copy_f32()
133 *pDst++ = *pSrc++; in arm_copy_f32()
141 const float32_t * pSrc, in arm_copy_f32() argument
157 *pDst++ = *pSrc++; in arm_copy_f32()
[all …]
Darm_heap_sort_f32.c34 static void arm_heapify(float32_t * pSrc, uint32_t n, uint32_t i, uint8_t dir) in arm_heapify() argument
42 if (l < n && dir==(pSrc[l] > pSrc[k]) ) in arm_heapify()
45 if (r < n && dir==(pSrc[r] > pSrc[k]) ) in arm_heapify()
50 temp = pSrc[i]; in arm_heapify()
51 pSrc[i]=pSrc[k]; in arm_heapify()
52 pSrc[k]=temp; in arm_heapify()
54 arm_heapify(pSrc, n, k, dir); in arm_heapify()
86 float32_t * pSrc, in arm_heap_sort_f32() argument
94 if(pSrc != pDst) // out-of-place in arm_heap_sort_f32()
96 memcpy(pDst, pSrc, blockSize*sizeof(float32_t) ); in arm_heap_sort_f32()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_shift_q7.c60 const q7_t * pSrc, in arm_shift_q7() argument
77 vecSrc = vld1q(pSrc); in arm_shift_q7()
87 pSrc += 16; in arm_shift_q7()
97 vecSrc = vld1q(pSrc); in arm_shift_q7()
105 const q7_t * pSrc, in arm_shift_q7() argument
131 in1 = *pSrc++; in arm_shift_q7()
132 in2 = *pSrc++; in arm_shift_q7()
133 in3 = *pSrc++; in arm_shift_q7()
134 in4 = *pSrc++; in arm_shift_q7()
142 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7()
[all …]
Darm_shift_q15.c58 const q15_t * pSrc, in arm_shift_q15() argument
75 vecSrc = vld1q(pSrc); in arm_shift_q15()
85 pSrc += 8; in arm_shift_q15()
95 vecSrc = vld1q(pSrc); in arm_shift_q15()
103 const q15_t * pSrc, in arm_shift_q15() argument
129 in1 = *pSrc++; in arm_shift_q15()
130 in2 = *pSrc++; in arm_shift_q15()
142 in1 = *pSrc++; in arm_shift_q15()
143 in2 = *pSrc++; in arm_shift_q15()
154 *pDst++ = __SSAT(((q31_t) *pSrc++ << shiftBits), 16); in arm_shift_q15()
[all …]
Darm_offset_q31.c58 const q31_t * pSrc, in arm_offset_q31() argument
74 vecSrc = vld1q(pSrc); in arm_offset_q31()
83 pSrc += 4; in arm_offset_q31()
93 vecSrc = vld1q(pSrc); in arm_offset_q31()
100 const q31_t * pSrc, in arm_offset_q31() argument
118 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31()
120 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31()
124 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31()
126 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31()
130 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_conj_f32.c74 const float32_t * pSrc, in arm_cmplx_conj_f32() argument
94 vecSrc = vld1q(pSrc); in arm_cmplx_conj_f32()
100 pSrc += 4; in arm_cmplx_conj_f32()
113 *pDst++ = *pSrc++; in arm_cmplx_conj_f32()
114 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32()
124 const float32_t * pSrc, in arm_cmplx_conj_f32() argument
143 vec = vld2q_f32(pSrc); in arm_cmplx_conj_f32()
148 pSrc += 8; in arm_cmplx_conj_f32()
169 *pDst++ = *pSrc++; in arm_cmplx_conj_f32()
170 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32()
[all …]
Darm_cmplx_conj_q15.c55 const q15_t * pSrc, in arm_cmplx_conj_q15() argument
72 vecSrc = vld2q(pSrc); in arm_cmplx_conj_q15()
79 pSrc += 16; in arm_cmplx_conj_q15()
92 *pDst++ = *pSrc++; in arm_cmplx_conj_q15()
93 in1 = *pSrc++; in arm_cmplx_conj_q15()
102 const q15_t * pSrc, in arm_cmplx_conj_q15() argument
126 in1 = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_conj_q15()
127 in2 = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_conj_q15()
128 in3 = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_conj_q15()
129 in4 = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_conj_q15()
[all …]
Darm_cmplx_mag_squared_f32.c75 const float32_t * pSrc, in arm_cmplx_mag_squared_f32() argument
89 vecSrc = vld2q(pSrc); in arm_cmplx_mag_squared_f32()
94 pSrc += 8; in arm_cmplx_mag_squared_f32()
109 real = *pSrc++; in arm_cmplx_mag_squared_f32()
110 imag = *pSrc++; in arm_cmplx_mag_squared_f32()
123 const float32_t * pSrc, in arm_cmplx_mag_squared_f32() argument
148 vecA = vld2q_f32(pSrc); in arm_cmplx_mag_squared_f32()
149 pSrc += 8; in arm_cmplx_mag_squared_f32()
155 vecB = vld2q_f32(pSrc); in arm_cmplx_mag_squared_f32()
156 pSrc += 8; in arm_cmplx_mag_squared_f32()
[all …]
Darm_cmplx_conj_q31.c55 const q31_t * pSrc, in arm_cmplx_conj_q31() argument
75 vecSrc = vld2q(pSrc); in arm_cmplx_conj_q31()
82 pSrc += 8; in arm_cmplx_conj_q31()
95 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
96 in = *pSrc++; in arm_cmplx_conj_q31()
108 const q31_t * pSrc, in arm_cmplx_conj_q31() argument
125 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
126 in = *pSrc++; in arm_cmplx_conj_q31()
133 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
134 in = *pSrc++; in arm_cmplx_conj_q31()
[all …]
Darm_cmplx_mag_squared_q15.c54 const q15_t * pSrc, in arm_cmplx_mag_squared_q15() argument
70 vecSrc = vld2q(pSrc); in arm_cmplx_mag_squared_q15()
78 pSrc += 16; in arm_cmplx_mag_squared_q15()
95 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_squared_q15()
110 const q15_t * pSrc, in arm_cmplx_mag_squared_q15() argument
134 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_squared_q15()
139 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_squared_q15()
143 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_squared_q15()
147 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_squared_q15()
151 real = *pSrc++; in arm_cmplx_mag_squared_q15()
[all …]
Darm_cmplx_mag_f32.c82 const float32_t * pSrc, in arm_cmplx_mag_f32() argument
99 vecSrc = vld2q(pSrc); in arm_cmplx_mag_f32()
100 pSrc += 8; in arm_cmplx_mag_f32()
144 real = *pSrc++; in arm_cmplx_mag_f32()
145 imag = *pSrc++; in arm_cmplx_mag_f32()
157 const float32_t * pSrc, in arm_cmplx_mag_f32() argument
183 vecA = vld2q_f32(pSrc); in arm_cmplx_mag_f32()
184 pSrc += 8; in arm_cmplx_mag_f32()
186 vecB = vld2q_f32(pSrc); in arm_cmplx_mag_f32()
187 pSrc += 8; in arm_cmplx_mag_f32()
[all …]
Darm_cmplx_mag_q15.c55 const q15_t * pSrc, in arm_cmplx_mag_q15() argument
70 vecSrc = vld2q(pSrc); in arm_cmplx_mag_q15()
71 pSrc += 16; in arm_cmplx_mag_q15()
96 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_q15()
110 const q15_t * pSrc, in arm_cmplx_mag_q15() argument
134 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_q15()
139 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_q15()
143 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_q15()
147 in = read_q15x2_ia ((q15_t **) &pSrc); in arm_cmplx_mag_q15()
151 real = *pSrc++; in arm_cmplx_mag_q15()
[all …]

12345678