Searched refs:p_color (Results 1 – 1 of 1) sorted by relevance
43 lv_color_t p_color = lv_color_black(); in lv_img_buf_get_px_color() local50 lv_memcpy_small(&p_color, &buf_u8[px], sizeof(lv_color_t)); in lv_img_buf_get_px_color()52 p_color.ch.alpha = 0xFF; /*Only the color should be get so use a default alpha value*/ in lv_img_buf_get_px_color()64 p_color.full = (buf_u8[px] & (1 << (7 - bit))) >> (7 - bit); in lv_img_buf_get_px_color()75 p_color.full = (buf_u8[px] & (3 << (6 - bit))) >> (6 - bit); in lv_img_buf_get_px_color()86 p_color.full = (buf_u8[px] & (0xF << (4 - bit))) >> (4 - bit); in lv_img_buf_get_px_color()91 p_color.full = buf_u8[px]; in lv_img_buf_get_px_color()95 p_color = color; in lv_img_buf_get_px_color()97 return p_color; in lv_img_buf_get_px_color()