Home
last modified time | relevance | path

Searched refs:bpp (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/drivers/display/display_read_write/src/
Dmain.c24 static uint8_t bpp; variable
53 .buf_size = height * width * bpp, in verify_bytes_of_area()
63 zassert_mem_equal(data, disp_buffer, width * height * bpp, NULL); in verify_bytes_of_area()
69 size_t buf_size = is_tiled ? (height * width / 8) : (height * width * bpp); in verify_background_color()
85 switch (bpp) { in verify_background_color()
116 bpp = bytes_per_pixel(cfg.current_pixel_format); in display_before()
117 is_tiled = ((bpp == 1) && (cfg.screen_info & SCREEN_INFO_MONO_VTILED)); in display_before()
123 .buf_size = display_height * display_width * bpp, in display_before()
147 uint16_t width = sizeof(data) / bpp; in ZTEST()
148 uint16_t buf_size = width * bpp; in ZTEST()
[all …]
/Zephyr-latest/drivers/video/
Dvideo_mcux_mipi_csi2rx.c53 uint8_t bpp; in mipi_csi2rx_update_settings() local
76 bpp = video_bits_per_pixel(fmt.pixelformat); in mipi_csi2rx_update_settings()
77 sensor_byte_clk = sensor_pixel_rate * bpp / drv_data->csi2rxConfig.laneNum / BITS_PER_BYTE; in mipi_csi2rx_update_settings()
Dvideo_mcux_csi.c135 unsigned int bpp = video_bits_per_pixel(fmt->pixelformat) / BITS_PER_BYTE; in video_mcux_csi_set_fmt() local
139 if (bpp == 0 || (ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL)) { in video_mcux_csi_set_fmt()
143 data->csi_config.bytesPerPixel = bpp; in video_mcux_csi_set_fmt()
Dvideo_stm32_dcmi.c203 unsigned int bpp = video_bits_per_pixel(fmt->pixelformat) / BITS_PER_BYTE; in video_stm32_dcmi_set_fmt() local
205 if (bpp == 0 || (ep != VIDEO_EP_OUT && ep != VIDEO_EP_ALL)) { in video_stm32_dcmi_set_fmt()
/Zephyr-latest/drivers/display/
DKconfig.mcux_elcdif41 The framebuffer size is computed as : panel_width * panel_height * bpp.