Searched refs:buf_out (Results 1 – 1 of 1) sorted by relevance
69 static void buf_to_xrgb8888(const lv_draw_buf_t * draw_buf, uint8_t * buf_out);380 static void buf_to_xrgb8888(const lv_draw_buf_t * draw_buf, uint8_t * buf_out) in buf_to_xrgb8888() argument394 buf_out[x * 4 + 3] = 0xff; in buf_to_xrgb8888()395 buf_out[x * 4 + 2] = (c16->blue * 2106) >> 8; /*To make it rounded*/ in buf_to_xrgb8888()396 buf_out[x * 4 + 1] = (c16->green * 1037) >> 8; in buf_to_xrgb8888()397 buf_out[x * 4 + 0] = (c16->red * 2106) >> 8; in buf_to_xrgb8888()401 buf_out += 800 * 4; in buf_to_xrgb8888()409 buf_out[x * 4 + 3] = buf_in[x * 4 + 3]; in buf_to_xrgb8888()410 buf_out[x * 4 + 2] = buf_in[x * 4 + 0]; in buf_to_xrgb8888()411 buf_out[x * 4 + 1] = buf_in[x * 4 + 1]; in buf_to_xrgb8888()[all …]