Home
last modified time | relevance | path

Searched refs:px_opa (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/littlevgl/src/lv_draw/
A Dlv_draw.c154 lv_opa_t px_opa = lv_draw_aa_get_opa(length, i, opa); in lv_draw_aa_ver_seg() local
155 if(aa_inv) px_opa = opa - px_opa; in lv_draw_aa_ver_seg()
156 lv_draw_px(x, y + i, mask, color, px_opa); in lv_draw_aa_ver_seg()
180 lv_opa_t px_opa = lv_draw_aa_get_opa(length, i, opa); in lv_draw_aa_hor_seg() local
181 if(aa_inv) px_opa = opa - px_opa; in lv_draw_aa_hor_seg()
182 lv_draw_px(x + i, y, mask, color, px_opa); in lv_draw_aa_hor_seg()
A Dlv_draw_basic.c317 lv_opa_t px_opa; in lv_draw_letter() local
332 px_opa = g.bpp == 8 ? letter_px : bpp_opa_table[letter_px]; in lv_draw_letter()
334 px_opa = g.bpp == 8 ? (uint16_t)((uint16_t)letter_px * opa) >> 8 in lv_draw_letter()
342 if(px_opa > LV_OPA_MAX) in lv_draw_letter()
344 else if(px_opa > LV_OPA_MIN) { in lv_draw_letter()
346 *vdb_buf_tmp = lv_color_mix(color, *vdb_buf_tmp, px_opa); in lv_draw_letter()
349 … *vdb_buf_tmp = color_mix_2_alpha(*vdb_buf_tmp, (*vdb_buf_tmp).ch.alpha, color, px_opa); in lv_draw_letter()
494 lv_opa_t px_opa = *(px_color_p + LV_IMG_PX_SIZE_ALPHA_BYTE - 1); in lv_draw_map() local
495 if(px_opa == LV_OPA_TRANSP) in lv_draw_map()
497 else if(px_opa != LV_OPA_COVER) in lv_draw_map()
[all …]
A Dlv_draw_img.c189 uint8_t px_opa = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_alpha() local
190 return px_opa ? LV_OPA_TRANSP : LV_OPA_COVER; in lv_img_buf_get_px_alpha()
201 uint8_t px_opa = (buf_u8[px] & (3 << (6 - bit))) >> (6 - bit); in lv_img_buf_get_px_alpha() local
202 return opa_table[px_opa]; in lv_img_buf_get_px_alpha()
214 uint8_t px_opa = (buf_u8[px] & (0xF << (4 - bit))) >> (4 - bit); in lv_img_buf_get_px_alpha() local
215 return opa_table[px_opa]; in lv_img_buf_get_px_alpha()
A Dlv_draw_rect.c1369 lv_opa_t px_opa; in lv_draw_shadow_bottom() local
1376 px_opa = line_1d_blur[d]; in lv_draw_shadow_bottom()
1378 px_opa = (uint16_t)((uint16_t)line_1d_blur[d] + line_1d_blur[d - diff]) >> 1; in lv_draw_shadow_bottom()
1380 lv_draw_px(point_l.x, point_l.y, mask, style->body.shadow.color, px_opa); in lv_draw_shadow_bottom()
1385 lv_draw_px(point_r.x, point_r.y, mask, style->body.shadow.color, px_opa); in lv_draw_shadow_bottom()

Completed in 11 milliseconds