Home
last modified time | relevance | path

Searched refs:buf16 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/display/
Ddisplay_sdl.c314 uint16_t *buf16; in sdl_display_read_rgb565() local
320 buf16 = (void *)(((uint8_t *)buf) + desc->pitch * 2U * h_idx); in sdl_display_read_rgb565()
327 *buf16 = sys_be16_to_cpu(pixel); in sdl_display_read_rgb565()
328 buf16 += 1; in sdl_display_read_rgb565()
339 uint16_t *buf16; in sdl_display_read_bgr565() local
345 buf16 = (void *)(((uint8_t *)buf) + desc->pitch * 2U * h_idx); in sdl_display_read_bgr565()
352 *buf16 = pixel; in sdl_display_read_bgr565()
353 buf16 += 1; in sdl_display_read_bgr565()
/Zephyr-latest/tests/drivers/display/display_read_write/src/
Dmain.c77 uint16_t *buf16 = (void *)disp_buffer; in verify_background_color() local
90 zassert_equal(buf16[i], (uint16_t)color, "@%d", i); in verify_background_color()