Home
last modified time | relevance | path

Searched refs:pixel_format (Results 1 – 25 of 25) sorted by relevance

/Zephyr-latest/drivers/display/
Ddisplay_ili9xxx.c20 enum display_pixel_format pixel_format; member
178 data->pixel_format); in ili9xxx_write()
202 if (data->pixel_format != PIXEL_FORMAT_RGB_565) { in ili9xxx_read()
290 const enum display_pixel_format pixel_format) in ili9xxx_set_pixel_format() argument
298 if (pixel_format == PIXEL_FORMAT_RGB_565) { in ili9xxx_set_pixel_format()
301 } else if (pixel_format == PIXEL_FORMAT_RGB_888) { in ili9xxx_set_pixel_format()
314 data->pixel_format = pixel_format; in ili9xxx_set_pixel_format()
371 capabilities->current_pixel_format = data->pixel_format; in ili9xxx_get_capabilities()
390 enum display_pixel_format pixel_format; in ili9xxx_configure() local
394 if (config->pixel_format == ILI9XXX_PIXEL_FORMAT_RGB565) { in ili9xxx_configure()
[all …]
Ddisplay_mcux_elcdif.c49 enum display_pixel_format pixel_format; member
154 if (dev_data->pixel_format == PIXEL_FORMAT_BGR_565) { in mcux_elcdif_write()
156 } else if (dev_data->pixel_format == PIXEL_FORMAT_RGB_888) { in mcux_elcdif_write()
158 } else if (dev_data->pixel_format == PIXEL_FORMAT_ARGB_8888) { in mcux_elcdif_write()
239 const enum display_pixel_format pixel_format) in mcux_elcdif_set_pixel_format() argument
244 if (!(pixel_format & supported_fmts)) { in mcux_elcdif_set_pixel_format()
249 dev_data->pixel_format = pixel_format; in mcux_elcdif_set_pixel_format()
250 dev_data->pixel_bytes = DISPLAY_BITS_PER_PIXEL(pixel_format) / BITS_PER_BYTE; in mcux_elcdif_set_pixel_format()
266 if (pixel_format == PIXEL_FORMAT_BGR_565) { in mcux_elcdif_set_pixel_format()
268 } else if (pixel_format == PIXEL_FORMAT_RGB_888) { in mcux_elcdif_set_pixel_format()
[all …]
Ddisplay_nt35510.c64 enum display_pixel_format pixel_format; member
222 data->pixel_format == PIXEL_FORMAT_RGB_565 in nt35510_config()
279 capabilities->current_pixel_format = data->pixel_format; in nt35510_get_capabilities()
284 const enum display_pixel_format pixel_format) in nt35510_set_pixel_format() argument
288 if (pixel_format == PIXEL_FORMAT_RGB_565 || pixel_format == PIXEL_FORMAT_RGB_888) { in nt35510_set_pixel_format()
289 data->pixel_format = pixel_format; in nt35510_set_pixel_format()
364 if (data->pixel_format == PIXEL_FORMAT_RGB_565) { in nt35510_init()
434 .pixel_format = DT_INST_PROP(n, pixel_format), \
Ddisplay_led_strip_matrix.c35 enum display_pixel_format pixel_format; member
124 if (config->pixel_format == PIXEL_FORMAT_ARGB_8888) { in led_strip_matrix_write()
142 (config->pixel_format == PIXEL_FORMAT_ARGB_8888 ? 4 : 3); in led_strip_matrix_write()
173 if (config->pixel_format == PIXEL_FORMAT_ARGB_8888) { in led_strip_matrix_read()
187 (config->pixel_format == PIXEL_FORMAT_ARGB_8888 ? 4 : 3); in led_strip_matrix_read()
202 caps->current_pixel_format = config->pixel_format; in led_strip_matrix_get_capabilities()
268 .pixel_format = DT_INST_PROP(inst, pixel_format), \
271 BUILD_ASSERT((DT_INST_PROP(inst, pixel_format) == PIXEL_FORMAT_RGB_888) || \
272 (DT_INST_PROP(inst, pixel_format) == PIXEL_FORMAT_ARGB_8888)); \
Ddisplay_gc9x01x.c27 enum display_pixel_format pixel_format; member
35 uint8_t pixel_format; member
368 const enum display_pixel_format pixel_format) in gc9x01x_set_pixel_format() argument
375 if (pixel_format == PIXEL_FORMAT_RGB_565) { in gc9x01x_set_pixel_format()
378 } else if (pixel_format == PIXEL_FORMAT_RGB_888) { in gc9x01x_set_pixel_format()
391 data->pixel_format = pixel_format; in gc9x01x_set_pixel_format()
439 ret = gc9x01x_set_pixel_format(dev, config->pixel_format); in gc9x01x_configure()
556 data->pixel_format); in gc9x01x_write()
576 capabilities->current_pixel_format = data->pixel_format; in gc9x01x_get_capabilities()
631 .pixel_format = DT_INST_PROP(inst, pixel_format), \
Ddisplay_ili9806e_dsi.c24 enum display_pixel_format pixel_format; member
270 cfg->pixel_format == PIXEL_FORMAT_RGB_565 in ili9806e_config()
322 capabilities->supported_pixel_formats = cfg->pixel_format; in ili9806e_get_capabilities()
323 capabilities->current_pixel_format = cfg->pixel_format; in ili9806e_get_capabilities()
327 const enum display_pixel_format pixel_format) in ili9806e_pixel_format() argument
332 if (pixel_format == config->pixel_format) { in ili9806e_pixel_format()
381 if (cfg->pixel_format == PIXEL_FORMAT_RGB_565) { in ili9806e_init()
429 .pixel_format = DT_INST_PROP(n, pixel_format), \
Ddisplay_rm67162.c199 uint8_t pixel_format; member
224 mdev.pixfmt = data->pixel_format; in rm67162_init()
279 if (data->pixel_format == MIPI_DSI_PIXFMT_RGB888) { in rm67162_init()
282 } else if (data->pixel_format == MIPI_DSI_PIXFMT_RGB565) { in rm67162_init()
482 switch (data->pixel_format) { in rm67162_get_capabilities()
520 const enum display_pixel_format pixel_format) in rm67162_set_pixel_format() argument
526 switch (pixel_format) { in rm67162_set_pixel_format()
528 data->pixel_format = MIPI_DSI_PIXFMT_RGB565; in rm67162_set_pixel_format()
533 data->pixel_format = MIPI_DSI_PIXFMT_RGB888; in rm67162_set_pixel_format()
565 mdev.pixfmt = data->pixel_format; in rm67162_pm_action()
[all …]
Ddisplay_hx8394.c22 uint8_t pixel_format; member
472 const enum display_pixel_format pixel_format) in hx8394_set_pixel_format() argument
476 if (pixel_format == config->pixel_format) { in hx8394_set_pixel_format()
522 capabilities->supported_pixel_formats = config->pixel_format; in hx8394_get_capabilities()
523 capabilities->current_pixel_format = config->pixel_format; in hx8394_get_capabilities()
557 mdev.pixfmt = config->pixel_format; in hx8394_init()
789 .pixel_format = DT_INST_PROP(id, pixel_format), \
Ddisplay_renesas_lcdc.c48 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(inst, pixel_format)) / BITS_PER_BYTE)
98 enum display_pixel_format pixel_format; member
125 static uint8_t lcdc_smartbond_pixel_to_lcm(enum display_pixel_format pixel_format) in lcdc_smartbond_pixel_to_lcm() argument
127 switch (pixel_format) { in lcdc_smartbond_pixel_to_lcm()
177 lcdc_smartbond_pixel_to_lcm(config->pixel_format); in display_smartbond_configure()
454 capabilities->supported_pixel_formats = DT_INST_PROP(0, pixel_format); in display_smartbond_get_capabilities()
456 capabilities->current_pixel_format = DT_INST_PROP(0, pixel_format); in display_smartbond_get_capabilities()
653 .pixel_format = DT_INST_PROP(0, pixel_format), \
Ddisplay_renesas_ra.c29 enum display_pixel_format pixel_format; member
193 capabilities->current_pixel_format = (config->pixel_format == PIXEL_FORMAT_RGB_888) in ra_display_get_capabilities()
195 : config->pixel_format; in ra_display_get_capabilities()
199 const enum display_pixel_format pixel_format) in ra_display_set_pixel_format() argument
203 if (pixel_format == config->pixel_format) { in ra_display_set_pixel_format()
421 .pixel_format = DT_INST_PROP(id, input_pixel_format), \
Ddisplay_dummy.c101 const enum display_pixel_format pixel_format) in dummy_display_set_pixel_format() argument
105 disp_data->current_pixel_format = pixel_format; in dummy_display_set_pixel_format()
Ddisplay_mcux_dcnano_lcdif.c174 pixel_format) in mcux_dcnano_lcdif_set_pixel_format()
178 switch (pixel_format) { in mcux_dcnano_lcdif_set_pixel_format()
260 (DISPLAY_BITS_PER_PIXEL(DT_INST_PROP(n, pixel_format)) / BITS_PER_BYTE)
296 .format = DT_INST_PROP(n, pixel_format), \
Ddisplay_ili9xxx.h72 uint8_t pixel_format; member
Ddisplay_rm68200.c83 uint8_t pixel_format; member
128 const enum display_pixel_format pixel_format) in rm68200_set_pixel_format() argument
132 if (pixel_format == config->pixel_format) { in rm68200_set_pixel_format()
157 capabilities->supported_pixel_formats = config->pixel_format; in rm68200_get_capabilities()
158 capabilities->current_pixel_format = config->pixel_format; in rm68200_get_capabilities()
179 mdev.pixfmt = config->pixel_format; in rm68200_init()
1041 .pixel_format = DT_INST_PROP(id, pixel_format), \
Ddisplay_st7789v.c213 const enum display_pixel_format pixel_format) argument
216 if (pixel_format == PIXEL_FORMAT_RGB_565) {
218 if (pixel_format == PIXEL_FORMAT_BGR_565) {
220 if (pixel_format == PIXEL_FORMAT_RGB_888) {
Ddisplay_otm8009a.c35 enum display_pixel_format pixel_format; member
603 capabilities->supported_pixel_formats = data->pixel_format; in otm8009a_get_capabilities()
604 capabilities->current_pixel_format = data->pixel_format; in otm8009a_get_capabilities()
714 .dsi_pixel_format = DT_INST_PROP(inst, pixel_format), \
Ddisplay_st7735r.c276 const enum display_pixel_format pixel_format) in st7735r_set_pixel_format() argument
280 if ((pixel_format == PIXEL_FORMAT_RGB_565) && in st7735r_set_pixel_format()
285 if ((pixel_format == PIXEL_FORMAT_BGR_565) && in st7735r_set_pixel_format()
Ddisplay_sdl.c478 const enum display_pixel_format pixel_format) in sdl_display_set_pixel_format() argument
482 switch (pixel_format) { in sdl_display_set_pixel_format()
489 disp_data->current_pixel_format = pixel_format; in sdl_display_set_pixel_format()
/Zephyr-latest/include/zephyr/drivers/
Ddisplay.h207 pixel_format);
436 const enum display_pixel_format pixel_format) in display_set_pixel_format() argument
445 return api->set_pixel_format(dev, pixel_format); in display_set_pixel_format()
/Zephyr-latest/drivers/video/
Dmt9m114.c374 static int mt9m114_set_output_format(const struct device *dev, int pixel_format) in mt9m114_set_output_format() argument
379 if (pixel_format == VIDEO_PIX_FMT_YUYV) { in mt9m114_set_output_format()
381 } else if (pixel_format == VIDEO_PIX_FMT_RGB565) { in mt9m114_set_output_format()
Dov7725.c196 uint32_t pixel_format; member
234 { .pixel_format = VIDEO_PIX_FMT_RGB565, .com7 = (1 << 2) | (2) }
458 if (ov7725_pf_configs[i].pixel_format == fmt->pixelformat) { in ov7725_set_fmt()
Dvideo_stm32_dcmi.c42 uint32_t pixel_format; member
207 data->pixel_format = fmt->pixelformat; in video_stm32_dcmi_set_fmt()
235 fmt->pixelformat = data->pixel_format; in video_stm32_dcmi_get_fmt()
/Zephyr-latest/tests/drivers/display/display_read_write/src/
Dmain.c27 static inline uint8_t bytes_per_pixel(enum display_pixel_format pixel_format) in bytes_per_pixel() argument
29 switch (pixel_format) { in bytes_per_pixel()
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c28 #define PIXEL_FORMAT (DT_PROP_OR(DT_CHOSEN(zephyr_display), pixel_format, PIXEL_FORMAT_ARGB_8888))
/Zephyr-latest/subsys/fb/
Dcfb.c41 enum display_pixel_format pixel_format; member
480 if (!(fb->pixel_format & PIXEL_FORMAT_MONO10) != !(fb->inverted)) { in cfb_framebuffer_finalize()
580 fb->pixel_format = cfg.current_pixel_format; in cfb_framebuffer_init()