/Zephyr-latest/drivers/display/ |
D | display_intel_multibootfb.c | 26 uint32_t pitch; member 75 dst += (y * data->pitch); in framebuf_write() 79 dst += data->pitch; in framebuf_write() 80 src += desc->pitch; in framebuf_write() 97 src += (y * data->pitch); in framebuf_read() 101 src += data->pitch; in framebuf_read() 102 dst += desc->pitch; in framebuf_read() 138 data->pitch = (info->fb_pitch / 4) + adj_x; in multiboot_framebuf_init() 143 buffer += adj_y * data->pitch; in multiboot_framebuf_init()
|
D | display_sdl.c | 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() 122 ((h_idx * desc->pitch) + w_idx) * 3U; in sdl_display_write_rgb888() 141 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_rgb565() 147 ((h_idx * desc->pitch) + w_idx); in sdl_display_write_rgb565() 166 __ASSERT((desc->pitch * 2U * desc->height) <= desc->buf_size, in sdl_display_write_bgr565() 172 ((h_idx * desc->pitch) + w_idx); in sdl_display_write_bgr565() 194 __ASSERT((desc->pitch * desc->height) <= (desc->buf_size * 8U), in sdl_display_write_mono() 208 ((tile_idx * desc->pitch) + w_idx); in sdl_display_write_mono() [all …]
|
D | display_dummy.c | 41 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in dummy_display_write() 42 __ASSERT(desc->pitch <= config->width, in dummy_display_write() 46 __ASSERT(x + desc->pitch <= config->width, in dummy_display_write() 51 if (desc->width > desc->pitch || in dummy_display_write() 52 x + desc->pitch > config->width || in dummy_display_write()
|
D | display_max7219.c | 154 __ASSERT((desc->pitch * desc->height) <= (desc->buf_size * 8U), "Input buffer too small"); in max7219_write() 155 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in max7219_write() 156 __ASSERT(desc->pitch <= max_width, "Pitch in descriptor is larger than screen size"); in max7219_write() 158 __ASSERT(x + desc->pitch <= max_width, in max7219_write() 163 if (desc->width > desc->pitch || (desc->pitch * desc->height) > (desc->buf_size * 8U)) { in max7219_write() 167 if ((x + desc->pitch) > max_width || (y + desc->height) > max_height) { in max7219_write() 174 const uint16_t to_skip = desc->pitch - desc->width; in max7219_write() 314 .pitch = MAX7219_DIGITS_PER_DEVICE, in max7219_init()
|
D | display_ili9xxx.c | 139 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in ili9xxx_write() 140 __ASSERT((desc->pitch * data->bytes_per_pixel * desc->height) <= in ili9xxx_write() 151 if (desc->pitch > desc->width) { in ili9xxx_write() 155 mipi_desc.buf_size = desc->pitch * data->bytes_per_pixel; in ili9xxx_write() 165 mipi_desc.pitch = desc->width; in ili9xxx_write() 183 write_data_start += desc->pitch * data->bytes_per_pixel; in ili9xxx_write() 207 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in ili9xxx_read() 208 __ASSERT((desc->pitch * data->bytes_per_pixel * desc->height) <= in ili9xxx_read() 238 mipi_desc.pitch = 1; in ili9xxx_read()
|
D | display_led_strip_matrix.c | 91 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in check_descriptor() 92 __ASSERT(desc->pitch <= config->width, "Pitch in descriptor is larger than screen size"); in check_descriptor() 94 __ASSERT(x + desc->pitch <= config->width, in check_descriptor() 99 if (desc->width > desc->pitch || x + desc->pitch > config->width || in check_descriptor() 141 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_write() 186 buf_ptr += (desc->pitch - desc->width) * in led_strip_matrix_read()
|
D | ssd1327.c | 181 if (desc->pitch < desc->width) { in ssd1327_write() 185 mipi_desc.pitch = desc->pitch; in ssd1327_write() 195 if (desc->pitch > desc->width) { in ssd1327_write() 207 LOG_DBG("x %u, y %u, pitch %u, width %u, height %u, buf_len %u", x, y, desc->pitch, in ssd1327_write()
|
D | display_st7789v.c | 146 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in st7789v_write() 147 __ASSERT((desc->pitch * ST7789V_PIXEL_SIZE * desc->height) <= desc->buf_size, in st7789v_write() 154 if (desc->pitch > desc->width) { in st7789v_write() 158 mipi_desc.buf_size = desc->pitch * ST7789V_PIXEL_SIZE; in st7789v_write() 175 mipi_desc.pitch = desc->width; in st7789v_write() 184 write_data_start += (desc->pitch * ST7789V_PIXEL_SIZE); in st7789v_write()
|
D | display_st7735r.c | 186 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in st7735r_write() 187 __ASSERT((desc->pitch * ST7735R_PIXEL_SIZE * desc->height) in st7735r_write() 197 if (desc->pitch > desc->width) { in st7735r_write() 201 mipi_desc.buf_size = desc->pitch * ST7735R_PIXEL_SIZE; in st7735r_write() 211 mipi_desc.pitch = desc->width; in st7735r_write() 227 write_data_start += (desc->pitch * ST7735R_PIXEL_SIZE); in st7735r_write() 238 write_data_start += (desc->pitch * ST7735R_PIXEL_SIZE); in st7735r_write()
|
D | display_sdl_bottom.h | 33 const uint16_t y, void *renderer, void *buf, uint16_t pitch,
|
D | ssd1322.c | 148 mipi_desc.pitch = mipi_desc.width; in ssd1322_write_pixels() 168 if (desc->pitch < desc->width) { in ssd1322_write() 179 if (desc->pitch > desc->width) { in ssd1322_write() 184 LOG_DBG("x %u, y %u, pitch %u, width %u, height %u, buf_len %u", x, y, desc->pitch, in ssd1322_write()
|
D | display_gc9x01x.c | 519 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in gc9x01x_write() 520 __ASSERT((desc->pitch * data->bytes_per_pixel * desc->height) <= desc->buf_size, in gc9x01x_write() 529 if (desc->pitch > desc->width) { in gc9x01x_write() 543 mipi_desc.pitch = desc->width; in gc9x01x_write() 561 write_data_start += desc->pitch * data->bytes_per_pixel; in gc9x01x_write()
|
D | display_renesas_ra.c | 67 __ASSERT(desc->width <= desc->pitch, "Pitch is smaller than width"); in ra_display_write() 68 __ASSERT((desc->pitch * BYTE_PER_PIXEL * desc->height) <= desc->buf_size, in ra_display_write() 72 desc->pitch == DISPLAY_HSIZE) { in ra_display_write() 100 src += (desc->pitch * data->pixel_size); in ra_display_write() 140 dst += (desc->pitch * data->pixel_size); in ra_display_read()
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_common.c | 39 fmt.pitch = 100 * 2; in ZTEST() 46 fmt.pitch = 1000 * 2; in ZTEST() 53 fmt.pitch = 1920 * 2; in ZTEST() 60 fmt.pitch = 1001 * 2; in ZTEST() 66 fmt.pitch = 1000 * 2; in ZTEST() 72 fmt.pitch = 1280 * 2; in ZTEST() 81 fmt.pitch = 1000 * 2; in ZTEST() 87 fmt.pitch = 1280 * 2; in ZTEST()
|
/Zephyr-latest/tests/drivers/display/display_read_write/src/ |
D | main.c | 50 .pitch = width, in verify_bytes_of_area() 71 .pitch = width, in verify_background_color() 120 .pitch = display_width, in display_before() 150 .pitch = width, in ZTEST() 178 .pitch = width, in ZTEST() 184 .pitch = display_width, in ZTEST() 224 .pitch = width, in ZTEST() 230 .pitch = display_width, in ZTEST()
|
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | main.c | 75 .pitch = buf_desc.width, in video_display_frame() 76 .height = vbuf->bytesused / fmt.pitch, in video_display_frame() 143 fmt.pitch = fmt.width * 2; in main() 207 bsize = fmt.pitch * fmt.height; in main() 209 bsize = fmt.pitch * caps.min_line_count; in main()
|
/Zephyr-latest/samples/drivers/video/capture_to_lvgl/src/ |
D | main.c | 79 fmt.pitch = fmt.width * 2; in main() 89 fmt.pitch); in main() 96 bsize = fmt.pitch * fmt.height; in main()
|
/Zephyr-latest/drivers/video/ |
D | video_emul_imager.c | 229 *(int64_t *)value = (int64_t)data->fmt.width * data->fmt.pitch * data->mode->fps; in emul_imager_get_ctrl() 351 memset(fb16, 0, fmt->pitch); in emul_imager_fill_framebuffer() 356 memcpy(data->framebuffer + fmt->pitch * i, data->framebuffer, fmt->pitch); in emul_imager_fill_framebuffer() 371 if (fmt->pitch * fmt->height > CONFIG_VIDEO_EMUL_IMAGER_FRAMEBUFFER_SIZE) { in emul_imager_set_fmt() 374 fmt->width, fmt->height, fmt->pitch * fmt->height); in emul_imager_set_fmt() 475 fmt.pitch = fmt.width * 2; in emul_imager_init()
|
D | video_stm32_dcmi.c | 45 uint32_t pitch; member 208 data->pitch = fmt->pitch; in video_stm32_dcmi_set_fmt() 238 fmt->pitch = data->pitch; in video_stm32_dcmi_get_fmt() 247 size_t buffer_size = data->pitch * data->height; in video_stm32_dcmi_stream_start() 296 const uint32_t buffer_size = data->pitch * data->height; in video_stm32_dcmi_enqueue()
|
/Zephyr-latest/tests/subsys/display/cfb/basic/src/ |
D | utils.c | 56 .pitch = display_width, in verify_pixel() 70 .pitch = display_width, in verify_image() 101 .pitch = display_width, in verify_color_inside_rect()
|
D | clear.c | 29 .pitch = display_width, in cfb_test_before()
|
D | invert.c | 29 .pitch = display_width, in cfb_test_before()
|
/Zephyr-latest/modules/lvgl/ |
D | lvgl_display_16bit.c | 23 flush.desc.pitch = w; in lvgl_flush_cb_16bit()
|
D | lvgl_display_32bit.c | 23 flush.desc.pitch = w; in lvgl_flush_cb_32bit()
|
D | lvgl_display_24bit.c | 23 flush.desc.pitch = w; in lvgl_flush_cb_24bit()
|