Searched refs:fg (Results 1 – 4 of 4) sorted by relevance
/lvgl-3.4.0/src/draw/sw/ |
D | lv_draw_sw_blend.c | 46 static inline lv_color_t color_blend_true_color_additive(lv_color_t fg, lv_color_t bg, lv_opa_t opa… 47 static inline lv_color_t color_blend_true_color_subtractive(lv_color_t fg, lv_color_t bg, lv_opa_t … 48 static inline lv_color_t color_blend_true_color_multiply(lv_color_t fg, lv_color_t bg, lv_opa_t opa… 654 static inline lv_color_t color_blend_true_color_additive(lv_color_t fg, lv_color_t bg, lv_opa_t opa) in color_blend_true_color_additive() argument 661 tmp = bg.full + fg.full; in color_blend_true_color_additive() 662 fg.full = LV_MIN(tmp, 1); in color_blend_true_color_additive() 664 tmp = bg.ch.red + fg.ch.red; in color_blend_true_color_additive() 666 fg.ch.red = LV_MIN(tmp, 7); in color_blend_true_color_additive() 668 fg.ch.red = LV_MIN(tmp, 31); in color_blend_true_color_additive() 670 fg.ch.red = LV_MIN(tmp, 255); in color_blend_true_color_additive() [all …]
|
/lvgl-3.4.0/src/extra/libs/gif/ |
D | gifdec.h | 39 uint8_t fg, uint8_t bg
|
D | gifdec.c | 182 uint8_t cw, ch, fg, bg; in read_plain_text_ext() local 191 f_gif_read(gif, &fg, 1); in read_plain_text_ext() 194 gif->plain_text(gif, tx, ty, tw, th, cw, ch, fg, bg); in read_plain_text_ext()
|
/lvgl-3.4.0/src/misc/ |
D | lv_color.h | 452 uint32_t fg = (uint32_t)((uint32_t)c1.full | ((uint32_t)c1.full << 16)) & 0x7E0F81F; in lv_color_mix() local 453 uint32_t result = ((((fg - bg) * mix) >> 5) + bg) & 0x7E0F81F; in lv_color_mix()
|