Lines Matching refs:video
46 const struct device *const video = DEVICE_DT_GET(DT_CHOSEN(zephyr_camera)); in main() local
48 if (!device_is_ready(video)) { in main()
49 LOG_ERR("%s: video device not ready.", video->name); in main()
53 const struct device *const video = device_get_binding(VIDEO_DEV_SW); in main() local
55 if (video == NULL) { in main()
86 if (video_get_caps(video, VIDEO_EP_OUT, &caps)) { in main()
92 if (video_get_format(video, VIDEO_EP_OUT, &fmt)) { in main()
129 video_enqueue(video, VIDEO_EP_OUT, buffers[i]); in main()
133 if (video_stream_start(video)) { in main()
143 ret = video_dequeue(video, VIDEO_EP_OUT, &vbuf, K_FOREVER); in main()
159 (void)video_enqueue(video, VIDEO_EP_OUT, vbuf); in main()
163 if (video_stream_stop(video)) { in main()
170 ret = video_dequeue(video, VIDEO_EP_OUT, &vbuf, K_NO_WAIT); in main()