Lines Matching full:height

26 	uint16_t height;  member
81 int rc = sdl_display_init_bottom(config->height, config->width, sdl_display_zoom_pct, in sdl_display_init()
102 __ASSERT((desc->pitch * 4U * desc->height) <= desc->buf_size, in sdl_display_write_argb8888()
105 memcpy(disp_buf, buf, desc->pitch * 4U * desc->height); in sdl_display_write_argb8888()
116 __ASSERT((desc->pitch * 3U * desc->height) <= desc->buf_size, in sdl_display_write_rgb888()
119 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb888()
141 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_rgb565()
144 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_rgb565()
166 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_bgr565()
169 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_write_bgr565()
194 __ASSERT((desc->pitch * desc->height) <= (desc->buf_size * 8U), in sdl_display_write_mono()
196 __ASSERT((desc->height % 8) == 0U, in sdl_display_write_mono()
197 "Input buffer height not aligned per 8 pixels"); in sdl_display_write_mono()
205 for (tile_idx = 0U; tile_idx < desc->height/8U; ++tile_idx) { in sdl_display_write_mono()
235 desc->height, x, y); in sdl_display_write()
240 __ASSERT(desc->height <= config->height, in sdl_display_write()
241 "Height in descriptor is larger than screen size"); in sdl_display_write()
244 __ASSERT(y + desc->height <= config->height, in sdl_display_write()
249 y + desc->height > config->height) { in sdl_display_write()
267 sdl_display_write_bottom(desc->height, desc->width, x, y, disp_data->renderer, in sdl_display_write()
278 __ASSERT((desc->pitch * 4U * desc->height) <= desc->buf_size, "Read buffer is too small"); in sdl_display_read_argb8888()
280 memcpy(buf, read_buf, desc->pitch * 4U * desc->height); in sdl_display_read_argb8888()
291 __ASSERT((desc->pitch * 3U * desc->height) <= desc->buf_size, "Read buffer is too small"); in sdl_display_read_rgb888()
293 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_rgb888()
317 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, "Read buffer is too small"); in sdl_display_read_rgb565()
319 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_rgb565()
342 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, "Read buffer is too small"); in sdl_display_read_bgr565()
344 for (h_idx = 0U; h_idx < desc->height; ++h_idx) { in sdl_display_read_bgr565()
369 __ASSERT((desc->pitch * desc->height) <= (desc->buf_size * 8U), "Read buffer is too small"); in sdl_display_read_mono()
370 __ASSERT((desc->height % 8U) == 0U, "Read buffer height not aligned per 8 pixels"); in sdl_display_read_mono()
372 for (tile_idx = 0U; tile_idx < (desc->height / 8U); ++tile_idx) { in sdl_display_read_mono()
400 desc->height, x, y); in sdl_display_read()
404 memset(disp_data->read_buf, 0, desc->pitch * desc->height * 4); in sdl_display_read()
406 err = sdl_display_read_bottom(desc->height, desc->width, x, y, disp_data->renderer, in sdl_display_read()
465 capabilities->y_resolution = config->height; in sdl_display_get_capabilities()
515 .height = DT_INST_PROP(n, height), \
519 static uint8_t sdl_buf_##n[4 * DT_INST_PROP(n, height) \
521 static uint8_t sdl_read_buf_##n[4 * DT_INST_PROP(n, height) \