Home
last modified time | relevance | path

Searched refs:pIn (Results 1 – 25 of 59) sorted by relevance

123

/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_logsumexp_f32.c70 const float32_t *pIn; in arm_logsumexp_f32() local
80 pIn = in; in arm_logsumexp_f32()
87 f32x4_t vecIn = vld1q(pIn); in arm_logsumexp_f32()
98 pIn += 4; in arm_logsumexp_f32()
108 tmp = *pIn++; in arm_logsumexp_f32()
133 const float32_t *pIn; in arm_logsumexp_f32() local
137 pIn = in; in arm_logsumexp_f32()
143 maxVal = *pIn++; in arm_logsumexp_f32()
148 tmp = *pIn++; in arm_logsumexp_f32()
159 maxValV = vld1q_f32(pIn); in arm_logsumexp_f32()
[all …]
Darm_entropy_f32.c101 const float32_t *pIn; in arm_entropy_f32() local
109 pIn = pSrcA; in arm_entropy_f32()
117 tmpV = vld1q_f32(pIn); in arm_entropy_f32()
118 pIn += 4; in arm_entropy_f32()
134 p = *pIn++; in arm_entropy_f32()
147 const float32_t *pIn; in arm_entropy_f32() local
151 pIn = pSrcA; in arm_entropy_f32()
158 p = *pIn++; in arm_entropy_f32()
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_float_to_q31.c133 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q31() local
159 inV = vld1q_f32(pIn); in arm_float_to_q31()
164 pIn += 4; in arm_float_to_q31()
175 inV = vld1q_f32(pIn); in arm_float_to_q31()
181 pIn += 4; in arm_float_to_q31()
200 in = *pIn++; in arm_float_to_q31()
209 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
226 const float32_t *pIn = pSrc; /* Source pointer */ in arm_float_to_q31() local
244 in = (*pIn++ * 2147483648.0f); in arm_float_to_q31()
248 in = (*pIn++ * 2147483648.0f); in arm_float_to_q31()
[all …]
Darm_float_to_q7.c145 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q7() local
171 inV = vld1q_f32(pIn); in arm_float_to_q7()
176 pIn += 4; in arm_float_to_q7()
178 inV = vld1q_f32(pIn); in arm_float_to_q7()
183 pIn += 4; in arm_float_to_q7()
193 inV = vld1q_f32(pIn); in arm_float_to_q7()
195 pIn += 4; in arm_float_to_q7()
197 inV = vld1q_f32(pIn); in arm_float_to_q7()
199 pIn += 4; in arm_float_to_q7()
221 in = *pIn++; in arm_float_to_q7()
[all …]
Darm_float_to_q15.c130 const float32_t *pIn = pSrc; /* Src pointer */ in arm_float_to_q15() local
156 inV = vld1q_f32(pIn); in arm_float_to_q15()
161 pIn += 4; in arm_float_to_q15()
173 inV = vld1q_f32(pIn); in arm_float_to_q15()
180 pIn += 4; in arm_float_to_q15()
198 in = *pIn++; in arm_float_to_q15()
207 *pDst++ = (q15_t) __SSAT((q31_t) (*pIn++ * 32768.0f), 16); in arm_float_to_q15()
222 const float32_t *pIn = pSrc; /* Source pointer */ in arm_float_to_q15() local
240 in = (*pIn++ * 32768.0f); in arm_float_to_q15()
244 in = (*pIn++ * 32768.0f); in arm_float_to_q15()
[all …]
Darm_weighted_sum_f32.c58 const float32_t *pIn, *pW; in arm_weighted_sum_f32() local
62 pIn = in; in arm_weighted_sum_f32()
72 inV = vld1q(pIn); in arm_weighted_sum_f32()
75 pIn += 4; in arm_weighted_sum_f32()
89 accum1 += *pIn++ * *pW; in arm_weighted_sum_f32()
111 const float32_t *pIn, *pW; in arm_weighted_sum_f32() local
115 pIn = in; in arm_weighted_sum_f32()
127 inV = vld1q_f32(pIn); in arm_weighted_sum_f32()
130 pIn += 4; in arm_weighted_sum_f32()
147 accum1 += *pIn++ * *pW; in arm_weighted_sum_f32()
[all …]
Darm_q31_to_float.c106 const q31_t *pIn = pSrc; /* Src pointer */ in arm_q31_to_float() local
120 inV = vld1q_s32(pIn); in arm_q31_to_float()
121 pIn += 4; in arm_q31_to_float()
141 *pDst++ = ((float32_t) * pIn++ / 2147483648.0f); in arm_q31_to_float()
153 const q31_t *pIn = pSrc; /* Src pointer */ in arm_q31_to_float() local
166 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
167 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
168 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
169 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
190 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float()
Darm_q31_to_q15.c106 const q31_t *pIn = pSrc; /* Source pointer */ in arm_q31_to_q15() local
125 in1 = *pIn++; in arm_q31_to_q15()
126 in2 = *pIn++; in arm_q31_to_q15()
127 in3 = *pIn++; in arm_q31_to_q15()
128 in4 = *pIn++; in arm_q31_to_q15()
144 *pDst++ = (q15_t) (*pIn++ >> 16); in arm_q31_to_q15()
145 *pDst++ = (q15_t) (*pIn++ >> 16); in arm_q31_to_q15()
146 *pDst++ = (q15_t) (*pIn++ >> 16); in arm_q31_to_q15()
147 *pDst++ = (q15_t) (*pIn++ >> 16); in arm_q31_to_q15()
170 *pDst++ = (q15_t) (*pIn++ >> 16); in arm_q31_to_q15()
Darm_q15_to_float.c104 const q15_t *pIn = pSrc; /* Src pointer */ in arm_q15_to_float() local
119 inV = vld1q_s16(pIn); in arm_q15_to_float()
120 pIn += 8; in arm_q15_to_float()
146 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
159 const q15_t *pIn = pSrc; /* Source pointer */ in arm_q15_to_float() local
171 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
172 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
173 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
174 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float()
195 *pDst++ = ((float32_t) *pIn++ / 32768.0f); in arm_q15_to_float()
Darm_q7_to_float.c102 const q7_t *pIn = pSrc; /* Src pointer */ in arm_q7_to_float() local
118 inV = vld1q_s8(pIn); in arm_q7_to_float()
119 pIn += 16; in arm_q7_to_float()
157 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
170 const q7_t *pIn = pSrc; /* Source pointer */ in arm_q7_to_float() local
182 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
183 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
184 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
185 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
206 *pDst++ = ((float32_t) * pIn++ / 128.0f); in arm_q7_to_float()
Darm_q15_to_q7.c103 const q15_t *pIn = pSrc; /* Source pointer */ in arm_q15_to_q7() local
122 in1 = read_q15x2_ia ((q15_t **) &pIn); in arm_q15_to_q7()
123 in2 = read_q15x2_ia ((q15_t **) &pIn); in arm_q15_to_q7()
153 *pDst++ = (q7_t) (*pIn++ >> 8); in arm_q15_to_q7()
154 *pDst++ = (q7_t) (*pIn++ >> 8); in arm_q15_to_q7()
155 *pDst++ = (q7_t) (*pIn++ >> 8); in arm_q15_to_q7()
156 *pDst++ = (q7_t) (*pIn++ >> 8); in arm_q15_to_q7()
179 *pDst++ = (q7_t) (*pIn++ >> 8); in arm_q15_to_q7()
Darm_barycenter_f32.c57 const float32_t *pIn, *pW; in arm_barycenter_f32() local
69 pIn = in; in arm_barycenter_f32()
76 pIn1 = pIn; in arm_barycenter_f32()
134 pIn = pIn1; in arm_barycenter_f32()
149 inV = vld1q_f32(pIn); in arm_barycenter_f32()
153 pIn += 4; in arm_barycenter_f32()
161 *pOut = *pOut + *pIn++ * w; in arm_barycenter_f32()
200 const float32_t *pIn,*pW, *pIn1, *pIn2, *pIn3, *pIn4; in arm_barycenter_f32() local
213 pIn = in; in arm_barycenter_f32()
237 pIn1 = pIn; in arm_barycenter_f32()
[all …]
Darm_q7_to_q15.c104 const q7_t *pIn = pSrc; /* Source pointer */ in arm_q7_to_q15() local
124 in = read_q7x4_ia ((q7_t **) &pIn); in arm_q7_to_q15()
151 *pDst++ = (q15_t) *pIn++ << 8; in arm_q7_to_q15()
152 *pDst++ = (q15_t) *pIn++ << 8; in arm_q7_to_q15()
153 *pDst++ = (q15_t) *pIn++ << 8; in arm_q7_to_q15()
154 *pDst++ = (q15_t) *pIn++ << 8; in arm_q7_to_q15()
177 *pDst++ = (q15_t) * pIn++ << 8; in arm_q7_to_q15()
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_trans_f32.c104 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_trans_f32() local
142 row0V = vld1q_f32(pIn); in arm_mat_trans_f32()
143 row1V = vld1q_f32(pIn + 1 * nColumns); in arm_mat_trans_f32()
144 row2V = vld1q_f32(pIn + 2 * nColumns); in arm_mat_trans_f32()
145 row3V = vld1q_f32(pIn + 3 * nColumns); in arm_mat_trans_f32()
146 pIn += 4; in arm_mat_trans_f32()
176 *px++ = *pIn; in arm_mat_trans_f32()
177 *px++ = *(pIn + 1 * nColumns); in arm_mat_trans_f32()
178 *px++ = *(pIn + 2 * nColumns); in arm_mat_trans_f32()
179 *px++ = *(pIn + 3 * nColumns); in arm_mat_trans_f32()
[all …]
Darm_mat_scale_f32.c84 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_scale_f32() local
91 pInVec = (float32_t const *) pIn; in arm_mat_scale_f32()
142 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_scale_f32() local
173 vec1 = vld1q_f32(pIn); in arm_mat_scale_f32()
178 pIn += 4U; in arm_mat_scale_f32()
193 *pOut++ = (*pIn++) * scale; in arm_mat_scale_f32()
212 float32_t *pIn = pSrc->pData; /* Input data matrix pointer */ in arm_mat_scale_f32() local
245 *pOut++ = (*pIn++) * scale; in arm_mat_scale_f32()
246 *pOut++ = (*pIn++) * scale; in arm_mat_scale_f32()
247 *pOut++ = (*pIn++) * scale; in arm_mat_scale_f32()
[all …]
Darm_mat_scale_q15.c62 q15_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_scale_q15() local
70 pInVec = (q15_t const *) pIn; in arm_mat_scale_q15()
139 q15_t *pIn = pSrc->pData; /* Input data matrix pointer */ in arm_mat_scale_q15() local
180 inA1 = read_q15x2_ia ((q15_t **) &pIn); in arm_mat_scale_q15()
181 inA2 = read_q15x2_ia ((q15_t **) &pIn); in arm_mat_scale_q15()
207 *pOut++ = (q15_t) (__SSAT(((q31_t) (*pIn++) * scaleFract) >> kShift, 16)); in arm_mat_scale_q15()
208 *pOut++ = (q15_t) (__SSAT(((q31_t) (*pIn++) * scaleFract) >> kShift, 16)); in arm_mat_scale_q15()
209 *pOut++ = (q15_t) (__SSAT(((q31_t) (*pIn++) * scaleFract) >> kShift, 16)); in arm_mat_scale_q15()
210 *pOut++ = (q15_t) (__SSAT(((q31_t) (*pIn++) * scaleFract) >> kShift, 16)); in arm_mat_scale_q15()
232 *pOut++ = (q15_t) (__SSAT(((q31_t) (*pIn++) * scaleFract) >> kShift, 16)); in arm_mat_scale_q15()
Darm_mat_inverse_f32.c76 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_inverse_f32() local
201 pInT1 = pIn + (l * numCols); in arm_mat_inverse_f32()
338 pPivotRowIn = pIn + (l * numCols); in arm_mat_inverse_f32()
350 in = *(pIn + (l * numCols)); in arm_mat_inverse_f32()
422 pInT1 = pIn; in arm_mat_inverse_f32()
541 pIn++; in arm_mat_inverse_f32()
559 pIn = pSrc->pData; in arm_mat_inverse_f32()
562 if (pIn[i] != 0.0f) in arm_mat_inverse_f32()
580 float32_t *pIn = pSrc->pData; /* input data matrix pointer */ in arm_mat_inverse_f32() local
693 pInT1 = pIn + (l * numCols); in arm_mat_inverse_f32()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_biquad_cascade_stereo_df2T_f32.c57 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_stereo_df2T_f32() local
132 inVec = vldrwq_gather_shifted_offset((uint32_t const *) pIn, loadIdxVec); in arm_biquad_cascade_stereo_df2T_f32()
155 pIn = pIn + 2; in arm_biquad_cascade_stereo_df2T_f32()
168 pIn = pDst; in arm_biquad_cascade_stereo_df2T_f32()
189 const float32_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_stereo_df2T_f32() local
227 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32()
228 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f32()
243 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32()
244 Xn1b = *pIn++; /* Channel b */ in arm_biquad_cascade_stereo_df2T_f32()
259 Xn1a = *pIn++; /* Channel a */ in arm_biquad_cascade_stereo_df2T_f32()
[all …]
Darm_biquad_cascade_df2T_f64.c144 const float64_t *pIn = pSrc; /* Source pointer */ in arm_biquad_cascade_df2T_f64() local
182 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
196 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
209 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
222 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
235 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
248 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
261 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
274 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
287 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f64()
[all …]
Darm_biquad_cascade_df2T_f32.c57 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f32() local
103 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f32()
104 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f32()
153 Xn0 = *pIn++; in arm_biquad_cascade_df2T_f32()
170 pIn = pDst; in arm_biquad_cascade_df2T_f32()
191 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df2T_f32() local
247 XnV = vdupq_n_f32(*pIn++); in arm_biquad_cascade_df2T_f32()
281 pIn = pDst; in arm_biquad_cascade_df2T_f32()
312 Xn1 = *pIn++; in arm_biquad_cascade_df2T_f32()
336 pIn = pDst; in arm_biquad_cascade_df2T_f32()
[all …]
Darm_biquad_cascade_df1_f32.c173 const float32_t *pIn = pSrc; /* source pointer */ in arm_biquad_cascade_df1_f32() local
202 X0 = *pIn++; in arm_biquad_cascade_df1_f32()
203 X1 = *pIn++; in arm_biquad_cascade_df1_f32()
204 X2 = *pIn++; in arm_biquad_cascade_df1_f32()
205 X3 = *pIn++; in arm_biquad_cascade_df1_f32()
260 X0 = *pIn++; in arm_biquad_cascade_df1_f32()
261 X1 = *pIn++; in arm_biquad_cascade_df1_f32()
262 X2 = *pIn++; in arm_biquad_cascade_df1_f32()
263 X3 = *pIn++; in arm_biquad_cascade_df1_f32()
330 pIn = pDst; in arm_biquad_cascade_df1_f32()
[all …]
Darm_biquad_cascade_df1_q31.c66 const q31_t *pIn = pSrc; /* input pointer initialization */ in arm_biquad_cascade_df1_q31() local
113 inVec0 = vld1q(pIn - 2); in arm_biquad_cascade_df1_q31()
134 inVec0 = vld1q(pIn); in arm_biquad_cascade_df1_q31()
135 pIn += 2; in arm_biquad_cascade_df1_q31()
186 inVec0 = vld1q(pIn); in arm_biquad_cascade_df1_q31()
187 pIn += 2; in arm_biquad_cascade_df1_q31()
205 inVec0 = vld1q(pIn); in arm_biquad_cascade_df1_q31()
206 pIn += 2; in arm_biquad_cascade_df1_q31()
243 inVec0 = vld1q(pIn); in arm_biquad_cascade_df1_q31()
244 pIn += 2; in arm_biquad_cascade_df1_q31()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/BayesFunctions/
Darm_gaussian_naive_bayes_predict_f32.c65 const float32_t *pIn = in; in arm_gaussian_naive_bayes_predict_f32() local
80 pIn = in; in arm_gaussian_naive_bayes_predict_f32()
94 vtmp = vsubq(vld1q(pIn), vld1q(pTheta)); in arm_gaussian_naive_bayes_predict_f32()
100 pIn += 4; in arm_gaussian_naive_bayes_predict_f32()
117 vtmp = vsubq(vld1q(pIn), vld1q(pTheta)); in arm_gaussian_naive_bayes_predict_f32()
161 const float32_t *pIn=in; in arm_gaussian_naive_bayes_predict_f32() local
183 pIn = in; in arm_gaussian_naive_bayes_predict_f32()
199 inV = vld1q_f32(pIn); in arm_gaussian_naive_bayes_predict_f32()
222 pIn += 4; in arm_gaussian_naive_bayes_predict_f32()
243 tmp -= 0.5f*(*pIn - *pTheta) * (*pIn - *pTheta) / sigma; in arm_gaussian_naive_bayes_predict_f32()
[all …]
/third_party/skia/third_party/etc1/
Detc1.cpp208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { in etc1_decode_block() argument
209 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block()
210 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc1_decode_block()
255 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock() argument
271 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
288 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
311 int pixelR = pIn[0]; in chooseModifier()
312 int pixelG = pIn[1]; in chooseModifier()
313 int pixelB = pIn[2]; in chooseModifier()
[all …]
/third_party/flutter/skia/third_party/etc1/
Detc1.cpp208 void etc1_decode_block(const etc1_byte* pIn, etc1_byte* pOut) { in etc1_decode_block() argument
209 etc1_uint32 high = (pIn[0] << 24) | (pIn[1] << 16) | (pIn[2] << 8) | pIn[3]; in etc1_decode_block()
210 etc1_uint32 low = (pIn[4] << 24) | (pIn[5] << 16) | (pIn[6] << 8) | pIn[7]; in etc1_decode_block()
255 void etc_average_colors_subblock(const etc1_byte* pIn, etc1_uint32 inMask, in etc_average_colors_subblock() argument
271 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
288 const etc1_byte* p = pIn + i * 3; in etc_average_colors_subblock()
307 const etc1_byte* pIn, etc1_uint32 *pLow, int bitIndex, in chooseModifier() argument
311 int pixelR = pIn[0]; in chooseModifier()
312 int pixelG = pIn[1]; in chooseModifier()
313 int pixelB = pIn[2]; in chooseModifier()
[all …]

123