Home
last modified time | relevance | path

Searched refs:y0 (Results 1 – 25 of 27) sorted by relevance

12

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dresize_bilinear.h93 int32_t y0, y1; in ResizeBilinear() local
95 input_height, &input_y, &y0, &y1); in ResizeBilinear()
106 (input_y - y0) * (1 - (input_x - x0)) + in ResizeBilinear()
110 (input_y - y0) * (input_x - x0) + in ResizeBilinear()
184 int32_t input_y, y0, y1; in ResizeBilinearInteger() local
196 input_data[Offset(input_shape, b, y0, x0, c)]) * in ResizeBilinearInteger()
197 ((1 << 10) - (input_y - (1 << 10) * y0)) * in ResizeBilinearInteger()
202 (input_y - (1 << 10) * y0) * in ResizeBilinearInteger()
206 input_data[Offset(input_shape, b, y0, x1, c)]) * in ResizeBilinearInteger()
207 ((1 << 10) - (input_y - (1 << 10) * y0)) * in ResizeBilinearInteger()
[all …]
A Dadd.h342 int y0 = params.broadcast_shape[0]; in BroadcastAddFivefold() local
350 for (int i0 = 0; i0 < y0; ++i0) { in BroadcastAddFivefold()
379 for (int i0 = 0; i0 < y0; ++i0) { in BroadcastAddFivefold()
A Dreference_ops.h198 int y0 = params.broadcast_shape[0]; in BroadcastMulFivefold() local
203 for (int i0 = 0; i0 < y0; ++i0) { in BroadcastMulFivefold()
A Dlegacy_reference_ops.h1381 int y0, int y1, int y2, int y3, int y4, int left_shift, in BroadcastAddFivefold() argument
1414 op_params.broadcast_shape[4] = y0; in BroadcastAddFivefold()
/AliOS-Things-master/components/py_engine/framework/
A Dsh1106.py144 def fill_circle(self, x0, y0, r, c): argument
155 self.pixel(x + x0, y + y0, c)
156 self.pixel(x + x0, -y + y0, c)
158 self.pixel(i, y0, c)
171 self.pixel(i, -y + y0, c)
172 self.pixel(i, y + y0, c)
174 self.pixel(i, -x + y0, c)
175 self.pixel(i, x + y0, c)
177 def draw_circle(self, x0, y0, r, w, c): argument
178 self.fill_circle(x0, y0, r, c)
[all …]
A Dst7789py.py350 def _set_window(self, x0, y0, x1, y1): argument
361 self._set_rows(y0, y1)
461 def line(self, x0, y0, x1, y1, color): argument
472 steep = abs(y1 - y0) > abs(x1 - x0)
474 x0, y0 = y0, x0
478 y0, y1 = y1, y0
480 dy = abs(y1 - y0)
482 if y0 < y1:
488 self.pixel(y0, x0, color)
490 self.pixel(x0, y0, color)
[all …]
/AliOS-Things-master/components/drivers/external_device/sh1106/src/
A Dsh1106.c455 uint8_t y0 = y; in OLED_Show_Char() local
492 if ((y - y0) == size) { in OLED_Show_Char()
494 y = y0; in OLED_Show_Char()
628 int16_t y0, in OLED_DrawLine_ByAngle() argument
635 OLED_DrawLine(x0, y0, x1, y1, mode); in OLED_DrawLine_ByAngle()
710 uint8_t y0, in OLED_DrawCircle() argument
715 OLED_FillCircle(x0, y0, radius, mode); in OLED_DrawCircle()
731 OLED_DrawPoint(x + x0, y + y0, mode); in OLED_FillCircle()
732 OLED_DrawPoint(x + x0, -y + y0, mode); in OLED_FillCircle()
734 OLED_DrawPoint(xi, y0, mode); in OLED_FillCircle()
[all …]
/AliOS-Things-master/components/drivers/external_device/st7789/example/
A Dst7789_example.c29 int y0 = rand() % 240; in example_st7789_draw_ract() local
32 printf("drawing rectangle at %d %d %d %d in color %04X\n", x0, y0, x1, y1, in example_st7789_draw_ract()
35 st7789_draw_rect(my_st7789, x0, y0, x1, y1, color); in example_st7789_draw_ract()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/
A Dpcan_gain_control_util.c73 const int16_t y0 = PcanGainLookupFunction(config, input_bits, x0); in PcanGainControlPopulateState() local
77 const int32_t diff1 = (int32_t)y1 - y0; in PcanGainControlPopulateState()
78 const int32_t diff2 = (int32_t)y2 - y0; in PcanGainControlPopulateState()
82 state->gain_lut[4 * interval] = y0; in PcanGainControlPopulateState()
/AliOS-Things-master/components/drivers/external_device/sh1106/include/
A Dsh1106.h15 void OLED_DrawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint8_t mode);
20 void OLED_DrawCircle(uint8_t x0, uint8_t y0, uint8_t radius, uint8_t width, uint8_t mode);
21 void OLED_FillCircle(uint8_t x0, uint8_t y0, uint8_t r, uint8_t mode);
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Dupsampling_msa.c72 #define CALC_G16(y0, y1, u0, u1, v0, v1, dst) do { \ argument
117 v8u16 y0, y1, u0, u1, v0, v1; \
123 MULTHI_16(p0, p1, p2, p3, 19077, y0, y1); \
126 CALC_R16(y0, y1, v0, v1, R); \
130 CALC_G16(y0, y1, u0, u1, v0, v1, G); \
132 CALC_B16(y0, y1, u0, u1, B); \
137 v8u16 y0, u0, v0; \
143 MULTHI_8(p0, p1, 19077, y0); \
146 CALC_R8(y0, v0, R); \
150 CALC_G8(y0, u0, v0, G); \
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Dresize_bilinear.h1343 TFLITE_DCHECK(y1 >= y0); in ResizeBilinearKernel2x2()
1411 &input_data[Offset(input_shape, batch, y0, x0, ic)]; in ResizeBilinearKernel2x2()
1499 for (int y0 = 0, y = 0; y <= output_height - 2; y += 2, y0++) { in ResizeBilinear2x2() local
1502 int32 y1 = std::min(y0 + 1, input_height - 1); in ResizeBilinear2x2()
1523 int32 y0, y1; in ResizeBilinearGeneric() local
1541 input_offset = Offset(input_shape, b, y0, x1, 0); in ResizeBilinearGeneric()
1542 scale = (1 - (input_y - y0)) * (input_x - x0); in ResizeBilinearGeneric()
1547 scale = (input_y - y0) * (1 - (input_x - x0)); in ResizeBilinearGeneric()
1552 scale = (input_y - y0) * (input_x - x0); in ResizeBilinearGeneric()
1575 int32 y0, y1; in ResizeBilinearGenericSmallChannel() local
[all …]
A Doptimized_ops.h242 int y0 = params.broadcast_shape[0]; in BinaryBroadcastFiveFold() local
250 for (int i0 = 0; i0 < y0; ++i0) { in BinaryBroadcastFiveFold()
279 for (int i0 = 0; i0 < y0; ++i0) { in BinaryBroadcastFiveFold()
A Dlegacy_optimized_ops.h3616 int y0, int y1, int y2, int y3, int y4, int left_shift, in BroadcastAddFivefold() argument
3649 op_params.broadcast_shape[4] = y0; in BroadcastAddFivefold()
/AliOS-Things-master/components/SDL2/src/image/
A Dnanosvgrast.h85 float x0,y0, x1,y1; member
290 if (y0 == y1) in nsvg__addEdge()
302 if (y0 < y1) { in nsvg__addEdge()
304 e->y0 = y0; in nsvg__addEdge()
310 e->y0 = y1; in nsvg__addEdge()
312 e->y1 = y0; in nsvg__addEdge()
846 if (a->y0 < b->y0) return -1; in nsvg__cmpEdge()
847 if (a->y0 > b->y0) return 1; in nsvg__cmpEdge()
867 dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); in nsvg__addActive()
1401 e->y0 = (ty + e->y0) * NSVG__SUBSAMPLES; in nsvgRasterize()
[all …]
/AliOS-Things-master/components/SDL2/test/
A Dtestgesture.c94 drawLine(SDL_Surface *screen, float x0, float y0, float x1, float y1, unsigned int col) in drawLine() argument
97 for (t = 0; t < 1; t += (float) (1.0f / SDL_max(SDL_fabs(x0 - x1), SDL_fabs(y0 - y1)))) { in drawLine()
98 setpix(screen, x1 + t * (x0 - x1), y1 + t * (y0 - y1), col); in drawLine()
/AliOS-Things-master/components/udisplay/src/
A Dudisplay.c119 static void udisplay_draw_rgb32(uint8_t *in, uint32_t x0, uint32_t y0, in udisplay_draw_rgb32() argument
130 for (y = y0; y < height; ++y) { in udisplay_draw_rgb32()
138 static void udisplay_draw_rgb16(uint8_t *in, uint32_t x0, uint32_t y0, in udisplay_draw_rgb16() argument
154 for (y = y0; y < height; ++y) { in udisplay_draw_rgb16()
/AliOS-Things-master/components/py_engine/engine/extmod/
A Dmodframebuf.c555 int y0 = MAX(0, y); in framebuf_blit() local
561 for (; y0 < y0end; ++y0) { in framebuf_blit()
566 setpixel(self, cx0, y0, col); in framebuf_blit()
778 mp_int_t y0 = args[ARG_y].u_int; in framebuf_text_helper() local
894 hz_print_mat(self, x, y0, col, cn_font, chr_data, zoom); in framebuf_text_helper()
908 for (int y = y0; vline_data; vline_data >>= 1, y++) { in framebuf_text_helper()
926 asc_print_mat(self, x, y0, col, en_font, chr_data, zoom); in framebuf_text_helper()
/AliOS-Things-master/components/freetype/src/autofit/
A Dafwarp.c123 FT_Pos y0 = FT_MulFix( segments[nn].pos, scale ) + delta; in af_warper_compute_line_best() local
124 FT_Pos y = y0 + ( idx_min - idx0 ); in af_warper_compute_line_best()
/AliOS-Things-master/components/csi/csi2/dsp/include/
A Dcsky_math.h3534 float32_t y0, y1; /* Nearest output values */ in csky_linear_interp_f32() local
3556 y0 = pYData[i]; in csky_linear_interp_f32()
3559 y = y0 + (x - x0) * ((y1 - y0) / (x1 - x0)); in csky_linear_interp_f32()
3612 y0 = pYData[index]; in csky_linear_interp_q31()
3616 y = mult_32x32_keep32(y0, (0x7FFFFFFF - fract)); in csky_linear_interp_q31()
3621 y = ((q31_t) ((q63_t) y0 * (0x7FFFFFFF - fract) >> 32)); in csky_linear_interp_q31()
3677 y0 = pYData[index]; in csky_linear_interp_q15()
3681 y = mult_32x32_keep64(y0, (0xFFFFF - fract)); in csky_linear_interp_q15()
3686 y = ((q63_t) y0 * (0xFFFFF - fract)); in csky_linear_interp_q15()
3741 y0 = pYData[index]; in csky_linear_interp_q7()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis/
A Darm_math.h5516 float32_t y0, y1; /* Nearest output values */ in arm_linear_interp_f32() local
5541 y0 = pYData[i]; in arm_linear_interp_f32()
5545 y = y0 + (x - x0) * ((y1 - y0) / (x1 - x0)); in arm_linear_interp_f32()
5573 q31_t y0, y1; /* Nearest output values */ in arm_linear_interp_q31() local
5597 y0 = pYData[index]; in arm_linear_interp_q31()
5601 y = ((q31_t) ((q63_t) y0 * (0x7FFFFFFF - fract) >> 32)); in arm_linear_interp_q31()
5631 q15_t y0, y1; /* Nearest output values */ in arm_linear_interp_q15() local
5655 y0 = pYData[index]; in arm_linear_interp_q15()
5659 y = ((q63_t) y0 * (0xFFFFF - fract)); in arm_linear_interp_q15()
5712 y0 = pYData[index]; in arm_linear_interp_q7()
[all …]
/AliOS-Things-master/components/ai_agent/
A DREADME.md274 card location: x0: 1126563840, y0: 1126563840
278 face location: x0: 1126563840, y0: 1126563840
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/
A Darm_math.h6510 float32_t y0, y1; /* Nearest output values */ in arm_linear_interp_f32() local
6535 y0 = pYData[i]; in arm_linear_interp_f32()
6539 y = y0 + (x - x0) * ((y1 - y0) / (x1 - x0)); in arm_linear_interp_f32()
6567 q31_t y0, y1; /* Nearest output values */ in arm_linear_interp_q31() local
6591 y0 = pYData[index]; in arm_linear_interp_q31()
6595 y = ((q31_t) ((q63_t) y0 * (0x7FFFFFFF - fract) >> 32)); in arm_linear_interp_q31()
6625 q15_t y0, y1; /* Nearest output values */ in arm_linear_interp_q15() local
6649 y0 = pYData[index]; in arm_linear_interp_q15()
6653 y = ((q63_t) y0 * (0xFFFFF - fract)); in arm_linear_interp_q15()
6706 y0 = pYData[index]; in arm_linear_interp_q7()
[all …]
/AliOS-Things-master/components/SDL2/src/video/khronos/GLES2/
A Dgl2ext.h2596 …LDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat…
2602 …TRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat…
/AliOS-Things-master/hardware/chip/rtl872xd/
A Date.bin785 �X�� xpp�@p�i|)ۀ���������չ�9y1��!9q��DI��D���x!�!�p�I��xyp� xq0�@0��8y0� 8q��…
786 … �����@�����(�%#�"*!��<�`x`�� `px�@x�q|)ۀ��%��*��x �� �p��@�� y0�� q��D@��D`y �� …
1070 …��|�8y0�PF��o�@��1�B��x~��~(�!�(�A��`�](�!HF���(���(� F��^�`�A�`YA�A��a Y�)��@~…

Completed in 171 milliseconds

12