Home
last modified time | relevance | path

Searched refs:dst_vb (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-m2m.c65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local
73 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue()
74 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in __gsc_m2m_cleanup_queue()
91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local
97 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish()
99 if (src_vb && dst_vb) { in gsc_m2m_job_finish()
100 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in gsc_m2m_job_finish()
101 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish()
102 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish()
103 dst_vb->flags |= in gsc_m2m_job_finish()
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-m2m.c41 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local
47 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish()
51 if (dst_vb) in fimc_m2m_job_finish()
52 v4l2_m2m_buf_done(dst_vb, vb_state); in fimc_m2m_job_finish()
53 if (src_vb && dst_vb) in fimc_m2m_job_finish()
91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local
119 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in fimc_device_run()
120 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->addr); in fimc_device_run()
124 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run()
125 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run()
[all …]
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c186 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_job_finish() local
194 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in bdisp_job_finish()
196 if (src_vb && dst_vb) { in bdisp_job_finish()
197 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in bdisp_job_finish()
198 dst_vb->timecode = src_vb->timecode; in bdisp_job_finish()
199 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in bdisp_job_finish()
200 dst_vb->flags |= src_vb->flags & in bdisp_job_finish()
204 v4l2_m2m_buf_done(dst_vb, vb_state); in bdisp_job_finish()
287 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local
298 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs()
[all …]
/linux/drivers/media/platform/nxp/
H A Dmx2_emmaprp.c337 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local
359 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq()
361 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq()
362 dst_vb->flags &= in emmaprp_irq()
364 dst_vb->flags |= in emmaprp_irq()
367 dst_vb->timecode = src_vb->timecode; in emmaprp_irq()
371 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
H A Dimx-pxp.c1040 struct vb2_v4l2_buffer *src_vb, *dst_vb; in pxp_job_finish() local
1051 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish()
1055 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in pxp_job_finish()
/linux/drivers/media/platform/
H A Dm2m-deinterlace.c186 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local
191 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback()
193 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback()
194 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
195 dst_vb->flags |= in dma_callback()
197 dst_vb->timecode = src_vb->timecode; in dma_callback()
200 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
/linux/drivers/media/platform/ti/vpe/
H A Dvpe.c409 struct vb2_v4l2_buffer *dst_vb; member
1024 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd()
1240 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run()
1241 WARN_ON(ctx->dst_vb == NULL); in device_run()
1441 d_vb = ctx->dst_vb; in vpe_irq()
1502 ctx->dst_vb = NULL; in vpe_irq()
2164 if (ctx->dst_vb) { in vpe_return_all_buffers()
2167 v4l2_m2m_buf_done(ctx->dst_vb, state); in vpe_return_all_buffers()
2168 ctx->dst_vb = NULL; in vpe_return_all_buffers()
/linux/drivers/media/platform/mediatek/mdp3/
H A Dmtk-mdp3-m2m.c65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in mdp_m2m_device_run() local
87 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mdp_m2m_device_run()
88 mdp_set_dst_config(&param.outputs[0], frame, &dst_vb->vb2_buf); in mdp_m2m_device_run()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1032 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
1066 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1068 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
1069 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c257 struct vb2_v4l2_buffer *dst_vb) in device_process() argument
300 p_dst = vb2_plane_vaddr(&dst_vb->vb2_buf, 0); in device_process()
316 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, comp_sz_or_errcode); in device_process()
331 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage); in device_process()
333 dst_vb->flags |= V4L2_BUF_FLAG_KEYFRAME; in device_process()
335 dst_vb->flags |= V4L2_BUF_FLAG_PFRAME; in device_process()
/linux/drivers/media/test-drivers/
H A Dvim2m.c624 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local
631 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work()
636 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_work()
/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c2694 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2706 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2738 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq()
2742 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2745 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
/linux/drivers/media/platform/nxp/dw100/
H A Ddw100.c1061 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dw100_job_finish() local
1073 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dw100_job_finish()
1081 v4l2_m2m_buf_done(dst_vb, buf_state); in dw100_job_finish()
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-common.c1181 struct vb2_buffer *dst_vb; in coda_mark_last_dst_buf() local
1194 dst_vb = list_last_entry(&dst_vq->done_list, struct vb2_buffer, in coda_mark_last_dst_buf()
1196 buf = to_vb2_v4l2_buffer(dst_vb); in coda_mark_last_dst_buf()