/Zephyr-latest/samples/drivers/video/capture_to_lvgl/src/ |
D | main.c | 59 while (caps.format_caps[i].pixelformat) { in main() 63 (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), in main() 64 (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), in main() 80 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in main() 87 LOG_INF("- Format: %c%c%c%c %ux%u %u", (char)fmt.pixelformat, (char)(fmt.pixelformat >> 8), in main() 88 (char)(fmt.pixelformat >> 16), (char)(fmt.pixelformat >> 24), fmt.width, fmt.height, in main()
|
/Zephyr-latest/samples/drivers/video/capture/src/ |
D | main.c | 120 while (caps.format_caps[i].pixelformat) { in main() 124 (char)fcap->pixelformat, (char)(fcap->pixelformat >> 8), in main() 125 (char)(fcap->pixelformat >> 16), (char)(fcap->pixelformat >> 24), in main() 147 fmt.pixelformat = in main() 152 LOG_INF("- Video format: %c%c%c%c %ux%u", (char)fmt.pixelformat, in main() 153 (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), in main() 154 (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); in main() 198 err = display_setup(display_dev, fmt.pixelformat); in main()
|
D | check_test_pattern.h | 123 if (fmt.pixelformat == VIDEO_PIX_FMT_XRGB32) { in is_colorbar_ok() 130 } else if (fmt.pixelformat == VIDEO_PIX_FMT_RGB565) { in is_colorbar_ok() 138 printk("Format %d is not supported", fmt.pixelformat); in is_colorbar_ok()
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_emul.c | 34 for (size_t i = 0; caps.format_caps[i].pixelformat != 0; i++) { in ZTEST() 35 fmt.pixelformat = caps.format_caps[i].pixelformat; in ZTEST() 41 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 49 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 57 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 65 zexpect_equal(fmt.pixelformat, caps.format_caps[i].pixelformat); in ZTEST() 70 fmt.pixelformat = 0x00000000; in ZTEST() 73 zexpect_not_equal(fmt.pixelformat, 0x00000000, "should not store wrong formats"); in ZTEST() 153 fmt.pixelformat = caps.format_caps[0].pixelformat; in ZTEST()
|
D | video_common.c | 17 [RGB565] = {.pixelformat = VIDEO_PIX_FMT_RGB565, 20 [YUYV_A] = {.pixelformat = VIDEO_PIX_FMT_YUYV, 23 [YUYV_B] = {.pixelformat = VIDEO_PIX_FMT_YUYV, 35 fmt.pixelformat = VIDEO_PIX_FMT_YUYV; in ZTEST() 77 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in ZTEST()
|
/Zephyr-latest/drivers/video/ |
D | video_sw_generator.c | 42 .pixelformat = VIDEO_PIX_FMT_RGB565, 50 .pixelformat = VIDEO_PIX_FMT_XRGB32, 71 if (fmt->pixelformat == fmts[i].pixelformat && fmt->width >= fmts[i].width_min && in video_sw_generator_set_fmt() 134 if (data->fmt.pixelformat == VIDEO_PIX_FMT_RGB565) { in __fill_buffer_colorbar() 138 } else if (data->fmt.pixelformat == VIDEO_PIX_FMT_XRGB32) { in __fill_buffer_colorbar() 317 while (fmts[i].pixelformat && (fmts[i].pixelformat != fie->format->pixelformat)) { in video_sw_generator_enum_frmival() 362 .fmt.pixelformat = VIDEO_PIX_FMT_RGB565,
|
D | video_mcux_csi.c | 111 switch (fmt->pixelformat) { in video_pix_fmt_convert() 113 fmt->pixelformat = isGetFmt ? VIDEO_PIX_FMT_XRGB32 : VIDEO_PIX_FMT_RGB565; in video_pix_fmt_convert() 116 fmt->pixelformat = isGetFmt ? VIDEO_PIX_FMT_XYUV32 : VIDEO_PIX_FMT_YUYV; in video_pix_fmt_convert() 119 fmt->pixelformat = isGetFmt ? VIDEO_PIX_FMT_XRGB32 : VIDEO_PIX_FMT_RGB565; in video_pix_fmt_convert() 122 fmt->pixelformat = isGetFmt ? VIDEO_PIX_FMT_XYUV32 : VIDEO_PIX_FMT_YUYV; in video_pix_fmt_convert() 126 fmt->pitch = fmt->width * video_pix_fmt_bpp(fmt->pixelformat); in video_pix_fmt_convert() 135 unsigned int bpp = video_pix_fmt_bpp(fmt->pixelformat); in video_mcux_csi_set_fmt() 146 if (fmt->pixelformat != VIDEO_PIX_FMT_XRGB32 && fmt->pixelformat != VIDEO_PIX_FMT_XYUV32) { in video_mcux_csi_set_fmt() 358 while (caps->format_caps[ind].pixelformat) { in video_mcux_csi_get_caps() 367 if (fmts[i].pixelformat == VIDEO_PIX_FMT_RGB565) { in video_mcux_csi_get_caps() [all …]
|
D | video_mcux_smartdma.c | 222 .pixelformat = VIDEO_PIX_FMT_RGB565, 248 if ((fmt->pixelformat != fmts[0].pixelformat) || in nxp_video_sdma_set_format() 287 if ((fmt->pixelformat != fmts[0].pixelformat) || in nxp_video_sdma_get_format() 292 fmt->pixelformat = fmts[0].pixelformat; in nxp_video_sdma_get_format()
|
D | ov7670.c | 187 .pixelformat = (format), .width_min = (width), .width_max = (width), \ 360 if (fmt->pixelformat != VIDEO_PIX_FMT_RGB565 && fmt->pixelformat != VIDEO_PIX_FMT_YUYV) { in ov7670_set_fmt() 373 while (fmts[i].pixelformat) { in ov7670_set_fmt() 375 fmts[i].pixelformat == fmt->pixelformat) { in ov7670_set_fmt() 529 fmt.pixelformat = VIDEO_PIX_FMT_YUYV; in ov7670_init()
|
D | video_emul_imager.c | 142 .pixelformat = (format), \ 332 switch (fmt->pixelformat) { in emul_imager_fill_framebuffer() 349 LOG_WRN("Unsupported pixel format %x, supported: %x, %x", fmt->pixelformat, in emul_imager_fill_framebuffer() 373 dev->name, CONFIG_VIDEO_EMUL_IMAGER_FRAMEBUFFER_SIZE, fmt->pixelformat, in emul_imager_set_fmt() 384 LOG_ERR("Format %x %ux%u not found for %s", fmt->pixelformat, fmt->width, in emul_imager_set_fmt() 472 fmt.pixelformat = fmts[0].pixelformat; in emul_imager_init() 479 LOG_ERR("Failed to set %s to default format %x %ux%u", dev->name, fmt.pixelformat, in emul_imager_init()
|
D | mt9m114.c | 176 .pixelformat = (format), .width_min = (width), .width_max = (width), \ 398 while (fmts[i].pixelformat) { in mt9m114_set_fmt() 399 if (fmt->pixelformat == fmts[i].pixelformat && fmt->width >= fmts[i].width_min && in mt9m114_set_fmt() 420 ret = mt9m114_set_output_format(dev, fmt->pixelformat); in mt9m114_set_fmt() 538 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in mt9m114_init()
|
D | video_common.c | 93 for (int i = 0; fmts[i].pixelformat != 0; i++) { in video_format_caps_index() 94 if (fmts[i].pixelformat == fmt->pixelformat && in video_format_caps_index()
|
D | gc2145.c | 695 .pixelformat = format, .width_min = width, .width_max = width, \ 1031 if (fmt->pixelformat != VIDEO_PIX_FMT_RGB565) { in gc2145_set_fmt() 1044 fmts[i].pixelformat == fmt->pixelformat) { in gc2145_set_fmt() 1057 ret = gc2145_set_output_format(dev, fmt->pixelformat); in gc2145_set_fmt() 1152 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in gc2145_init()
|
D | ov2640.c | 448 .pixelformat = (format), \ 869 if (fmt->pixelformat != VIDEO_PIX_FMT_RGB565 && fmt->pixelformat != VIDEO_PIX_FMT_JPEG) { in ov2640_set_fmt() 885 ret |= ov2640_set_output_format(dev, fmt->pixelformat); in ov2640_set_fmt() 888 while (fmts[i].pixelformat) { in ov2640_set_fmt() 890 fmts[i].pixelformat == fmt->pixelformat) { in ov2640_set_fmt() 1014 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in ov2640_init()
|
D | ov7725.c | 430 if (fmt->pixelformat != VIDEO_PIX_FMT_RGB565 || fmt->height != 480 || in ov7725_set_fmt() 458 if (ov7725_pf_configs[i].pixel_format == fmt->pixelformat) { in ov7725_set_fmt() 532 .pixelformat = VIDEO_PIX_FMT_RGB565, 602 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in ov7725_init()
|
D | ov5640.c | 404 .pixelformat = (format), .width_min = (width), .width_max = (width), \ 561 if (fmt->pixelformat == fmts[i].pixelformat && fmt->width >= fmts[i].width_min && in ov5640_set_fmt() 602 if (fmt->pixelformat == VIDEO_PIX_FMT_YUYV) { in ov5640_set_fmt() 1018 fmt.pixelformat = VIDEO_PIX_FMT_RGB565; in ov5640_init()
|
D | video_emul_rx.c | 100 fmt->pixelformat, fmt->width, fmt->height); in emul_rx_set_fmt() 159 fmt->pixelformat, fmt->width, fmt->height); in emul_rx_worker()
|
D | video_stm32_dcmi.c | 201 unsigned int bpp = video_pix_fmt_bpp(fmt->pixelformat); in video_stm32_dcmi_set_fmt() 207 data->pixel_format = fmt->pixelformat; in video_stm32_dcmi_set_fmt() 235 fmt->pixelformat = data->pixel_format; in video_stm32_dcmi_get_fmt()
|
D | video_mcux_mipi_csi2rx.c | 76 bpp = video_pix_fmt_bpp(fmt.pixelformat) * 8; in mipi_csi2rx_update_settings() 227 return fmt->height * fmt->width * video_pix_fmt_bpp(fmt->pixelformat) * 8; in mipi_csi2rx_cal_frame_size()
|
/Zephyr-latest/samples/drivers/video/tcpserversink/src/ |
D | main.c | 97 printk("Video device detected, format: %c%c%c%c %ux%u\n", (char)fmt.pixelformat, in main() 98 (char)(fmt.pixelformat >> 8), (char)(fmt.pixelformat >> 16), in main() 99 (char)(fmt.pixelformat >> 24), fmt.width, fmt.height); in main()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | video.h | 48 uint32_t pixelformat; member 71 uint32_t pixelformat; member
|