Home
last modified time | relevance | path

Searched refs:int16_t (Results 1 – 25 of 55) sorted by relevance

123

/lvgl-latest/src/draw/sw/blend/arm2d/
Dlv_blend_arm2d.h217 int16_t stride = (dsc->dest_stride) / sizeof(uint16_t); in lv_color_blend_to_rgb565_arm2d()
228 int16_t stride = (dsc->dest_stride) / sizeof(uint16_t); in lv_color_blend_to_rgb565_with_opa_arm2d()
240 int16_t stride = (dsc->dest_stride) / sizeof(uint16_t); in lv_color_blend_to_rgb565_with_mask_arm2d()
253 int16_t stride = (dsc->dest_stride) / sizeof(uint16_t); in lv_color_blend_to_rgb565_mix_mask_opa_arm2d()
268 int16_t des_stride = dsc->dest_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_arm2d()
269 int16_t src_stride = dsc->src_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_arm2d()
281 int16_t des_stride = dsc->dest_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_with_opa_arm2d()
282 int16_t src_stride = dsc->src_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_with_opa_arm2d()
295 int16_t des_stride = dsc->dest_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_with_mask_arm2d()
296 int16_t src_stride = dsc->src_stride / sizeof(uint16_t); in lv_rgb565_blend_normal_to_rgb565_with_mask_arm2d()
[all …]
/lvgl-latest/src/drivers/sdl/
Dlv_sdl_mouse.c35 int16_t last_x;
36 int16_t last_y;
166 indev_dev->last_x = (int16_t)((float)(event->motion.x) / zoom); in lv_sdl_mouse_handler()
167 indev_dev->last_y = (int16_t)((float)(event->motion.y) / zoom); in lv_sdl_mouse_handler()
171 indev_dev->last_x = (int16_t)((float)(event->motion.x) / zoom); in lv_sdl_mouse_handler()
172 indev_dev->last_y = (int16_t)((float)(event->motion.y) / zoom); in lv_sdl_mouse_handler()
177 indev_dev->last_x = (int16_t)((float)hor_res * event->tfinger.x / zoom); in lv_sdl_mouse_handler()
178 indev_dev->last_y = (int16_t)((float)ver_res * event->tfinger.y / zoom); in lv_sdl_mouse_handler()
182 indev_dev->last_x = (int16_t)((float)hor_res * event->tfinger.x / zoom); in lv_sdl_mouse_handler()
183 indev_dev->last_y = (int16_t)((float)ver_res * event->tfinger.y / zoom); in lv_sdl_mouse_handler()
[all …]
/lvgl-latest/src/draw/sw/arm2d/
Dlv_draw_sw_arm2d.h229 .iWidth = (int16_t)src_w, in lv_draw_sw_image_helium()
230 .iHeight = (int16_t)src_h, in lv_draw_sw_image_helium()
271 .iX = (int16_t)(coords->x1 - draw_unit->clip_area->x1), in lv_draw_sw_image_helium()
272 .iY = (int16_t)(coords->y1 - draw_unit->clip_area->y1), in lv_draw_sw_image_helium()
280 .iWidth = (int16_t)lv_area_get_width(&layer->buf_area), in lv_draw_sw_image_helium()
281 .iHeight = (int16_t)lv_area_get_height(&layer->buf_area), in lv_draw_sw_image_helium()
292 .iX = (int16_t)(draw_unit->clip_area->x1 - layer->buf_area.x1), in lv_draw_sw_image_helium()
293 .iY = (int16_t)(draw_unit->clip_area->y1 - layer->buf_area.y1), in lv_draw_sw_image_helium()
296 .iWidth = (int16_t)lv_area_get_width(draw_unit->clip_area), in lv_draw_sw_image_helium()
297 .iHeight = (int16_t)lv_area_get_height(draw_unit->clip_area), in lv_draw_sw_image_helium()
[all …]
/lvgl-latest/src/draw/renesas/dave2d/
Dlv_draw_dave2d_arc.c85 sin_start = lv_trigo_sin((int16_t)dsc->start_angle); in lv_draw_dave2d_arc()
86 cos_start = lv_trigo_cos((int16_t)dsc->start_angle); in lv_draw_dave2d_arc()
88 sin_end = lv_trigo_sin((int16_t)dsc->end_angle); in lv_draw_dave2d_arc()
89 cos_end = lv_trigo_cos((int16_t)dsc->end_angle); in lv_draw_dave2d_arc()
97 start_point.x = arc_centre.x + (int16_t)(((dsc->radius) * cos_start) >> LV_TRIGO_SHIFT); in lv_draw_dave2d_arc()
98 start_point.y = arc_centre.y + (int16_t)(((dsc->radius) * sin_start) >> LV_TRIGO_SHIFT); in lv_draw_dave2d_arc()
100 end_point.x = arc_centre.x + (int16_t)(((dsc->radius) * cos_end) >> LV_TRIGO_SHIFT); in lv_draw_dave2d_arc()
101 end_point.y = arc_centre.y + (int16_t)(((dsc->radius) * sin_end) >> LV_TRIGO_SHIFT); in lv_draw_dave2d_arc()
152 …start_coord.x = arc_centre.x + (int16_t)(((dsc->radius - dsc->width / 2) * cos_start) >> LV_TRIGO_… in lv_draw_dave2d_arc()
153 …start_coord.y = arc_centre.y + (int16_t)(((dsc->radius - dsc->width / 2) * sin_start) >> LV_TRIGO_… in lv_draw_dave2d_arc()
[all …]
Dlv_draw_dave2d_fill.c54 int16_t y0_i ; in lv_draw_dave2d_fill()
55 int16_t y3_i ; in lv_draw_dave2d_fill()
76 y0_i = (int16_t)y0; in lv_draw_dave2d_fill()
77 y3_i = (int16_t)y3; in lv_draw_dave2d_fill()
91 int16_t x0_i ; in lv_draw_dave2d_fill()
92 int16_t x3_i ; in lv_draw_dave2d_fill()
112 x0_i = (int16_t)x0; in lv_draw_dave2d_fill()
113 x3_i = (int16_t)x3; in lv_draw_dave2d_fill()
182 (d2_s32) D2_FIX16((int16_t) -1), in lv_draw_dave2d_fill()
183 (d2_s32) D2_FIX16((int16_t) -1),//( 270 Degrees in lv_draw_dave2d_fill()
[all …]
Dlv_draw_dave2d_image.c267 dxv = (d2_s32)((1 << 1) * lv_trigo_sin((int16_t)angle_low)); in img_draw_core()
268 dxu = (d2_s32)((1 << 1) * lv_trigo_cos((int16_t)angle_low)); in img_draw_core()
269 dyv = (d2_s32)((1 << 1) * lv_trigo_sin((int16_t)angle_low + 90)); in img_draw_core()
270 dyu = (d2_s32)((1 << 1) * lv_trigo_cos((int16_t)angle_low + 90)); in img_draw_core()
/lvgl-latest/examples/others/file_explorer/
Dlv_example_file_explorer_3.c9 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j) in exch_table_item()
24 static void sort_by_file_kind(lv_obj_t * tb, int16_t lo, int16_t hi) in sort_by_file_kind()
28 int16_t lt = lo; in sort_by_file_kind()
29 int16_t i = lo + 1; in sort_by_file_kind()
30 int16_t gt = hi; in sort_by_file_kind()
/lvgl-latest/tests/src/test_cases/widgets/
Dtest_arc.c77 int16_t value_after_truncation = 100; in test_arc_should_truncate_to_max_range_when_new_value_exceeds_it()
89 int16_t value_after_truncation = 0; in test_arc_should_truncate_to_min_range_when_new_value_is_inferior()
100 int16_t value_after_updating_max_range = 50; in test_arc_should_update_value_after_updating_range()
101 int16_t value_after_updating_min_range = 30; in test_arc_should_update_value_after_updating_range()
118 int16_t expected_angle_start = 135; in test_arc_should_update_angles_when_changing_to_symmetrical_mode()
119 int16_t expected_angle_end = 270; in test_arc_should_update_angles_when_changing_to_symmetrical_mode()
131 int16_t expected_angle_start = 270; in test_arc_should_update_angles_when_changing_to_symmetrical_mode_value_more_than_middle_range()
132 int16_t expected_angle_end = 45; in test_arc_should_update_angles_when_changing_to_symmetrical_mode_value_more_than_middle_range()
148 int16_t expected_value = 40; in test_arc_angles_when_reversed()
Dtest_roller.c64 int16_t expected_index = 2; in test_roller_get_selected_option()
65 int16_t actual_index = 0; in test_roller_get_selected_option()
99 int16_t expected_index = 9; in test_roller_infinite_mode_get_selected_option()
100 int16_t actual_index = 0; in test_roller_infinite_mode_get_selected_option()
149 int16_t expected_index = 1; in test_roller_keypad_events()
150 int16_t actual_index = 0; in test_roller_keypad_events()
/lvgl-latest/libs/nema_gfx/include/
Dnema_vg_font.h82 const int16_t bbox_xmin; /**< Minimum x of the glyph's bounding box */
83 const int16_t bbox_ymin; /**< Minimum y of the glyph's bounding box */
84 const int16_t bbox_xmax; /**< Maximum x of the glyph's bounding box */
85 const int16_t bbox_ymax; /**< Maximum y of the glyph's bounding box */
/lvgl-latest/src/misc/
Dlv_anim.h117 int16_t x1;
118 int16_t y1;
119 int16_t x2;
120 int16_t y2;
341 void lv_anim_set_bezier3_param(lv_anim_t * a, int16_t x1, int16_t y1, int16_t x2, int16_t y2);
Dlv_math.h54 int32_t /* LV_ATTRIBUTE_FAST_MEM */ lv_trigo_sin(int16_t angle);
56 int32_t LV_ATTRIBUTE_FAST_MEM lv_trigo_cos(int16_t angle);
/lvgl-latest/src/libs/thorvg/rapidjson/msinttypes/
Dstdint.h122 typedef signed short int16_t; typedef
129 typedef signed __int16 int16_t; typedef
141 typedef int16_t int_least16_t;
151 typedef int16_t int_fast16_t;
180 #define INT16_MIN ((int16_t)_I16_MIN)
/lvgl-latest/src/font/
Dlv_font_fmt_txt.h41 int16_t ofs_x; /**< x offset of the bounding box*/
42int16_t ofs_y; /**< y offset of the bounding box. Measured from the top of the li…
Dlv_font.h67 int16_t ofs_x; /**< x offset of the bounding box*/
68 int16_t ofs_y; /**< y offset of the bounding box*/
Dlv_binfont_loader.c30 int16_t descent;
32 int16_t typo_descent;
34 int16_t min_y;
35 int16_t max_y;
48 int16_t underline_position;
596 ids_size = sizeof(int16_t) * 2 * glyph_entries; in load_kern()
/lvgl-latest/src/others/file_explorer/
Dlv_file_explorer.c48 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j);
50 static void sort_by_file_kind(lv_obj_t * tb, int16_t lo, int16_t hi);
648 static void exch_table_item(lv_obj_t * tb, int16_t i, int16_t j) in exch_table_item()
686 static void sort_by_file_kind(lv_obj_t * tb, int16_t lo, int16_t hi) in sort_by_file_kind()
690 int16_t lt = lo; in sort_by_file_kind()
691 int16_t i = lo + 1; in sort_by_file_kind()
692 int16_t gt = hi; in sort_by_file_kind()
/lvgl-latest/examples/widgets/canvas/
Dlv_example_canvas_9.c11 const int16_t string_len = lv_strlen(string); in timer_cb()
30 for(int16_t i = 0; i < string_len; i++) { in timer_cb()
Dlv_example_canvas_10.c11 const int16_t string_len = lv_strlen(string); in timer_cb()
30 for(int16_t i = 0; i < string_len; i++) { in timer_cb()
/lvgl-latest/src/libs/tjpgd/
Dtjpgd.h20 typedef int16_t jd_yuv_t;
62 int16_t dcv[3]; /* Previous DC element of each component */
Dtjpgd.c705 dst[0] = (int16_t)((v0 + v7) >> 8); in block_idct()
706 dst[7] = (int16_t)((v0 - v7) >> 8); in block_idct()
707 dst[1] = (int16_t)((v1 + v6) >> 8); in block_idct()
708 dst[6] = (int16_t)((v1 - v6) >> 8); in block_idct()
709 dst[2] = (int16_t)((v2 + v5) >> 8); in block_idct()
710 dst[5] = (int16_t)((v2 - v5) >> 8); in block_idct()
711 dst[3] = (int16_t)((v3 + v4) >> 8); in block_idct()
712 dst[4] = (int16_t)((v3 - v4) >> 8); in block_idct()
771 jd->dcv[cmp] = (int16_t)d; /* Save current DC value for next block */ in jd_mcu_load()
/lvgl-latest/tests/src/test_cases/draw/
Dtest_draw_letter.c60 for(int16_t i = 0; i < 30; i++) { in test_draw_sin_wave()
81 for(int16_t i = 0; i < 30; i++) { in test_draw_sin_wave()
/lvgl-latest/tests/makefile_uefi/
Defi.h65 typedef INT16 int16_t; typedef
149 _Static_assert(sizeof(int16_t) == 2, "Size check for 'int16_t' failed.");
/lvgl-latest/src/widgets/arc/
Dlv_arc_private.h46 int16_t knob_offset; /**< knob offset from the main arc */
/lvgl-latest/src/drivers/windows/
Dlv_windows_context.h64 int16_t enc_diff;

123