Lines Matching refs:vbuf
69 const struct video_buffer *const vbuf, in video_display_frame() argument
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()
85 struct video_buffer *buffers[CONFIG_VIDEO_BUFFER_POOL_NUM_MAX], *vbuf; in main() local
238 err = video_dequeue(video_dev, VIDEO_EP_OUT, &vbuf, K_FOREVER); in main()
244 LOG_DBG("Got frame %u! size: %u; timestamp %u ms", frame++, vbuf->bytesused, in main()
245 vbuf->timestamp); in main()
248 if (is_colorbar_ok(vbuf->buffer, fmt)) { in main()
254 video_display_frame(display_dev, vbuf, fmt); in main()
257 err = video_enqueue(video_dev, VIDEO_EP_OUT, vbuf); in main()