Home
last modified time | relevance | path

Searched refs:vid_out_buf (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-kthread-out.c46 struct vivid_buffer *vid_out_buf = NULL; in vivid_thread_vid_out_tick() local
64 vid_out_buf = list_entry(dev->vid_out_active.next, in vivid_thread_vid_out_tick()
66 list_del(&vid_out_buf->list); in vivid_thread_vid_out_tick()
82 if (!vid_out_buf && !vbi_out_buf && !meta_out_buf) in vivid_thread_vid_out_tick()
85 if (vid_out_buf) { in vivid_thread_vid_out_tick()
86 v4l2_ctrl_request_setup(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
88 v4l2_ctrl_request_complete(vid_out_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_out_tick()
90 vid_out_buf->vb.sequence = dev->vid_out_seq_count; in vivid_thread_vid_out_tick()
96 vid_out_buf->vb.sequence /= 2; in vivid_thread_vid_out_tick()
98 vid_out_buf->vb.vb2_buf.timestamp = in vivid_thread_vid_out_tick()
[all …]
Dvivid-kthread-cap.c242 struct vivid_buffer *vid_out_buf = NULL; in vivid_copy_buffer() local
272 vid_out_buf = list_entry(dev->vid_out_active.next, in vivid_copy_buffer()
274 if (vid_out_buf == NULL) in vivid_copy_buffer()
277 vid_cap_buf->vb.field = vid_out_buf->vb.field; in vivid_copy_buffer()
279 voutbuf = plane_vaddr(tpg, vid_out_buf, p, in vivid_copy_buffer()
282 voutbuf += vid_out_buf->vb.vb2_buf.planes[p].data_offset; in vivid_copy_buffer()