Lines Matching refs:read_buf

40 	uint8_t *read_buf;  member
275 static void sdl_display_read_argb8888(const uint8_t *read_buf, in sdl_display_read_argb8888() argument
280 memcpy(buf, read_buf, desc->pitch * 4U * desc->height); in sdl_display_read_argb8888()
283 static void sdl_display_read_rgb888(const uint8_t *read_buf, in sdl_display_read_rgb888() argument
297 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_rgb888()
308 static void sdl_display_read_rgb565(const uint8_t *read_buf, in sdl_display_read_rgb565() argument
323 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_rgb565()
333 static void sdl_display_read_bgr565(const uint8_t *read_buf, in sdl_display_read_bgr565() argument
348 pix_ptr = (const uint32_t *)read_buf + ((h_idx * desc->pitch) + w_idx); in sdl_display_read_bgr565()
358 static void sdl_display_read_mono(const uint8_t *read_buf, in sdl_display_read_mono() argument
379 pix_ptr = (const uint32_t *)read_buf + in sdl_display_read_mono()
404 memset(disp_data->read_buf, 0, desc->pitch * desc->height * 4); in sdl_display_read()
407 disp_data->read_buf, desc->pitch, disp_data->mutex, in sdl_display_read()
415 sdl_display_read_argb8888(disp_data->read_buf, desc, buf); in sdl_display_read()
417 sdl_display_read_rgb888(disp_data->read_buf, desc, buf); in sdl_display_read()
419 sdl_display_read_mono(disp_data->read_buf, desc, buf, true); in sdl_display_read()
421 sdl_display_read_mono(disp_data->read_buf, desc, buf, false); in sdl_display_read()
423 sdl_display_read_rgb565(disp_data->read_buf, desc, buf); in sdl_display_read()
425 sdl_display_read_bgr565(disp_data->read_buf, desc, buf); in sdl_display_read()
525 .read_buf = sdl_read_buf_##n, \