Home
last modified time | relevance | path

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

/lvgl-2.7.6/src/lv_widgets/
Dlv_canvas.c417 bool has_alpha = lv_img_cf_has_alpha(ext->dsc.header.cf); in lv_canvas_blur_hor() local
449 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
458 if(has_alpha) asum += opa; in lv_canvas_blur_hor()
462 if(has_alpha == false) asum = LV_OPA_COVER; in lv_canvas_blur_hor()
476 if(has_alpha) opa = asum / r; in lv_canvas_blur_hor()
480 if(has_alpha) lv_img_buf_set_px_alpha(&ext->dsc, x, y, opa); in lv_canvas_blur_hor()
485 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
494 if(has_alpha) asum -= opa; in lv_canvas_blur_hor()
499 if(has_alpha) opa = lv_img_buf_get_px_alpha(&line_img, x_safe, 0); in lv_canvas_blur_hor()
508 if(has_alpha) asum += opa; in lv_canvas_blur_hor()
[all …]
/lvgl-2.7.6/src/lv_draw/
Dlv_draw_img.c169 bool has_alpha = false; in lv_img_cf_has_alpha() local
182 has_alpha = true; in lv_img_cf_has_alpha()
185 has_alpha = false; in lv_img_cf_has_alpha()
189 return has_alpha; in lv_img_cf_has_alpha()
Dlv_img_buf.h175 uint8_t has_alpha : 1; member
336 if(dsc->tmp.has_alpha == 0) { in _lv_img_buf_transform()
Dlv_img_buf.c443 dsc->tmp.has_alpha = lv_img_cf_has_alpha(dsc->cfg.cf) ? 1 : 0; in _lv_img_buf_transform_init()
627 if(dsc->tmp.has_alpha) { in _lv_img_buf_transform_anti_alias()
638 if(dsc->tmp.has_alpha) { in _lv_img_buf_transform_anti_alias()
647 if(dsc->tmp.has_alpha) { in _lv_img_buf_transform_anti_alias()