Home
last modified time | relevance | path

Searched refs:src_vb (Results 1 – 9 of 9) 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
85 src_vb = v4l2_m2m_src_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()
93 src_vb->flags in gsc_m2m_job_finish()
96 v4l2_m2m_buf_done(src_vb, vb_state); in gsc_m2m_job_finish()
112 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_get_bufs() local
118 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in gsc_get_bufs()
119 ret = gsc_prepare_addr(ctx, &src_vb->vb2_buf, s_frame, &s_frame->addr); 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
50 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish()
53 if (src_vb && dst_vb) { in fimc_m2m_job_finish()
54 v4l2_m2m_buf_done(src_vb, vb_state); in fimc_m2m_job_finish()
102 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local
125 src_vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in fimc_device_run()
126 ret = fimc_prepare_addr(ctx, &src_vb->vb2_buf, sf, &sf->paddr); in fimc_device_run()
135 dst_vb->timestamp = src_vb->timestamp; in fimc_device_run()
138 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; 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
190 src_vb = v4l2_m2m_src_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()
197 dst_vb->flags |= src_vb->flags & in bdisp_job_finish()
200 v4l2_m2m_buf_done(src_vb, vb_state); in bdisp_job_finish()
284 struct vb2_v4l2_buffer *src_vb, *dst_vb; in bdisp_get_bufs() local
290 src_vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in bdisp_get_bufs()
291 ret = bdisp_get_addr(ctx, &src_vb->vb2_buf, src, src->paddr); in bdisp_get_bufs()
[all …]
/drivers/media/v4l2-core/
Dv4l2-mem2mem.c557 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in v4l2_m2m_poll() local
608 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in v4l2_m2m_poll()
610 if (src_vb && (src_vb->state == VB2_BUF_STATE_DONE in v4l2_m2m_poll()
611 || src_vb->state == VB2_BUF_STATE_ERROR)) in v4l2_m2m_poll()
/drivers/media/platform/
Dmx2_emmaprp.c354 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local
375 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); in emmaprp_irq()
378 dst_vb->timestamp = src_vb->timestamp; in emmaprp_irq()
382 src_vb->flags in emmaprp_irq()
384 dst_vb->timecode = src_vb->timecode; in emmaprp_irq()
387 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
Dm2m-deinterlace.c203 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local
207 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); in dma_callback()
210 dst_vb->timestamp = src_vb->timestamp; in dma_callback()
213 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
214 dst_vb->timecode = src_vb->timecode; in dma_callback()
216 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in dma_callback()
Dvim2m.c392 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_isr() local
402 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in device_isr()
408 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in device_isr()
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c949 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
975 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
977 if (src_vb && (src_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
978 || src_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/drivers/media/platform/s5p-jpeg/
Djpeg-core.c2649 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2658 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2694 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2697 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()