Searched refs:shift (Results 1 – 7 of 7) sorted by relevance
/lvgl-3.7.0/examples/widgets/chart/ |
D | lv_example_chart_8.c | 54 static int32_t round_fixed_point(int32_t n, int8_t shift) in round_fixed_point() argument 58 for(int32_t bit_pos = 0; bit_pos < shift; bit_pos++) { in round_fixed_point() 65 int32_t rounding_boundary = 1 << (shift - 1); in round_fixed_point() 68 return (decimal_part < rounding_boundary) ? (n & ~mask) : ((n >> shift) + 1) << shift; in round_fixed_point()
|
D | lv_example_chart_8.py | 54 def round_fixed_point(n, shift): argument 57 for bit_pos in range(shift): 63 rounding_boundary = 1 << (shift - 1) 68 return ((n >> shift) + 1) << shift
|
/lvgl-3.7.0/src/extra/libs/gif/ |
D | gifdec.c | 338 get_key(gd_GIF *gif, int key_size, uint8_t *sub_len, uint8_t *shift, uint8_t *byte) in get_key() argument 347 rpad = (*shift + bits_read) % 8; in get_key() 362 *shift = (*shift + key_size) % 8; in get_key() 393 uint8_t sub_len, shift, byte; in read_image_data() local 413 sub_len = shift = 0; in read_image_data() 414 key = get_key(gif, key_size, &sub_len, &shift, &byte); /* clear code */ in read_image_data() 434 key = get_key(gif, key_size, &sub_len, &shift, &byte); in read_image_data()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_bar.c | 360 lv_coord_t zero, shift; in draw_indic() local 361 shift = (-bar->min_value * anim_length) / range; in draw_indic() 363 zero = *axis1 + shift; in draw_indic() 372 zero = *axis2 - shift + 1; in draw_indic()
|
/lvgl-3.7.0/docs/widgets/ |
D | obj.md | 30 For example, this will shift the object by 10;20 px from the center of its parent:
|
/lvgl-3.7.0/src/extra/libs/png/ |
D | lodepng.c | 3614 unsigned shift = 16 - mode_out->bitdepth; in lodepng_convert_rgb() local 3633 *r_out = r >> shift ; in lodepng_convert_rgb() 3635 *r_out = r >> shift ; in lodepng_convert_rgb() 3636 *g_out = g >> shift ; in lodepng_convert_rgb() 3637 *b_out = b >> shift ; in lodepng_convert_rgb()
|
/lvgl-3.7.0/docs/ |
D | CHANGELOG.md | 2038 - gradient stop position to shift the gradient area and horizontal gradient
|