Lines Matching +full:capture +full:- +full:rate
4 * SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/drivers/video-controls.h>
33 LOG_INF("Display device: %s", display_dev->name); in display_setup()
37 LOG_INF("- Capabilities:"); in display_setup()
57 return -ENOTSUP; in display_setup()
73 .buf_size = vbuf->bytesused, in video_display_frame()
76 .height = vbuf->bytesused / fmt.pitch, in video_display_frame()
79 display_write(display_dev, 0, vbuf->line_offset, &buf_desc, vbuf->buffer); in video_display_frame()
99 LOG_ERR("%s: video device is not ready", video_dev->name); in main()
111 LOG_INF("Video device: %s", video_dev->name); in main()
119 LOG_INF("- Capabilities:"); in main()
124 VIDEO_FOURCC_TO_STR(fcap->pixelformat), in main()
125 fcap->width_min, fcap->width_max, fcap->width_step, in main()
126 fcap->height_min, fcap->height_max, fcap->height_step); in main()
149 LOG_INF("- Video format: %s %ux%u", in main()
158 LOG_INF("- Default frame rate : %f fps", in main()
162 LOG_INF("- Supported frame intervals for the default format:"); in main()
190 LOG_ERR("%s: display device not ready.", display_dev->name); in main()
208 /* Alloc video buffers and enqueue for capture */ in main()
224 /* Start video capture */ in main()
226 LOG_ERR("Unable to start capture (interface)"); in main()
230 LOG_INF("Capture started"); in main()
240 LOG_DBG("Got frame %u! size: %u; timestamp %u ms", frame++, vbuf->bytesused, in main()
241 vbuf->timestamp); in main()
244 if (is_colorbar_ok(vbuf->buffer, fmt)) { in main()