/Linux-v4.19/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 71 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local 79 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue() 80 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in __gsc_m2m_cleanup_queue() 97 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local 103 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish() 105 if (src_vb && dst_vb) { in gsc_m2m_job_finish() 106 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in gsc_m2m_job_finish() 107 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish() 108 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in gsc_m2m_job_finish() 109 dst_vb->flags |= in gsc_m2m_job_finish() [all …]
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-m2m.c | 45 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() 55 if (dst_vb) in fimc_m2m_job_finish() 56 v4l2_m2m_buf_done(dst_vb, vb_state); in fimc_m2m_job_finish() 57 if (src_vb && dst_vb) in fimc_m2m_job_finish() 98 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local 126 dst_vb = v4l2_m2m_next_dst_buf(ctx->fh.m2m_ctx); in fimc_device_run() 127 ret = fimc_prepare_addr(ctx, &dst_vb->vb2_buf, df, &df->paddr); in fimc_device_run() 131 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run() 132 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run() [all …]
|
/Linux-v4.19/drivers/media/platform/sti/bdisp/ |
D | bdisp-v4l2.c | 183 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 …]
|
/Linux-v4.19/drivers/media/platform/ |
D | mx2_emmaprp.c | 339 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local 361 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in emmaprp_irq() 363 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq() 364 dst_vb->flags &= in emmaprp_irq() 366 dst_vb->flags |= in emmaprp_irq() 369 dst_vb->timecode = src_vb->timecode; in emmaprp_irq() 373 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
|
D | m2m-deinterlace.c | 188 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local 193 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in dma_callback() 195 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback() 196 dst_vb->flags &= ~V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback() 197 dst_vb->flags |= in dma_callback() 199 dst_vb->timecode = src_vb->timecode; in dma_callback() 202 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in dma_callback()
|
D | vim2m.c | 398 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_isr() local 409 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in device_isr() 415 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in device_isr()
|
/Linux-v4.19/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_m2m.c | 476 struct vb2_buffer *src_vb, *dst_vb; in mtk_mdp_m2m_get_bufs() local 485 dst_vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in mtk_mdp_m2m_get_bufs() 486 mtk_mdp_prepare_addr(ctx, dst_vb, d_frame, &d_frame->addr); in mtk_mdp_m2m_get_bufs() 489 dst_vbuf = to_vb2_v4l2_buffer(dst_vb); in mtk_mdp_m2m_get_bufs() 497 struct vb2_buffer *src_vb, *dst_vb; in mtk_mdp_process_done() local 506 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in mtk_mdp_process_done() 507 dst_vbuf = to_vb2_v4l2_buffer(dst_vb); in mtk_mdp_process_done()
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-mem2mem.c | 594 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in v4l2_m2m_poll() local 654 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in v4l2_m2m_poll() 656 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in v4l2_m2m_poll() 657 || dst_vb->state == VB2_BUF_STATE_ERROR)) in v4l2_m2m_poll()
|
/Linux-v4.19/drivers/media/platform/ti-vpe/ |
D | vpe.c | 410 struct vb2_v4l2_buffer *dst_vb; member 1023 struct vb2_buffer *vb = &ctx->dst_vb->vb2_buf; in add_out_dtd() 1208 ctx->dst_vb = v4l2_m2m_dst_buf_remove(ctx->fh.m2m_ctx); in device_run() 1209 WARN_ON(ctx->dst_vb == NULL); in device_run() 1412 d_vb = ctx->dst_vb; in vpe_irq() 1472 ctx->dst_vb = NULL; in vpe_irq() 2138 if (ctx->dst_vb) { in vpe_return_all_buffers() 2141 v4l2_m2m_buf_done(ctx->dst_vb, state); in vpe_return_all_buffers() 2142 ctx->dst_vb = NULL; in vpe_return_all_buffers()
|
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 1000 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local 1034 dst_vb = list_first_entry(&dst_q->done_list, struct vb2_buffer, in s5p_mfc_poll() 1036 if (dst_vb && (dst_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll() 1037 || dst_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
|
/Linux-v4.19/drivers/media/platform/s5p-jpeg/ |
D | jpeg-core.c | 2746 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local 2758 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq() 2790 vb2_set_plane_payload(&dst_vb->vb2_buf, in exynos4_jpeg_irq() 2794 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq() 2797 v4l2_m2m_buf_done(dst_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()
|