Home
last modified time | relevance | path

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

/openbmc/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()
101 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish()
103 dst_vb->flags |= in gsc_m2m_job_finish()
108 v4l2_m2m_buf_done(dst_vb, vb_state); in gsc_m2m_job_finish()
123 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_get_bufs() local
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c183 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_job_finish() local
191 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in bdisp_job_finish()
193 if (src_vb && dst_vb) { in bdisp_job_finish()
194 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in bdisp_job_finish()
195 dst_vb->timecode = src_vb->timecode; in bdisp_job_finish()
196 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in bdisp_job_finish()
197 dst_vb->flags |= src_vb->flags & in bdisp_job_finish()
201 v4l2_m2m_buf_done(dst_vb, vb_state); in bdisp_job_finish()
284 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local
295 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs()
[all …]
/openbmc/linux/drivers/media/platform/nxp/
H A Dmx2_emmaprp.c332 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local
354 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq()
356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq()
357 dst_vb->flags &= in emmaprp_irq()
359 dst_vb->flags |= in emmaprp_irq()
362 dst_vb->timecode = src_vb->timecode; in emmaprp_irq()
366 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()
/openbmc/linux/drivers/media/platform/
H A Dm2m-deinterlace.c181 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local
186 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback()
188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback()
189 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
190 dst_vb->flags |= in dma_callback()
192 dst_vb->timecode = src_vb->timecode; in dma_callback()
195 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
/openbmc/linux/drivers/media/platform/ti/vpe/
H A Dvpe.c409 struct vb2_v4l2_buffer *dst_vb; member
1020 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd()
1236 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run()
1237 WARN_ON(ctx->dst_vb == NULL); in device_run()
1437 d_vb = ctx->dst_vb; in vpe_irq()
1498 ctx->dst_vb = NULL; in vpe_irq()
2167 if (ctx->dst_vb) { in vpe_return_all_buffers()
2170 v4l2_m2m_buf_done(ctx->dst_vb, state); in vpe_return_all_buffers()
2171 ctx->dst_vb = NULL; in vpe_return_all_buffers()
/openbmc/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()
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1012 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
1046 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1048 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
1049 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dvicodec-core.c255 struct vb2_v4l2_buffer *dst_vb) in device_process() argument
298 p_dst = vb2_plane_vaddr(&dst_vb->vb2_buf, 0); in device_process()
314 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, comp_sz_or_errcode); in device_process()
329 vb2_set_plane_payload(&dst_vb->vb2_buf, 0, q_dst->sizeimage); in device_process()
331 dst_vb->flags |= V4L2_BUF_FLAG_KEYFRAME; in device_process()
333 dst_vb->flags |= V4L2_BUF_FLAG_PFRAME; in device_process()
/openbmc/linux/drivers/media/test-drivers/
H A Dvim2m.c618 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local
625 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_work()
630 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_work()
/openbmc/linux/drivers/media/platform/samsung/s5p-jpeg/
H A Djpeg-core.c2699 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2711 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2743 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq()
2747 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2750 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
/openbmc/linux/drivers/media/platform/nxp/dw100/
H A Ddw100.c1071 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dw100_job_finish() local
1083 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in dw100_job_finish()
1091 v4l2_m2m_buf_done(dst_vb, buf_state); in dw100_job_finish()
/openbmc/linux/drivers/media/platform/chips-media/
H A Dcoda-common.c1180 struct vb2_buffer *dst_vb; in coda_mark_last_dst_buf() local
1193 dst_vb = list_last_entry(&dst_vq->done_list, struct vb2_buffer, in coda_mark_last_dst_buf()
1195 buf = to_vb2_v4l2_buffer(dst_vb); in coda_mark_last_dst_buf()