Home
last modified time | relevance | path

Searched refs:src_vbuf (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/media/platform/nxp/imx8-isi/
Dimx8-isi-m2m.c97 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mxc_isi_m2m_frame_write_done() local
107 src_vbuf = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in mxc_isi_m2m_frame_write_done()
110 v4l2_m2m_buf_copy_metadata(src_vbuf, dst_vbuf, false); in mxc_isi_m2m_frame_write_done()
112 src_vbuf->sequence = ctx->queues.out.sequence++; in mxc_isi_m2m_frame_write_done()
115 v4l2_m2m_buf_done(src_vbuf, VB2_BUF_STATE_DONE); in mxc_isi_m2m_frame_write_done()
125 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mxc_isi_m2m_device_run() local
168 src_vbuf = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in mxc_isi_m2m_device_run()
171 src_buf = to_isi_m2m_buffer(src_vbuf); in mxc_isi_m2m_device_run()
/Linux-v6.6/drivers/media/platform/mediatek/mdp/
Dmtk_mdp_m2m.c457 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mtk_mdp_m2m_get_bufs() local
462 src_vbuf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mtk_mdp_m2m_get_bufs()
463 mtk_mdp_prepare_addr(ctx, &src_vbuf->vb2_buf, s_frame, &s_frame->addr); in mtk_mdp_m2m_get_bufs()
468 dst_vbuf->vb2_buf.timestamp = src_vbuf->vb2_buf.timestamp; in mtk_mdp_m2m_get_bufs()
475 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mtk_mdp_process_done() local
481 src_vbuf = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in mtk_mdp_process_done()
484 dst_vbuf->vb2_buf.timestamp = src_vbuf->vb2_buf.timestamp; in mtk_mdp_process_done()
485 dst_vbuf->timecode = src_vbuf->timecode; in mtk_mdp_process_done()
487 dst_vbuf->flags |= src_vbuf->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in mtk_mdp_process_done()
489 v4l2_m2m_buf_done(src_vbuf, vb_state); in mtk_mdp_process_done()
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c45 struct vb2_v4l2_buffer *src_vbuf, *dst_vbuf; in mdp_m2m_process_done() local
47 src_vbuf = (struct vb2_v4l2_buffer *) in mdp_m2m_process_done()
52 src_vbuf->sequence = ctx->frame_count[MDP_M2M_SRC]++; in mdp_m2m_process_done()
54 v4l2_m2m_buf_copy_metadata(src_vbuf, dst_vbuf, true); in mdp_m2m_process_done()
56 v4l2_m2m_buf_done(src_vbuf, vb_state); in mdp_m2m_process_done()