Lines Matching full:pixel

113 	uint32_t pixel;  in sdl_display_write_rgb888()  local
123 pixel = *byte_ptr << 16; in sdl_display_write_rgb888()
124 pixel |= *(byte_ptr + 1) << 8; in sdl_display_write_rgb888()
125 pixel |= *(byte_ptr + 2); in sdl_display_write_rgb888()
126 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_rgb888()
137 uint32_t pixel; in sdl_display_write_rgb565() local
149 pixel = (((rgb565 >> 11) & 0x1F) * 255 / 31) << 16; in sdl_display_write_rgb565()
150 pixel |= (((rgb565 >> 5) & 0x3F) * 255 / 63) << 8; in sdl_display_write_rgb565()
151 pixel |= (rgb565 & 0x1F) * 255 / 31; in sdl_display_write_rgb565()
152 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_rgb565()
163 uint32_t pixel; in sdl_display_write_bgr565() local
173 pixel = (((*pix_ptr >> 11) & 0x1F) * 255 / 31) << 16; in sdl_display_write_bgr565()
174 pixel |= (((*pix_ptr >> 5) & 0x3F) * 255 / 63) << 8; in sdl_display_write_bgr565()
175 pixel |= (*pix_ptr & 0x1F) * 255 / 31; in sdl_display_write_bgr565()
176 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_bgr565()
189 uint32_t pixel; in sdl_display_write_mono() local
212 pixel = one_color; in sdl_display_write_mono()
214 pixel = ~one_color; in sdl_display_write_mono()
216 *((uint32_t *)disp_buf) = pixel | 0xFF000000; in sdl_display_write_mono()
313 uint16_t pixel; in sdl_display_read_rgb565() local
324 pixel = (*pix_ptr & 0xF80000) >> 8; in sdl_display_read_rgb565()
325 pixel |= (*pix_ptr & 0x00FC00) >> 5; in sdl_display_read_rgb565()
326 pixel |= (*pix_ptr & 0x0000F8) >> 3; in sdl_display_read_rgb565()
327 *buf16 = sys_be16_to_cpu(pixel); in sdl_display_read_rgb565()
338 uint16_t pixel; in sdl_display_read_bgr565() local
349 pixel = (*pix_ptr & 0xF80000) >> 8; in sdl_display_read_bgr565()
350 pixel |= (*pix_ptr & 0x00FC00) >> 5; in sdl_display_read_bgr565()
351 pixel |= (*pix_ptr & 0x0000F8) >> 3; in sdl_display_read_bgr565()
352 *buf16 = pixel; in sdl_display_read_bgr565()
492 LOG_ERR("Pixel format not supported"); in sdl_display_set_pixel_format()