Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 3 of 3) sorted by relevance

/lvgl-2.7.6/src/lv_font/
Dlv_font_fmt_txt.c236 lv_uintptr_t ofs = (lv_uintptr_t)(p - (uint8_t *) fdsc->cmaps[i].unicode_list); in get_glyph_dsc_id() local
237 ofs = ofs >> 1; /*The list stores `uint16_t` so the get the index divide by 2*/ in get_glyph_dsc_id()
238 glyph_id = fdsc->cmaps[i].glyph_id_start + ofs; in get_glyph_dsc_id()
247 lv_uintptr_t ofs = (lv_uintptr_t)(p - (uint8_t *) fdsc->cmaps[i].unicode_list); in get_glyph_dsc_id() local
248 ofs = ofs >> 1; /*The list stores `uint16_t` so the get the index divide by 2*/ in get_glyph_dsc_id()
250 glyph_id = fdsc->cmaps[i].glyph_id_start + gid_ofs_16[ofs]; in get_glyph_dsc_id()
284 lv_uintptr_t ofs = (lv_uintptr_t)(kid_p - g_ids); in get_kern_value() local
285 ofs = ofs >> 1; /*ofs is for pair, divide by 2 to refer as a single value*/ in get_kern_value()
286 value = kdsc->values[ofs]; in get_kern_value()
298 lv_uintptr_t ofs = (lv_uintptr_t)(kid_p - (const uint8_t *)g_ids); in get_kern_value() local
[all …]
/lvgl-2.7.6/src/lv_draw/
Dlv_img_decoder.c613 uint32_t ofs = 0; in lv_img_decoder_built_in_line_alpha() local
619 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
626 ofs += w * y + (x >> 2); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
633 ofs += w * y + (x >> 1); /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
639 ofs += w * y + x; /*First pixel*/ in lv_img_decoder_built_in_line_alpha()
653 data_tmp = img_dsc->data + ofs; in lv_img_decoder_built_in_line_alpha()
657 lv_fs_seek(user_data->f, ofs + 4); /*+4 to skip the header*/ in lv_img_decoder_built_in_line_alpha()
700 uint32_t ofs = 0; in lv_img_decoder_built_in_line_indexed() local
705 ofs += w * y + (x >> 3); /*First pixel*/ in lv_img_decoder_built_in_line_indexed()
706 ofs += 8; /*Skip the palette*/ in lv_img_decoder_built_in_line_indexed()
[all …]
Dlv_draw_mask.c1012 int32_t ofs = radius - x0.i - 1; in lv_draw_mask_radius() local
1015 int32_t kl = k + ofs; in lv_draw_mask_radius()
1022 int32_t kr = k + (w - ofs - 1); in lv_draw_mask_radius()
1057 int32_t ofs = radius - (x0.i + 1); in lv_draw_mask_radius() local
1058 int32_t kl = k + ofs; in lv_draw_mask_radius()
1059 int32_t kr = k + (w - ofs - 1); in lv_draw_mask_radius()