Searched refs:buf_px (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.6.0/src/hal/ |
D | lv_hal_disp.c | 695 … uint8_t * buf_px = buf + (buf_w * y * LV_IMG_PX_SIZE_ALPHA_BYTE + x * LV_IMG_PX_SIZE_ALPHA_BYTE); in set_px_true_color_alpha() local 699 lv_opa_t bg_opa = buf_px[LV_IMG_PX_SIZE_ALPHA_BYTE - 1]; in set_px_true_color_alpha() 701 bg_color.full = buf_px[0]; in set_px_true_color_alpha() 702 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 703 if(buf_px[1] <= LV_OPA_MIN) return; in set_px_true_color_alpha() 704 buf_px[0] = res_color.full; in set_px_true_color_alpha() 706 bg_color.full = buf_px[0] + (buf_px[1] << 8); in set_px_true_color_alpha() 707 lv_color_mix_with_alpha(bg_color, bg_opa, color, opa, &res_color, &buf_px[2]); in set_px_true_color_alpha() 708 if(buf_px[2] <= LV_OPA_MIN) return; in set_px_true_color_alpha() 709 buf_px[0] = res_color.full & 0xff; in set_px_true_color_alpha() [all …]
|