Searched refs:buf_u8 (Results 1 – 2 of 2) sorted by relevance
44 uint8_t * buf_u8 = (uint8_t *)dsc->data; 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()56 buf_u8 += 4 * 2; 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()67 buf_u8 += 4 * 4; 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()78 buf_u8 += 4 * 16; 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()89 buf_u8 += 4 * 256; in lv_img_buf_get_px_color()91 p_color.full = buf_u8[px]; in lv_img_buf_get_px_color()[all …]
126 uint8_t * buf_u8 = (uint8_t *)imgdsc->data + 8; /*+8 skip the palette*/ in lv_qrcode_update() local152 buf_u8[px] = b; in lv_qrcode_update()165 buf_u8[px] = b; in lv_qrcode_update()170 const uint8_t * row_ori = buf_u8 + row_byte_cnt * y; in lv_qrcode_update()172 lv_memcpy((uint8_t *)buf_u8 + row_byte_cnt * (y + s), row_ori, row_byte_cnt); in lv_qrcode_update()