Searched refs:pix_ptr (Results 1 – 2 of 2) sorted by relevance
138 const uint16_t *pix_ptr; in sdl_display_write_rgb565() local146 pix_ptr = (const uint16_t *)buf + in sdl_display_write_rgb565()148 rgb565 = sys_be16_to_cpu(*pix_ptr); in sdl_display_write_rgb565()164 const uint16_t *pix_ptr; in sdl_display_write_bgr565() local171 pix_ptr = (const uint16_t *)buf + in sdl_display_write_bgr565()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()289 const uint32_t *pix_ptr; in sdl_display_read_rgb888() local297 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_rgb888()[all …]
174 uint32_t *pix_ptr = (uint32_t *)buf_ptr; in led_strip_matrix_read() local176 *pix_ptr = 0xFF000000 | pix->r << 16 | pix->g << 8 | pix->b; in led_strip_matrix_read()