Searched refs:buf16 (Results 1 – 2 of 2) sorted by relevance
314 uint16_t *buf16; in sdl_display_read_rgb565() local320 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() local345 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()
77 uint16_t *buf16 = (void *)disp_buffer; in verify_background_color() local90 zassert_equal(buf16[i], (uint16_t)color, "@%d", i); in verify_background_color()