Lines Matching refs:vbi_cap_buf
583 struct vivid_buffer *vbi_cap_buf = NULL; in vivid_thread_vid_cap_tick() local
607 vbi_cap_buf = list_entry(dev->vbi_cap_active.next, in vivid_thread_vid_cap_tick()
609 list_del(&vbi_cap_buf->list); in vivid_thread_vid_cap_tick()
620 if (!vid_cap_buf && !vbi_cap_buf && !meta_cap_buf) in vivid_thread_vid_cap_tick()
645 if (vbi_cap_buf) { in vivid_thread_vid_cap_tick()
648 v4l2_ctrl_request_setup(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
650 if (vbi_cap_buf->vb.vb2_buf.type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE) in vivid_thread_vid_cap_tick()
651 vivid_sliced_vbi_cap_process(dev, vbi_cap_buf); in vivid_thread_vid_cap_tick()
653 vivid_raw_vbi_cap_process(dev, vbi_cap_buf); in vivid_thread_vid_cap_tick()
654 v4l2_ctrl_request_complete(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
656 vb2_buffer_done(&vbi_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
659 vbi_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
664 vbi_cap_buf->vb.vb2_buf.timestamp = f_time + dev->cap_frame_eof_offset + vbi_period; in vivid_thread_vid_cap_tick()