Home
last modified time | relevance | path

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

/drivers/media/platform/exynos-gsc/
Dgsc-m2m.c80 struct vb2_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->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; in gsc_m2m_job_finish()
90 dst_vb->v4l2_buf.timecode = src_vb->v4l2_buf.timecode; in gsc_m2m_job_finish()
91 dst_vb->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish()
92 dst_vb->v4l2_buf.flags |= in gsc_m2m_job_finish()
97 v4l2_m2m_buf_done(dst_vb, vb_state); in gsc_m2m_job_finish()
112 struct vb2_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_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_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, df, &df->paddr); in fimc_device_run()
135 dst_vb->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; in fimc_device_run()
136 dst_vb->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run()
137 dst_vb->v4l2_buf.flags |= in fimc_device_run()
/drivers/media/platform/
Dmx2_emmaprp.c354 struct vb2_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->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; in emmaprp_irq()
379 dst_vb->v4l2_buf.flags &= in emmaprp_irq()
381 dst_vb->v4l2_buf.flags |= in emmaprp_irq()
384 dst_vb->v4l2_buf.timecode = src_vb->v4l2_buf.timecode; in emmaprp_irq()
388 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
Dm2m-deinterlace.c203 struct vb2_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->v4l2_buf.timestamp = src_vb->v4l2_buf.timestamp; in dma_callback()
211 dst_vb->v4l2_buf.flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
212 dst_vb->v4l2_buf.flags |= in dma_callback()
214 dst_vb->v4l2_buf.timecode = src_vb->v4l2_buf.timecode; in dma_callback()
217 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
Dmem2mem_testdev.c396 struct vb2_buffer *src_vb, *dst_vb; in device_isr() local
407 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_isr()
413 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_isr()
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c531 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in v4l2_m2m_poll() local
590 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
592 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in v4l2_m2m_poll()
593 || dst_vb->state == VB2_BUF_STATE_ERROR)) in v4l2_m2m_poll()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c928 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
962 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
964 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
965 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/drivers/media/platform/ti-vpe/
Dvpe.c388 struct vb2_buffer *dst_vb; member
991 struct vb2_buffer *vb = ctx->dst_vb; in add_out_dtd()
1111 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in device_run()
1112 WARN_ON(ctx->dst_vb == NULL); in device_run()
1288 d_vb = ctx->dst_vb; in vpe_irq()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c2314 struct vb2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2324 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2356 vb2_set_plane_payload(dst_vb, 0, payload_size); in exynos4_jpeg_irq()
2359 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2362 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()