Home
last modified time | relevance | path

Searched refs:pDst (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/cmsis-dsp-latest/PythonWrapper/cmsisdsp_pkg/src/
Dcmsisdsp_window.c49 float32_t *pDst=NULL; // output in cmsis_arm_welch_f32() local
55 pDst=PyMem_Malloc(sizeof(float32_t)*nb); in cmsis_arm_welch_f32()
58 arm_welch_f32(pDst,nb); in cmsis_arm_welch_f32()
59 FLOATARRAY1(pDstOBJ,nb,pDst); in cmsis_arm_welch_f32()
75 float64_t *pDst=NULL; // output in cmsis_arm_welch_f64() local
81 pDst=PyMem_Malloc(sizeof(float64_t)*nb); in cmsis_arm_welch_f64()
84 arm_welch_f64(pDst,nb); in cmsis_arm_welch_f64()
85 FLOAT64ARRAY1(pDstOBJ,nb,pDst); in cmsis_arm_welch_f64()
102 float32_t *pDst=NULL; // output in cmsis_arm_bartlett_f32() local
108 pDst=PyMem_Malloc(sizeof(float32_t)*nb); in cmsis_arm_bartlett_f32()
[all …]
Dcmsisdsp_support.c149 float32_t *pDst=NULL; // output in cmsis_arm_sort_f32() local
159 pDst=PyMem_Malloc(sizeof(float32_t)*blockSize); in cmsis_arm_sort_f32()
162 arm_sort_f32(selfS->instance,pSrc_converted,pDst,blockSize); in cmsis_arm_sort_f32()
163 FLOATARRAY1(pDstOBJ,blockSize,pDst); in cmsis_arm_sort_f32()
181 float32_t *pDst=NULL; // output in cmsis_arm_fill_f32() local
187 pDst=PyMem_Malloc(sizeof(float32_t)*blockSize); in cmsis_arm_fill_f32()
190 arm_fill_f32(value,pDst,blockSize); in cmsis_arm_fill_f32()
191 FLOATARRAY1(pDstOBJ,blockSize,pDst); in cmsis_arm_fill_f32()
207 float64_t *pDst=NULL; // output in cmsis_arm_fill_f64() local
213 pDst=PyMem_Malloc(sizeof(float64_t)*blockSize); in cmsis_arm_fill_f64()
[all …]
Dcmsisdsp_basic.c114 q7_t *pDst=NULL; // output in cmsis_arm_mult_q7() local
124 pDst=PyMem_Malloc(sizeof(q7_t)*blockSize); in cmsis_arm_mult_q7()
127 arm_mult_q7(pSrcA_converted,pSrcB_converted,pDst,blockSize); in cmsis_arm_mult_q7()
128 INT8ARRAY1(pDstOBJ,blockSize,pDst); in cmsis_arm_mult_q7()
150 q15_t *pDst=NULL; // output in cmsis_arm_mult_q15() local
160 pDst=PyMem_Malloc(sizeof(q15_t)*blockSize); in cmsis_arm_mult_q15()
163 arm_mult_q15(pSrcA_converted,pSrcB_converted,pDst,blockSize); in cmsis_arm_mult_q15()
164 INT16ARRAY1(pDstOBJ,blockSize,pDst); in cmsis_arm_mult_q15()
186 q31_t *pDst=NULL; // output in cmsis_arm_mult_q31() local
196 pDst=PyMem_Malloc(sizeof(q31_t)*blockSize); in cmsis_arm_mult_q31()
[all …]
Dcmsisdsp_quaternion.c57 float32_t *pDst=NULL; // output in cmsis_arm_quaternion_product_f32() local
67 pDst=PyMem_Malloc(4*sizeof(float32_t)*nbQuaternions); in cmsis_arm_quaternion_product_f32()
70 arm_quaternion_product_f32(pSrcA_converted,pSrcB_converted,pDst,nbQuaternions); in cmsis_arm_quaternion_product_f32()
71 FLOATARRAY1(pDstOBJ,4*nbQuaternions,pDst); in cmsis_arm_quaternion_product_f32()
92 float32_t *pDst=NULL; // output in cmsis_arm_quaternion_product_single_f32() local
100 pDst=PyMem_Malloc(4*sizeof(float32_t)); in cmsis_arm_quaternion_product_single_f32()
103 arm_quaternion_product_single_f32(pSrcA_converted,pSrcB_converted,pDst); in cmsis_arm_quaternion_product_single_f32()
104 FLOATARRAY1(pDstOBJ,4,pDst); in cmsis_arm_quaternion_product_single_f32()
125 float32_t *pDst=NULL; // output in cmsis_arm_quaternion2rotation_f32() local
134 pDst=PyMem_Malloc(9*sizeof(float32_t)*nbQuaternions); in cmsis_arm_quaternion2rotation_f32()
[all …]
Dcmsisdsp_complexf.c59 float32_t *pDst=NULL; // output in cmsis_arm_cmplx_conj_f32() local
69 pDst=PyMem_Malloc(sizeof(float32_t)*2*numSamples); in cmsis_arm_cmplx_conj_f32()
72 arm_cmplx_conj_f32(pSrc_converted,pDst,numSamples); in cmsis_arm_cmplx_conj_f32()
73 FLOATARRAY1(pDstOBJ,2*numSamples,pDst); in cmsis_arm_cmplx_conj_f32()
92 q31_t *pDst=NULL; // output in cmsis_arm_cmplx_conj_q31() local
102 pDst=PyMem_Malloc(sizeof(q31_t)*2*numSamples); in cmsis_arm_cmplx_conj_q31()
105 arm_cmplx_conj_q31(pSrc_converted,pDst,numSamples); in cmsis_arm_cmplx_conj_q31()
106 INT32ARRAY1(pDstOBJ,2*numSamples,pDst); in cmsis_arm_cmplx_conj_q31()
125 q15_t *pDst=NULL; // output in cmsis_arm_cmplx_conj_q15() local
135 pDst=PyMem_Malloc(sizeof(q15_t)*2*numSamples); in cmsis_arm_cmplx_conj_q15()
[all …]
/cmsis-dsp-latest/Include/dsp/
Dwindow_functions.h62 float64_t * pDst,
82 float32_t * pDst,
100 float64_t * pDst,
120 float32_t * pDst,
138 float64_t * pDst,
158 float32_t * pDst,
176 float64_t * pDst,
196 float32_t * pDst,
214 float64_t * pDst,
234 float32_t * pDst,
[all …]
Dbasic_math_functions.h56 q7_t * pDst,
70 q15_t * pDst,
84 q31_t * pDst,
98 float32_t * pDst,
113 float64_t * pDst,
128 float32_t * pDst,
143 float64_t * pDst,
158 q7_t * pDst,
172 q15_t * pDst,
186 q31_t * pDst,
[all …]
Dsupport_functions.h54 float32_t * pDst,
65 q31_t * pDst,
76 q15_t * pDst,
87 q7_t * pDst,
100 float64_t * pDst,
111 q31_t * pDst,
123 q15_t * pDst,
135 q7_t * pDst,
146 float64_t * pDst,
157 float32_t * pDst,
[all …]
Dmatrix_functions.h176 arm_matrix_instance_f32 * pDst);
189 arm_matrix_instance_q15 * pDst);
202 arm_matrix_instance_q31 * pDst);
215 arm_matrix_instance_f32 * pDst);
228 arm_matrix_instance_q15 * pDst,
242 arm_matrix_instance_q31 * pDst);
253 arm_matrix_instance_f32 * pDst);
264 arm_matrix_instance_f64 * pDst);
275 arm_matrix_instance_f32 * pDst);
287 arm_matrix_instance_q15 * pDst);
[all …]
/cmsis-dsp-latest/Source/ComplexMathFunctions/
Darm_cmplx_conj_q31.c55 q31_t * pDst, in arm_cmplx_conj_q31() argument
76 vst2q(pDst,vecSrc); in arm_cmplx_conj_q31()
82 pDst += 8; in arm_cmplx_conj_q31()
94 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
96 *pDst++ = __QSUB(0, in); in arm_cmplx_conj_q31()
108 q31_t * pDst, in arm_cmplx_conj_q31() argument
124 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
127 *pDst++ = __QSUB(0, in); in arm_cmplx_conj_q31()
129 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_cmplx_conj_q31()
132 *pDst++ = *pSrc++; in arm_cmplx_conj_q31()
[all …]
Darm_cmplx_conj_f32.c74 float32_t * pDst, in arm_cmplx_conj_f32() argument
94 vst1q(pDst,vmulq(vecSrc, vecSign)); in arm_cmplx_conj_f32()
100 pDst += 4; in arm_cmplx_conj_f32()
112 *pDst++ = *pSrc++; in arm_cmplx_conj_f32()
113 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32()
124 float32_t * pDst, in arm_cmplx_conj_f32() argument
144 vst2q_f32(pDst,vec); in arm_cmplx_conj_f32()
148 pDst += 8; in arm_cmplx_conj_f32()
168 *pDst++ = *pSrc++; in arm_cmplx_conj_f32()
169 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32()
[all …]
Darm_cmplx_conj_q15.c55 q15_t * pDst, in arm_cmplx_conj_q15() argument
73 vst2q(pDst,vecSrc); in arm_cmplx_conj_q15()
79 pDst += 16; in arm_cmplx_conj_q15()
91 *pDst++ = *pSrc++; in arm_cmplx_conj_q15()
93 *pDst++ = __SSAT(-in1, 16); in arm_cmplx_conj_q15()
102 q15_t * pDst, in arm_cmplx_conj_q15() argument
147 write_q15x2_ia (&pDst, in1); in arm_cmplx_conj_q15()
148 write_q15x2_ia (&pDst, in2); in arm_cmplx_conj_q15()
149 write_q15x2_ia (&pDst, in3); in arm_cmplx_conj_q15()
150 write_q15x2_ia (&pDst, in4); in arm_cmplx_conj_q15()
[all …]
Darm_cmplx_conj_f16.c53 float16_t * pDst, in arm_cmplx_conj_f16() argument
73 vst1q(pDst,vmulq(vecSrc, vecSign)); in arm_cmplx_conj_f16()
79 pDst += 8; in arm_cmplx_conj_f16()
91 *pDst++ = *pSrc++; in arm_cmplx_conj_f16()
92 *pDst++ = -(_Float16)*pSrc++; in arm_cmplx_conj_f16()
103 float16_t * pDst, in arm_cmplx_conj_f16() argument
118 *pDst++ = *pSrc++; in arm_cmplx_conj_f16()
119 *pDst++ = -(_Float16)*pSrc++; in arm_cmplx_conj_f16()
121 *pDst++ = *pSrc++; in arm_cmplx_conj_f16()
122 *pDst++ = -(_Float16)*pSrc++; in arm_cmplx_conj_f16()
[all …]
Darm_cmplx_mult_cmplx_f16.c57 float16_t * pDst, in arm_cmplx_mult_cmplx_f16() argument
82 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f16()
83 pDst += 8; in arm_cmplx_mult_cmplx_f16()
92 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f16()
93 pDst += 8; in arm_cmplx_mult_cmplx_f16()
106 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f16()
107 pDst += 8; in arm_cmplx_mult_cmplx_f16()
111 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f16()
112 pDst += 8; in arm_cmplx_mult_cmplx_f16()
128 vstrhq_p_f16(pDst, vec_acc, p); in arm_cmplx_mult_cmplx_f16()
[all …]
Darm_cmplx_mult_cmplx_f32.c75 float32_t * pDst, in arm_cmplx_mult_cmplx_f32() argument
100 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f32()
101 pDst += 4; in arm_cmplx_mult_cmplx_f32()
110 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f32()
111 pDst += 4; in arm_cmplx_mult_cmplx_f32()
124 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f32()
125 pDst += 4; in arm_cmplx_mult_cmplx_f32()
129 vst1q(pDst, vec_acc); in arm_cmplx_mult_cmplx_f32()
130 pDst += 4; in arm_cmplx_mult_cmplx_f32()
146 vstrwq_p_f32(pDst, vec_acc, p); in arm_cmplx_mult_cmplx_f32()
[all …]
/cmsis-dsp-latest/Source/BasicMathFunctions/
Darm_shift_q15.c59 q15_t * pDst, in arm_shift_q15() argument
76 vst1q(pDst, vecDst); in arm_shift_q15()
85 pDst += 8; in arm_shift_q15()
96 vstrhq_p(pDst, vecDst, p0); in arm_shift_q15()
104 q15_t * pDst, in arm_shift_q15() argument
133 write_q15x2_ia (&pDst, __PKHBT(__SSAT(((q31_t) in1 << shiftBits), 16), in arm_shift_q15()
136 write_q15x2_ia (&pDst, __PKHBT(__SSAT(((q31_t) in2 << shiftBits), 16), in arm_shift_q15()
145 write_q15x2_ia (&pDst, __PKHBT(__SSAT(((q31_t) in1 << shiftBits), 16), in arm_shift_q15()
148 write_q15x2_ia (&pDst, __PKHBT(__SSAT(((q31_t) in2 << shiftBits), 16), in arm_shift_q15()
153 *pDst++ = __SSAT(((q31_t) *pSrc++ << shiftBits), 16); in arm_shift_q15()
[all …]
Darm_abs_q31.c57 q31_t * pDst, in arm_abs_q31() argument
73 vst1q(pDst, vqabsq(vecSrc)); in arm_abs_q31()
82 pDst += 4; in arm_abs_q31()
93 vstrwq_p(pDst, vqabsq(vecSrc), p0); in arm_abs_q31()
100 q31_t * pDst, in arm_abs_q31() argument
120 vst1q_s32(pDst, res); in arm_abs_q31()
124 pDst += 4; in arm_abs_q31()
146 *pDst++ = (in > 0) ? in : (q31_t)__QSUB(0, in); in arm_abs_q31()
148 *pDst++ = (in > 0) ? in : ((in == INT32_MIN) ? INT32_MAX : -in); in arm_abs_q31()
153 *pDst++ = (in > 0) ? in : (q31_t)__QSUB(0, in); in arm_abs_q31()
[all …]
Darm_negate_q31.c57 q31_t * pDst, in arm_negate_q31() argument
72 vst1q(pDst, vqnegq(vecSrc)); in arm_negate_q31()
81 pDst += 4; in arm_negate_q31()
91 vstrwq_p(pDst, vqnegq(vecSrc), p0); in arm_negate_q31()
98 q31_t * pDst, in arm_negate_q31() argument
116 *pDst++ = __QSUB(0, in); in arm_negate_q31()
118 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_negate_q31()
123 *pDst++ = __QSUB(0, in); in arm_negate_q31()
125 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_negate_q31()
130 *pDst++ = __QSUB(0, in); in arm_negate_q31()
[all …]
/cmsis-dsp-latest/Source/SupportFunctions/
Darm_q7_to_float.c59 float32_t * pDst, in arm_q7_to_float() argument
74 vstrwq(pDst, vcvtq_n_f32_s32((int32x4_t)vecDst, 7)); in arm_q7_to_float()
75 pDst += 4; in arm_q7_to_float()
88 *pDst++ = ((float32_t) * pSrcVec++ / 128.0f); in arm_q7_to_float()
98 float32_t * pDst, in arm_q7_to_float() argument
129 vst1q_f32(pDst, outV); in arm_q7_to_float()
130 pDst += 4; in arm_q7_to_float()
133 vst1q_f32(pDst, outV); in arm_q7_to_float()
134 pDst += 4; in arm_q7_to_float()
137 vst1q_f32(pDst, outV); in arm_q7_to_float()
[all …]
Darm_float_to_q31.c74 q31_t * pDst, in arm_float_to_q31() argument
96 vstrwq_s32(pDst, vcvtaq_s32_f32(vecDst)); in arm_float_to_q31()
102 pDst += 4; in arm_float_to_q31()
117 *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()
135 q31_t * pDst, in arm_float_to_q31() argument
173 vst1q_s32(pDst, outV); in arm_float_to_q31()
174 pDst += 4; in arm_float_to_q31()
184 vst1q_s32(pDst, outV); in arm_float_to_q31()
185 pDst += 4; in arm_float_to_q31()
[all …]
Darm_float_to_q15.c64 q15_t * pDst, in arm_float_to_q15() argument
88 vst1q(pDst, vecDst); in arm_float_to_q15()
93 pDst += 8; in arm_float_to_q15()
107 *pDst++ = (q15_t) (__SSAT((q31_t) (in), 16)); in arm_float_to_q15()
113 *pDst++ = (q15_t) __SSAT((q31_t) (*pSrc++ * 32768.0f), 16); in arm_float_to_q15()
126 q15_t * pDst, in arm_float_to_q15() argument
165 vst1_s16(pDst, outV); in arm_float_to_q15()
166 pDst += 4; in arm_float_to_q15()
177 vst1_s16(pDst, outV); in arm_float_to_q15()
178 pDst += 4; in arm_float_to_q15()
[all …]
Darm_fill_f32.c61 float32_t * pDst, in arm_fill_f32() argument
71 vstrwq_f32(pDst,vdupq_n_f32(value)); in arm_fill_f32()
76 pDst += 4; in arm_fill_f32()
87 *pDst++ = value; in arm_fill_f32()
98 float32_t * pDst, in arm_fill_f32() argument
114 vst1q_f32(pDst, inV); in arm_fill_f32()
115 pDst += 4; in arm_fill_f32()
129 *pDst++ = value; in arm_fill_f32()
138 float32_t * pDst, in arm_fill_f32() argument
153 *pDst++ = value; in arm_fill_f32()
[all …]
Darm_q15_to_float.c60 float32_t * pDst, in arm_q15_to_float() argument
76 vstrwq(pDst, vcvtq_n_f32_s32((int32x4_t)vecDst, 15)); in arm_q15_to_float()
77 pDst += 4; in arm_q15_to_float()
90 *pDst++ = ((float32_t) *pSrcVec++ / 32768.0f); in arm_q15_to_float()
100 float32_t * pDst, in arm_q15_to_float() argument
125 vst1q_f32(pDst, outV); in arm_q15_to_float()
126 pDst += 4; in arm_q15_to_float()
129 vst1q_f32(pDst, outV); in arm_q15_to_float()
130 pDst += 4; in arm_q15_to_float()
145 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
[all …]
/cmsis-dsp-latest/Source/MatrixFunctions/
Darm_mat_trans_f16.c57 arm_matrix_instance_f16 * pDst) in arm_mat_trans_f16() argument
64 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_f16()
65 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_f16()
75 if (pDst->numRows == pDst->numCols) in arm_mat_trans_f16()
77 if (pDst->numCols == 1) in arm_mat_trans_f16()
79 pDst->pData[0] = pSrc->pData[0]; in arm_mat_trans_f16()
82 if (pDst->numCols == 2) in arm_mat_trans_f16()
83 return arm_mat_trans_16bit_2x2((uint16_t *)pSrc->pData, (uint16_t *)pDst->pData); in arm_mat_trans_f16()
84 if (pDst->numCols == 3) in arm_mat_trans_f16()
85 return arm_mat_trans_16bit_3x3_mve((uint16_t *)pSrc->pData, (uint16_t *)pDst->pData); in arm_mat_trans_f16()
[all …]
Darm_mat_trans_q15.c57 arm_matrix_instance_q15 * pDst) in arm_mat_trans_q15() argument
64 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q15()
65 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q15()
75 if (pDst->numRows == pDst->numCols) in arm_mat_trans_q15()
77 if (pDst->numCols == 1) in arm_mat_trans_q15()
79 pDst->pData[0] = pSrc->pData[0]; in arm_mat_trans_q15()
82 if (pDst->numCols == 2) in arm_mat_trans_q15()
83 return arm_mat_trans_16bit_2x2((uint16_t *)pSrc->pData, (uint16_t *)pDst->pData); in arm_mat_trans_q15()
84 if (pDst->numCols == 3) in arm_mat_trans_q15()
85 return arm_mat_trans_16bit_3x3_mve((uint16_t *)pSrc->pData, (uint16_t *)pDst->pData); in arm_mat_trans_q15()
[all …]

12345678910>>...17