Lines Matching refs:buf_out

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() argument
394 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()
412 buf_out[x * 4 + 0] = buf_in[x * 4 + 2]; in buf_to_xrgb8888()
416 buf_out += 800 * 4; in buf_to_xrgb8888()
424 buf_out[x * 4 + 3] = 0xff; in buf_to_xrgb8888()
425 buf_out[x * 4 + 2] = buf_in[x * 3 + 0]; in buf_to_xrgb8888()
426 buf_out[x * 4 + 1] = buf_in[x * 3 + 1]; in buf_to_xrgb8888()
427 buf_out[x * 4 + 0] = buf_in[x * 3 + 2]; in buf_to_xrgb8888()
431 buf_out += 800 * 4; in buf_to_xrgb8888()
439 buf_out[x * 4 + 3] = 0xff; in buf_to_xrgb8888()
440 buf_out[x * 4 + 2] = buf_in[x]; in buf_to_xrgb8888()
441 buf_out[x * 4 + 1] = buf_in[x]; in buf_to_xrgb8888()
442 buf_out[x * 4 + 0] = buf_in[x]; in buf_to_xrgb8888()
446 buf_out += 800 * 4; in buf_to_xrgb8888()
454 buf_out[x * 4 + 3] = buf_in[x * 2 + 1]; in buf_to_xrgb8888()
455 buf_out[x * 4 + 2] = buf_in[x * 2 + 0]; in buf_to_xrgb8888()
456 buf_out[x * 4 + 1] = buf_in[x * 2 + 0]; in buf_to_xrgb8888()
457 buf_out[x * 4 + 0] = buf_in[x * 2 + 0]; in buf_to_xrgb8888()
461 buf_out += 800 * 4; in buf_to_xrgb8888()
473 buf_out[x * 4 + 3] = 0xff; in buf_to_xrgb8888()
474 buf_out[x * 4 + 2] = pixel ? 0xff : 0x00; in buf_to_xrgb8888()
475 buf_out[x * 4 + 1] = pixel ? 0xff : 0x00; in buf_to_xrgb8888()
476 buf_out[x * 4 + 0] = pixel ? 0xff : 0x00; in buf_to_xrgb8888()
480 buf_out += 800 * 4; in buf_to_xrgb8888()