Searched refs:src_buf_c16 (Results 1 – 6 of 6) sorted by relevance
/lvgl-latest/src/draw/sw/blend/ |
D | lv_draw_sw_blend_to_rgb888.c | 630 const lv_color16_t * src_buf_c16 = (const lv_color16_t *) dsc->src_buf; in rgb565_image_blend() local 644 … dest_buf_u8[dest_x + 2] = (src_buf_c16[src_x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() 645 dest_buf_u8[dest_x + 1] = (src_buf_c16[src_x].green * 1037) >> 8; in rgb565_image_blend() 646 dest_buf_u8[dest_x + 0] = (src_buf_c16[src_x].blue * 2106) >> 8; in rgb565_image_blend() 649 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 658 res[2] = (src_buf_c16[src_x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() 659 res[1] = (src_buf_c16[src_x].green * 1037) >> 8; in rgb565_image_blend() 660 res[0] = (src_buf_c16[src_x].blue * 2106) >> 8; in rgb565_image_blend() 664 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 673 res[2] = (src_buf_c16[src_x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() [all …]
|
D | lv_draw_sw_blend_to_l8.c | 594 const lv_color16_t * src_buf_c16 = (const lv_color16_t *)dsc->src_buf; in rgb565_image_blend() local 608 dest_buf_u8[dest_x] = lv_color16_luminance(src_buf_c16[src_x]); in rgb565_image_blend() 611 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 619 … lv_color_8_8_mix(lv_color16_luminance(src_buf_c16[src_x]), &dest_buf_u8[dest_x], opa); in rgb565_image_blend() 622 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 630 … lv_color_8_8_mix(lv_color16_luminance(src_buf_c16[src_x]), &dest_buf_u8[dest_x], mask_buf[src_x]); in rgb565_image_blend() 633 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 642 …lv_color_8_8_mix(lv_color16_luminance(src_buf_c16[src_x]), &dest_buf_u8[dest_x], LV_OPA_MIX2(opa, … in rgb565_image_blend() 645 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 655 src_argb.red = (src_buf_c16[src_x].red * 2106) >> 8; in rgb565_image_blend() [all …]
|
D | lv_draw_sw_blend_to_argb8888.c | 652 const lv_color16_t * src_buf_c16 = (const lv_color16_t *) dsc->src_buf; in rgb565_image_blend() local 679 color_argb.red = (src_buf_c16[x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() 680 color_argb.green = (src_buf_c16[x].green * 1037) >> 8; in rgb565_image_blend() 681 color_argb.blue = (src_buf_c16[x].blue * 2106) >> 8; in rgb565_image_blend() 685 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 694 color_argb.red = (src_buf_c16[x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() 695 color_argb.green = (src_buf_c16[x].green * 1037) >> 8; in rgb565_image_blend() 696 color_argb.blue = (src_buf_c16[x].blue * 2106) >> 8; in rgb565_image_blend() 700 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 710 color_argb.red = (src_buf_c16[x].red * 2106) >> 8; /*To make it rounded*/ in rgb565_image_blend() [all …]
|
D | lv_draw_sw_blend_to_i1.c | 943 const lv_color16_t * src_buf_c16 = (const lv_color16_t *)dsc->src_buf; in rgb565_image_blend() local 958 uint8_t src = lv_color16_luminance(src_buf_c16[src_x]); in rgb565_image_blend() 967 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 975 uint8_t src = lv_color16_luminance(src_buf_c16[src_x]); in rgb565_image_blend() 986 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 995 uint8_t src = lv_color16_luminance(src_buf_c16[src_x]); in rgb565_image_blend() 1006 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 1016 uint8_t src = lv_color16_luminance(src_buf_c16[src_x]); in rgb565_image_blend() 1027 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 1037 src_argb.red = (src_buf_c16[src_x].red * 2106) >> 8; in rgb565_image_blend() [all …]
|
D | lv_draw_sw_blend_to_al88.c | 636 const lv_color16_t * src_buf_c16 = (const lv_color16_t *)dsc->src_buf; in rgb565_image_blend() local 651 dest_buf_al88[x].lumi = lv_color16_luminance(src_buf_c16[x]); in rgb565_image_blend() 655 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 664 src_color.lumi = lv_color16_luminance(src_buf_c16[x]); in rgb565_image_blend() 669 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 678 src_color.lumi = lv_color16_luminance(src_buf_c16[x]); in rgb565_image_blend() 683 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 693 src_color.lumi = lv_color16_luminance(src_buf_c16[x]); in rgb565_image_blend() 698 src_buf_c16 = drawbuf_next_row(src_buf_c16, src_stride); in rgb565_image_blend() 708 src_color.lumi = lv_color16_luminance(src_buf_c16[x]); in rgb565_image_blend() [all …]
|
D | lv_draw_sw_blend_to_rgb565.c | 823 lv_color16_t * src_buf_c16 = (lv_color16_t *) src_buf_u16; in rgb565_image_blend() local 828 res = (LV_MIN(dest_buf_c16[x].red + src_buf_c16[x].red, 31)) << 11; in rgb565_image_blend() 829 res += (LV_MIN(dest_buf_c16[x].green + src_buf_c16[x].green, 63)) << 5; in rgb565_image_blend() 830 res += LV_MIN(dest_buf_c16[x].blue + src_buf_c16[x].blue, 31); in rgb565_image_blend() 834 res = (LV_MAX(dest_buf_c16[x].red - src_buf_c16[x].red, 0)) << 11; in rgb565_image_blend() 835 res += (LV_MAX(dest_buf_c16[x].green - src_buf_c16[x].green, 0)) << 5; in rgb565_image_blend() 836 res += LV_MAX(dest_buf_c16[x].blue - src_buf_c16[x].blue, 0); in rgb565_image_blend() 840 res = ((dest_buf_c16[x].red * src_buf_c16[x].red) >> 5) << 11; in rgb565_image_blend() 841 res += ((dest_buf_c16[x].green * src_buf_c16[x].green) >> 6) << 5; in rgb565_image_blend() 842 res += (dest_buf_c16[x].blue * src_buf_c16[x].blue) >> 5; in rgb565_image_blend()
|