Home
last modified time | relevance | path

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

/lvgl-latest/src/draw/sw/blend/
Dlv_draw_sw_blend_to_rgb565.c66 static inline uint16_t /* LV_ATTRIBUTE_FAST_MEM */ l8_to_rgb565(const uint8_t c1);
431 dest_buf_u16[dest_x] = l8_to_rgb565(chan_val); in i1_image_blend()
486 res = (LV_MIN(dest_buf_u16[dest_x] + l8_to_rgb565(chan_val), 0xFFFF)); in i1_image_blend()
490 res = (LV_MAX(dest_buf_u16[dest_x] - l8_to_rgb565(chan_val), 0)); in i1_image_blend()
494 … res = ((((dest_buf_u16[dest_x] >> 11) * (l8_to_rgb565(chan_val) >> 3)) & 0x1F) << 11) | in i1_image_blend()
495 … ((((dest_buf_u16[dest_x] >> 5) & 0x3F) * ((l8_to_rgb565(chan_val) >> 2) & 0x3F) >> 6) << 5) | in i1_image_blend()
496 … (((dest_buf_u16[dest_x] & 0x1F) * (l8_to_rgb565(chan_val) & 0x1F)) >> 5); in i1_image_blend()
665 dest_buf_u16[dest_x] = l8_to_rgb565(src_buf_l8[src_x]); in l8_image_blend()
1094 static inline uint16_t LV_ATTRIBUTE_FAST_MEM l8_to_rgb565(const uint8_t c1) in l8_to_rgb565() function