Home
last modified time | relevance | path

Searched refs:col (Results 1 – 25 of 108) sorted by relevance

12345

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/SoftmaxFunctions/
A Darm_softmax_u8.c54 int32_t col = 0; in arm_softmax_u8() local
62 for (col = 1; col < row_size; ++col) in arm_softmax_u8()
64 max = MAX(max, input[col]); in arm_softmax_u8()
70 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
72 diff = input[col] - max; in arm_softmax_u8()
83 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
85 diff = input[col] - max; in arm_softmax_u8()
90 output[col] = (uint8_t)CLAMP(res, (int32_t)255, (int32_t)0); in arm_softmax_u8()
94 output[col] = 0; in arm_softmax_u8()
A Darm_softmax_s8.c210 int32_t col = 0; in arm_softmax_s8()
218 for (col = 1; col < row_size; ++col) in arm_softmax_s8()
220 max = MAX(max, input[col]); in arm_softmax_s8()
226 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
228 diff = input[col] - max; in arm_softmax_s8()
239 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
241 diff = input[col] - max; in arm_softmax_s8()
246 output[col] = (int8_t)CLAMP(res, (int32_t)127, (int32_t)-128); in arm_softmax_s8()
250 output[col] = -128; in arm_softmax_s8()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/SoftmaxFunctions/
A Darm_softmax_u8.c54 int32_t col = 0; in arm_softmax_u8() local
62 for (col = 1; col < row_size; ++col) in arm_softmax_u8()
64 max = MAX(max, input[col]); in arm_softmax_u8()
70 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
72 diff = input[col] - max; in arm_softmax_u8()
83 for (col = 0; col < row_size; ++col) in arm_softmax_u8()
85 diff = input[col] - max; in arm_softmax_u8()
90 output[col] = (uint8_t)CLAMP(res, (int32_t)255, (int32_t)0); in arm_softmax_u8()
94 output[col] = 0; in arm_softmax_u8()
A Darm_softmax_s8.c210 int32_t col = 0; in arm_softmax_s8()
218 for (col = 1; col < row_size; ++col) in arm_softmax_s8()
220 max = MAX(max, input[col]); in arm_softmax_s8()
226 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
228 diff = input[col] - max; in arm_softmax_s8()
239 for (col = 0; col < row_size; ++col) in arm_softmax_s8()
241 diff = input[col] - max; in arm_softmax_s8()
246 output[col] = (int8_t)CLAMP(res, (int32_t)127, (int32_t)-128); in arm_softmax_s8()
250 output[col] = -128; in arm_softmax_s8()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djdcolor.c212 register JDIMENSION col; in ycc_rgb_convert() local
228 for (col = 0; col < num_cols; col++) { in ycc_rgb_convert()
287 register JDIMENSION col; in rgb_gray_convert() local
296 for (col = 0; col < num_cols; col++) { in rgb_gray_convert()
325 register JDIMENSION col; in rgb1_rgb_convert() local
334 for (col = 0; col < num_cols; col++) { in rgb1_rgb_convert()
374 for (col = 0; col < num_cols; col++) { in rgb1_gray_convert()
413 for (col = 0; col < num_cols; col++) { in rgb_convert()
445 for (col = 0; col < num_cols; col++) { in null_convert()
491 for (col = 0; col < num_cols; col++) { in gray_rgb_convert()
[all …]
A Djccolor.c152 register JDIMENSION col; in rgb_ycc_convert() local
161 for (col = 0; col < num_cols; col++) { in rgb_ycc_convert()
208 register JDIMENSION col; in rgb_gray_convert() local
214 for (col = 0; col < num_cols; col++) { in rgb_gray_convert()
246 register JDIMENSION col; in cmyk_ycck_convert() local
256 for (col = 0; col < num_cols; col++) { in cmyk_ycck_convert()
302 register JDIMENSION col; in rgb_rgb1_convert() local
311 for (col = 0; col < num_cols; col++) { in rgb_rgb1_convert()
347 for (col = 0; col < num_cols; col++) { in grayscale_convert()
377 for (col = 0; col < num_cols; col++) { in rgb_convert()
[all …]
A Drdppm.c149 JDIMENSION col; in get_text_gray_row() local
152 for (col = cinfo->image_width; col > 0; col--) { in get_text_gray_row()
167 JDIMENSION col; in get_text_rgb_row() local
170 for (col = cinfo->image_width; col > 0; col--) { in get_text_rgb_row()
187 JDIMENSION col; in get_scaled_gray_row() local
193 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_gray_row()
208 JDIMENSION col; in get_scaled_rgb_row() local
214 for (col = cinfo->image_width; col > 0; col--) { in get_scaled_rgb_row()
246 JDIMENSION col; in get_word_gray_row() local
252 for (col = cinfo->image_width; col > 0; col--) { in get_word_gray_row()
[all …]
A Dwrtarga.c107 register JDIMENSION col; in put_pixel_rows() local
111 for (col = cinfo->output_width; col > 0; col--) { in put_pixel_rows()
128 register JDIMENSION col; in put_gray_rows() local
132 for (col = cinfo->output_width; col > 0; col--) { in put_gray_rows()
152 register JDIMENSION col; in put_demapped_gray() local
156 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_gray()
A Dwrppm.c112 register JDIMENSION col; in copy_pixel_rows() local
116 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows()
139 register JDIMENSION col; in put_demapped_rgb() local
143 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_rgb()
161 register JDIMENSION col; in put_demapped_gray() local
165 for (col = cinfo->output_width; col > 0; col--) { in put_demapped_gray()
/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_draw_basic.c328 for(col = col_start; col < col_end; col++) { in lv_draw_letter()
445 for(col = 0; col < map_useful_w; col++) { in lv_draw_map()
478 for(col = 0; col < map_useful_w; col++) { in lv_draw_map()
541 … vdb_buf_tmp[col] = color_mix_2_alpha(vdb_buf_tmp[col], vdb_buf_tmp[col].ch.alpha, in lv_draw_map()
573 for(col = 0; col < length; col++) { in sw_mem_blend()
574 dest[col] = lv_color_mix(src[col], dest[col], opa); in sw_mem_blend()
592 lv_coord_t col; in sw_color_fill() local
596 for(col = fill_area->x1; col <= fill_area->x2; col++) { in sw_color_fill()
608 for(col = fill_area->x1; col <= fill_area->x2; col++) { in sw_color_fill()
632 for(col = fill_area->x1; col <= fill_area->x2; col++) { in sw_color_fill()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/
A Dtif2ras.c89 register int col, local
259 for (col = 0; col < width; col++) {
266 for (col = 0; col < width; col++) {
276 for (col = 0; col < ((width + 7) / 8); col++)
280 for (col = 0; col < ((width + 3) / 4); col++) {
288 for (col = 0; col < width / 2; col++) {
294 for (col = 0; col < width; col++)
/AliOS-Things-master/components/freetype/src/base/
A Dftlcdfil.c109 FT_Byte* col = column; in _ft_lcd_filter_fir() local
114 val1 = col[0]; in _ft_lcd_filter_fir()
120 col += pitch; in _ft_lcd_filter_fir()
122 val1 = col[0]; in _ft_lcd_filter_fir()
127 col += pitch; in _ft_lcd_filter_fir()
134 val = col[0]; in _ft_lcd_filter_fir()
144 col += pitch; in _ft_lcd_filter_fir()
237 for ( ; col < col_end; col += 3 * pitch ) in _ft_lcd_filter_legacy()
245 p = col[0]; in _ft_lcd_filter_legacy()
250 p = col[pitch]; in _ft_lcd_filter_legacy()
[all …]
/AliOS-Things-master/components/littlevgl/src/lv_objx/
A Dlv_table.h106 void lv_table_set_cell_value(lv_obj_t * table, uint16_t row, uint16_t col, const char * txt);
137 void lv_table_set_cell_align(lv_obj_t * table, uint16_t row, uint16_t col, lv_label_align_t align);
146 void lv_table_set_cell_type(lv_obj_t * table, uint16_t row, uint16_t col, uint8_t type);
155 void lv_table_set_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col, bool crop);
164 void lv_table_set_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col, bool en);
185 const char * lv_table_get_cell_value(lv_obj_t * table, uint16_t row, uint16_t col);
217 lv_label_align_t lv_table_get_cell_align(lv_obj_t * table, uint16_t row, uint16_t col);
226 lv_label_align_t lv_table_get_cell_type(lv_obj_t * table, uint16_t row, uint16_t col);
235 lv_label_align_t lv_table_get_cell_crop(lv_obj_t * table, uint16_t row, uint16_t col);
244 bool lv_table_get_cell_merge_right(lv_obj_t * table, uint16_t row, uint16_t col);
A Dlv_table.c140 uint32_t cell = row * ext->col_cnt + col; in lv_table_set_cell_value()
254 uint32_t cell = row * ext->col_cnt + col; in lv_table_set_cell_align()
282 uint32_t cell = row * ext->col_cnt + col; in lv_table_set_cell_type()
313 uint32_t cell = row * ext->col_cnt + col; in lv_table_set_cell_crop()
342 uint32_t cell = row * ext->col_cnt + col; in lv_table_set_cell_merge_right()
614 uint16_t col; in lv_table_design() local
627 for(col = 0; col < ext->col_cnt; col++) { in lv_table_design()
719 col += col_merge; in lv_table_design()
800 uint16_t col; in get_row_height() local
804 for(cell = row_start, col = 0; cell < row_start + ext->col_cnt; cell++, col++) { in get_row_height()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/MatrixFunctions/
A Darm_mat_mult_q15.c117 col = numColsB >> 2;
124 while (col > 0u)
232 col--;
239 while (col > 0u)
248 col--;
268 col = numColsB;
347 col--;
349 } while (col > 0u);
395 col = numColsB;
430 col--;
[all …]
A Darm_mat_trans_q15.c56 uint16_t col, row = nRows, i = 0u; /* row and column loop counters */ local
91 col = nColumns >> 2u;
98 while (col > 0u)
210 col--;
214 col = nColumns % 0x4u;
240 col = nColumns;
244 while (col > 0u)
253 col--;
A Darm_mat_cmplx_mult_q15.c120 col = numColsB >> 2; in arm_mat_cmplx_mult_q15()
127 while (col > 0u) in arm_mat_cmplx_mult_q15()
167 col--; in arm_mat_cmplx_mult_q15()
172 col = numColsB % 0x4u; in arm_mat_cmplx_mult_q15()
174 while (col > 0u) in arm_mat_cmplx_mult_q15()
217 col--; in arm_mat_cmplx_mult_q15()
224 while (col > 0u) in arm_mat_cmplx_mult_q15()
236 col--; in arm_mat_cmplx_mult_q15()
256 col = numColsB; in arm_mat_cmplx_mult_q15()
392 col--; in arm_mat_cmplx_mult_q15()
[all …]
A Darm_mat_mult_fast_q15.c128 while (col > 0u) in arm_mat_mult_fast_q15()
232 col--; in arm_mat_mult_fast_q15()
239 while (col > 0u) in arm_mat_mult_fast_q15()
248 col--; in arm_mat_mult_fast_q15()
274 col = numColsB; in arm_mat_mult_fast_q15()
282 col = col >> 1; in arm_mat_mult_fast_q15()
287 while (col > 0u) in arm_mat_mult_fast_q15()
387 col--; in arm_mat_mult_fast_q15()
468 col = numColsB; in arm_mat_mult_fast_q15()
472 while (col > 0) in arm_mat_mult_fast_q15()
[all …]
A Darm_mat_mult_f32.c86 uint16_t col, i = 0u, j, row = numRowsA, colCnt; /* loop counters */ local
112 col = numColsB;
181 col--;
183 } while (col > 0u);
190 uint16_t col, i = 0u, row = numRowsA, colCnt; /* loop counters */
215 col = numColsB;
247 col--;
250 pIn2 = pInB + (numColsB - col);
252 } while (col > 0u);
A Darm_mat_mult_q31.c85 uint16_t col, i = 0u, j, row = numRowsA, colCnt; /* loop counters */ local
111 col = numColsB;
187 col--;
189 } while (col > 0u);
196 uint16_t col, i = 0u, row = numRowsA, colCnt; /* loop counters */
221 col = numColsB;
255 col--;
258 pIn2 = pInB + (numColsB - col);
260 } while (col > 0u);
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodframebuf.c181 *b++ = col; in rgb565_fill_rect()
232 col &= 0x0f; in gs4_hmsb_fill_rect()
234 uint8_t col_shifted_left = col << 4; in gs4_hmsb_fill_rect()
266 *pixel = col & 0xff; in gs8_setpixel()
276 memset(pixel, col, w); in gs8_fill_rect()
416 fill_rect(self, x, y, w, 1, col); in framebuf_hline()
431 fill_rect(self, x, y, 1, h, col); in framebuf_vline()
447 fill_rect(self, x, y, w, 1, col); in framebuf_rect()
449 fill_rect(self, x, y, 1, h, col); in framebuf_rect()
521 setpixel(self, x2, y2, col); in framebuf_line()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/NNSupportFunctions/
A Darm_nn_mat_mul_core_4x_s8.c81 : [col] "+r"(col_base), in arm_nn_mat_mul_core_4x_s8()
96 int32_t col = col_base[i]; in arm_nn_mat_mul_core_4x_s8() local
97 sum_tmp += col; in arm_nn_mat_mul_core_4x_s8()
98 acc_n0 += ip_row_0[i] * col; in arm_nn_mat_mul_core_4x_s8()
99 acc_n1 += ip_row_1[i] * col; in arm_nn_mat_mul_core_4x_s8()
100 acc_n2 += ip_row_2[i] * col; in arm_nn_mat_mul_core_4x_s8()
101 acc_n3 += ip_row_3[i] * col; in arm_nn_mat_mul_core_4x_s8()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/NNSupportFunctions/
A Darm_nn_mat_mul_core_4x_s8.c81 : [col] "+r"(col_base), in arm_nn_mat_mul_core_4x_s8()
96 int32_t col = col_base[i]; in arm_nn_mat_mul_core_4x_s8() local
97 sum_tmp += col; in arm_nn_mat_mul_core_4x_s8()
98 acc_n0 += ip_row_0[i] * col; in arm_nn_mat_mul_core_4x_s8()
99 acc_n1 += ip_row_1[i] * col; in arm_nn_mat_mul_core_4x_s8()
100 acc_n2 += ip_row_2[i] * col; in arm_nn_mat_mul_core_4x_s8()
101 acc_n3 += ip_row_3[i] * col; in arm_nn_mat_mul_core_4x_s8()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/
A Dmatrix.h179 for (int col = 0; col < mat.layout().cols(); col++) { variable
180 stream << static_cast<double>(Element(mat, row, col)) << " ";
188 inline int Offset(const Layout& layout, int row, int col) { in Offset() argument
198 return row * row_stride + col * col_stride; in Offset()
202 const Scalar* ElementPtr(const Matrix<Scalar>& mat, int row, int col) { in ElementPtr() argument
203 return mat.data() + Offset(mat.layout(), row, col); in ElementPtr()
207 Scalar* ElementPtr(Matrix<Scalar>* mat, int row, int col) { in ElementPtr() argument
208 return mat->data() + Offset(mat->layout(), row, col); in ElementPtr()
212 Scalar Element(const Matrix<Scalar>& mat, int row, int col) { in Element() argument
213 return *ElementPtr(mat, row, col); in Element()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Dsse_tensor_utils.cc116 std::intptr_t col = 0; in SseMatrixBatchVectorMultiplyAccumulateImpl() local
126 col += 16; in SseMatrixBatchVectorMultiplyAccumulateImpl()
130 if (col < (m_cols & ~7)) { in SseMatrixBatchVectorMultiplyAccumulateImpl()
138 col += 8; in SseMatrixBatchVectorMultiplyAccumulateImpl()
149 col += 4; in SseMatrixBatchVectorMultiplyAccumulateImpl()
162 for (; col < m_cols; ++col) { in SseMatrixBatchVectorMultiplyAccumulateImpl()
163 sum += row_ptr[col] * vectors[col]; in SseMatrixBatchVectorMultiplyAccumulateImpl()
424 std::intptr_t col = 0; in SseReductionSumVector() local
425 for (; col < (reduction_size & ~(kBlockSize - 1)); col += kBlockSize) { in SseReductionSumVector()
439 col += 8; in SseReductionSumVector()
[all …]

Completed in 73 milliseconds

12345