Home
last modified time | relevance | path

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

/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c80 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local
86 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish()
88 if (src_vb && dst_vb) { in gsc_m2m_job_finish()
89 dst_vb->timestamp = src_vb->timestamp; in gsc_m2m_job_finish()
90 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish()
91 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish()
92 dst_vb->flags |= in gsc_m2m_job_finish()
97 v4l2_m2m_buf_done(dst_vb, vb_state); in gsc_m2m_job_finish()
112 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_get_bufs() local
123 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in gsc_get_bufs()
[all …]
/drivers/media/platform/exynos4-is/
Dfimc-m2m.c45 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local
51 dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish()
53 if (src_vb && dst_vb) { in fimc_m2m_job_finish()
55 v4l2_m2m_buf_done(dst_vb, vb_state); in fimc_m2m_job_finish()
102 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local
130 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in fimc_device_run()
131 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->paddr); in fimc_device_run()
135 dst_vb->timestamp = src_vb->timestamp; in fimc_device_run()
136 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run()
137 dst_vb->flags |= in fimc_device_run()
/drivers/media/platform/sti/bdisp/
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->timestamp = src_vb->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 …]
/drivers/media/platform/
Dmx2_emmaprp.c354 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local
376 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in emmaprp_irq()
378 dst_vb->timestamp = src_vb->timestamp; in emmaprp_irq()
379 dst_vb->flags &= in emmaprp_irq()
381 dst_vb->flags |= in emmaprp_irq()
384 dst_vb->timecode = src_vb->timecode; in emmaprp_irq()
388 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
Dm2m-deinterlace.c203 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local
208 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in dma_callback()
210 dst_vb->timestamp = src_vb->timestamp; in dma_callback()
211 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
212 dst_vb->flags |= in dma_callback()
214 dst_vb->timecode = src_vb->timecode; in dma_callback()
217 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
Dvim2m.c392 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_isr() local
403 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_isr()
409 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_isr()
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c557 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in v4l2_m2m_poll() local
617 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
619 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in v4l2_m2m_poll()
620 || dst_vb->state == VB2_BUF_STATE_ERROR)) in v4l2_m2m_poll()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c949 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
983 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
985 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
986 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/drivers/media/platform/ti-vpe/
Dvpe.c393 struct vb2_v4l2_buffer *dst_vb; member
996 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd()
1117 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run()
1118 WARN_ON(ctx->dst_vb == NULL); in device_run()
1293 d_vb = ctx->dst_vb; in vpe_irq()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c2649 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2659 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2691 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq()
2695 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2698 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()