/drivers/media/platform/exynos-gsc/ |
D | gsc-m2m.c | 80 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/ |
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() 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/ |
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->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/ |
D | mx2_emmaprp.c | 354 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()
|
D | m2m-deinterlace.c | 203 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()
|
D | vim2m.c | 392 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/ |
D | v4l2-mem2mem.c | 557 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/ |
D | s5p_mfc.c | 949 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/ |
D | vpe.c | 393 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/ |
D | jpeg-core.c | 2649 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()
|