Home
last modified time | relevance | path

Searched refs:dst_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
108 dst_vbuf = v4l2_m2m_dst_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()
113 dst_vbuf->sequence = ctx->queues.cap.sequence++; in mxc_isi_m2m_frame_write_done()
116 v4l2_m2m_buf_done(dst_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
169 dst_vbuf = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in mxc_isi_m2m_device_run()
172 dst_buf = to_isi_m2m_buffer(dst_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
465 dst_vbuf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_mdp_m2m_get_bufs()
466 mtk_mdp_prepare_addr(ctx, &dst_vbuf->vb2_buf, d_frame, &d_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
482 dst_vbuf = v4l2_m2m_dst_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()
486 dst_vbuf->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in mtk_mdp_process_done()
487 dst_vbuf->flags |= src_vbuf->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in mtk_mdp_process_done()
[all …]
/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
49 dst_vbuf = (struct vb2_v4l2_buffer *) in mdp_m2m_process_done()
53 dst_vbuf->sequence = ctx->frame_count[MDP_M2M_DST]++; in mdp_m2m_process_done()
54 v4l2_m2m_buf_copy_metadata(src_vbuf, dst_vbuf, true); in mdp_m2m_process_done()
57 v4l2_m2m_buf_done(dst_vbuf, vb_state); in mdp_m2m_process_done()