Home
last modified time | relevance | path

Searched refs:pixfmt (Results 1 – 20 of 20) sorted by relevance

/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_smartbond.c148 static inline uint8_t lcdc_smartbond_pixel_to_ocm(enum display_pixel_format pixfmt) in lcdc_smartbond_pixel_to_ocm() argument
150 switch (pixfmt) { in lcdc_smartbond_pixel_to_ocm()
176 static inline uint8_t lcdc_smartbond_pixel_to_lcm(enum display_pixel_format pixfmt) in lcdc_smartbond_pixel_to_lcm() argument
178 switch (pixfmt) { in lcdc_smartbond_pixel_to_lcm()
191 enum display_pixel_format pixfmt) in lcdc_smartbond_mipi_dbi_translation() argument
197 mipi_dbi_cfg->color_mode = lcdc_smartbond_pixel_to_ocm(pixfmt); in lcdc_smartbond_mipi_dbi_translation()
332 enum display_pixel_format pixfmt) in mipi_dbi_smartbond_write_display() argument
339 uint8_t layer_color = lcdc_smartbond_pixel_to_lcm(pixfmt); in mipi_dbi_smartbond_write_display()
341 if (desc->width * desc->height * (DISPLAY_BITS_PER_PIXEL(pixfmt) / BITS_PER_BYTE) != in mipi_dbi_smartbond_write_display()
363 lcdc_smartbond_mipi_dbi_translation(dbi_config, &mipi_dbi_cfg, pixfmt); in mipi_dbi_smartbond_write_display()
Dmipi_dbi_bitbang.c168 enum display_pixel_format pixfmt) in mipi_dbi_bitbang_write_display() argument
170 ARG_UNUSED(pixfmt); in mipi_dbi_bitbang_write_display()
Dmipi_dbi_nxp_lcdic.c410 enum display_pixel_format pixfmt) in mipi_dbi_lcdic_write_display() argument
468 if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 32) { in mipi_dbi_lcdic_write_display()
470 } else if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 16) { in mipi_dbi_lcdic_write_display()
472 } else if (DISPLAY_BITS_PER_PIXEL(pixfmt) == 8) { in mipi_dbi_lcdic_write_display()
Dmipi_dbi_stm32_fmc.c104 enum display_pixel_format pixfmt) in mipi_dbi_stm32_fmc_write_display() argument
Dmipi_dbi_nxp_flexio_lcdif.c233 enum display_pixel_format pixfmt) in mipi_dbi_flexio_ldcif_write_display() argument
243 ARG_UNUSED(pixfmt); in mipi_dbi_flexio_ldcif_write_display()
Dmipi_dbi_spi.c320 enum display_pixel_format pixfmt) in mipi_dbi_spi_write_display() argument
322 ARG_UNUSED(pixfmt); in mipi_dbi_spi_write_display()
/Zephyr-latest/include/zephyr/drivers/
Dmipi_dbi.h164 enum display_pixel_format pixfmt);
261 enum display_pixel_format pixfmt) in mipi_dbi_write_display() argument
269 return api->write_display(dev, config, framebuf, desc, pixfmt); in mipi_dbi_write_display()
Dmipi_dsi.h92 uint32_t pixfmt; member
Dvideo.h894 static inline unsigned int video_pix_fmt_bpp(uint32_t pixfmt) in video_pix_fmt_bpp() argument
896 switch (pixfmt) { in video_pix_fmt_bpp()
/Zephyr-latest/drivers/display/
Ddisplay_st7789v.c144 enum display_pixel_format pixfmt; in st7789v_write() local
166 pixfmt = PIXEL_FORMAT_RGB_565; in st7789v_write()
168 pixfmt = PIXEL_FORMAT_BGR_565; in st7789v_write()
170 pixfmt = PIXEL_FORMAT_RGB_888; in st7789v_write()
182 write_data_start, &mipi_desc, pixfmt); in st7789v_write()
Ddisplay_st7796s.c161 enum display_pixel_format pixfmt; in st7796s_write() local
178 pixfmt = st7796s_get_pixelfmt(dev); in st7796s_write()
182 &mipi_desc, pixfmt); in st7796s_write()
Ddisplay_nt35510.c365 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB565; in nt35510_init()
367 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB888; in nt35510_init()
Ddisplay_ili9806e_dsi.c382 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB565; in ili9806e_init()
384 mdev.pixfmt = MIPI_DSI_PIXFMT_RGB888; in ili9806e_init()
Ddisplay_rm67162.c224 mdev.pixfmt = data->pixel_format; in rm67162_init()
565 mdev.pixfmt = data->pixel_format; in rm67162_pm_action()
Ddisplay_hx8394.c557 mdev.pixfmt = config->pixel_format; in hx8394_init()
Ddisplay_otm8009a.c663 mdev.pixfmt = data->dsi_pixel_format; in otm8009a_init()
Ddisplay_rm68200.c179 mdev.pixfmt = config->pixel_format; in rm68200_init()
/Zephyr-latest/samples/drivers/video/capture/src/
Dmain.c28 static inline int display_setup(const struct device *const display_dev, const uint32_t pixfmt) in display_setup() argument
45 switch (pixfmt) { in display_setup()
/Zephyr-latest/drivers/mipi_dsi/
Ddsi_renesas_ra.c103 if (mdev->pixfmt == MIPI_DSI_PIXFMT_RGB888) { in mipi_dsi_renesas_ra_attach()
105 } else if (mdev->pixfmt == MIPI_DSI_PIXFMT_RGB565) { in mipi_dsi_renesas_ra_attach()
Ddsi_mcux_2l.c255 switch (mdev->pixfmt) { in dsi_mcux_attach()
270 mdev->pixfmt); in dsi_mcux_attach()