Lines Matching refs:vid_cap_buf
238 u8 *vcapbuf, struct vivid_buffer *vid_cap_buf) in vivid_copy_buffer() argument
240 bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; in vivid_copy_buffer()
277 vid_cap_buf->vb.field = vid_out_buf->vb.field; in vivid_copy_buffer()
682 struct vivid_buffer *vid_cap_buf = NULL; in vivid_thread_vid_cap_tick() local
701 vid_cap_buf = list_entry(dev->vid_cap_active.next, struct vivid_buffer, list); in vivid_thread_vid_cap_tick()
702 list_del(&vid_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()
725 if (vid_cap_buf) { in vivid_thread_vid_cap_tick()
726 v4l2_ctrl_request_setup(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
729 vivid_fillbuff(dev, vid_cap_buf); in vivid_thread_vid_cap_tick()
731 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
736 vivid_overlay(dev, vid_cap_buf); in vivid_thread_vid_cap_tick()
738 v4l2_ctrl_request_complete(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
740 vb2_buffer_done(&vid_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
743 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
745 vid_cap_buf->vb.vb2_buf.timestamp = f_time; in vivid_thread_vid_cap_tick()
747 vid_cap_buf->vb.vb2_buf.timestamp += dev->cap_frame_eof_offset; in vivid_thread_vid_cap_tick()