Lines Matching refs:vb2_buf
228 return vb2_plane_vaddr(&buf->vb.vb2_buf, p); in plane_vaddr()
229 vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in plane_vaddr()
238 bool blank = dev->must_blank[vid_cap_buf->vb.vb2_buf.index]; in vivid_copy_buffer()
280 voutbuf += vid_out_buf->vb.vb2_buf.planes[p].data_offset; in vivid_copy_buffer()
447 tpg_s_perc_fill_blank(tpg, dev->must_blank[buf->vb.vb2_buf.index]); in vivid_fillbuff()
470 dev->must_blank[buf->vb.vb2_buf.index] = false; in vivid_fillbuff()
596 void *vbuf = vb2_plane_vaddr(&buf->vb.vb2_buf, 0); in vivid_overlay()
718 v4l2_ctrl_request_setup(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
723 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
730 v4l2_ctrl_request_complete(vid_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
732 vb2_buffer_done(&vid_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
735 vid_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
737 vid_cap_buf->vb.vb2_buf.timestamp = f_time; in vivid_thread_vid_cap_tick()
743 v4l2_ctrl_request_setup(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
749 v4l2_ctrl_request_complete(vbi_cap_buf->vb.vb2_buf.req_obj.req, in vivid_thread_vid_cap_tick()
751 vb2_buffer_done(&vbi_cap_buf->vb.vb2_buf, dev->dqbuf_error ? in vivid_thread_vid_cap_tick()
754 vbi_cap_buf->vb.vb2_buf.index); in vivid_thread_vid_cap_tick()
759 vbi_cap_buf->vb.vb2_buf.timestamp = f_time + vbi_period; in vivid_thread_vid_cap_tick()
931 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in vivid_stop_generating_vid_cap()
933 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
935 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_cap()
946 v4l2_ctrl_request_complete(buf->vb.vb2_buf.req_obj.req, in vivid_stop_generating_vid_cap()
948 vb2_buffer_done(&buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in vivid_stop_generating_vid_cap()
950 buf->vb.vb2_buf.index); in vivid_stop_generating_vid_cap()