Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/sw/blend/
Dlv_draw_sw_blend_to_rgb565.c596 lv_color16_t * dest_buf_c16 = (lv_color16_t *)dest_buf_u16; in al88_image_blend() local
602 res = (LV_MIN(dest_buf_c16[dest_x].red + rb, 31)) << 11; in al88_image_blend()
603 res += (LV_MIN(dest_buf_c16[dest_x].green + g, 63)) << 5; in al88_image_blend()
604 res += LV_MIN(dest_buf_c16[dest_x].blue + rb, 31); in al88_image_blend()
607 res = (LV_MAX(dest_buf_c16[dest_x].red - rb, 0)) << 11; in al88_image_blend()
608 res += (LV_MAX(dest_buf_c16[dest_x].green - g, 0)) << 5; in al88_image_blend()
609 res += LV_MAX(dest_buf_c16[dest_x].blue - rb, 0); in al88_image_blend()
612 res = ((dest_buf_c16[dest_x].red * rb) >> 5) << 11; in al88_image_blend()
613 res += ((dest_buf_c16[dest_x].green * g) >> 6) << 5; in al88_image_blend()
614 res += (dest_buf_c16[dest_x].blue * rb) >> 5; in al88_image_blend()
[all …]