Lines Matching refs:vbi_cap_buf
683 struct vivid_buffer *vbi_cap_buf = NULL; in vivid_thread_vid_cap_tick() local
707 vbi_cap_buf = list_entry(dev->vbi_cap_active.next, in vivid_thread_vid_cap_tick()
709 list_del(&vbi_cap_buf->list); in vivid_thread_vid_cap_tick()
720 if (!vid_cap_buf && !vbi_cap_buf && !meta_cap_buf) in vivid_thread_vid_cap_tick()
750 if (vbi_cap_buf) { in vivid_thread_vid_cap_tick()
753 v4l2_ctrl_request_setup(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
755 if (vbi_cap_buf->vb.vb2_buf.type == V4L2_BUF_TYPE_SLICED_VBI_CAPTURE) in vivid_thread_vid_cap_tick()
756 vivid_sliced_vbi_cap_process(dev, vbi_cap_buf); in vivid_thread_vid_cap_tick()
758 vivid_raw_vbi_cap_process(dev, vbi_cap_buf); in vivid_thread_vid_cap_tick()
759 v4l2_ctrl_request_complete(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
761 vb2_buffer_done(&vbi_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
764 vbi_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
769 vbi_cap_buf->vb.vb2_buf.timestamp = f_time + dev->cap_frame_eof_offset + vbi_period; in vivid_thread_vid_cap_tick()