Home
last modified time | relevance | path

Searched refs:src_vb (Results 1 – 13 of 13) sorted by relevance

/drivers/media/platform/samsung/exynos-gsc/
Dgsc-m2m.c65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in __gsc_m2m_cleanup_queue() local
68 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in __gsc_m2m_cleanup_queue()
69 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_ERROR); in __gsc_m2m_cleanup_queue()
91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in gsc_m2m_job_finish() local
96 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in gsc_m2m_job_finish()
99 if (src_vb && dst_vb) { in gsc_m2m_job_finish()
100 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in gsc_m2m_job_finish()
101 dst_vb->timecode = src_vb->timecode; in gsc_m2m_job_finish()
104 src_vb->flags in gsc_m2m_job_finish()
107 v4l2_m2m_buf_done(src_vb, vb_state); in gsc_m2m_job_finish()
[all …]
/drivers/media/platform/samsung/exynos4-is/
Dfimc-m2m.c41 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_m2m_job_finish() local
46 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish()
49 if (src_vb) in fimc_m2m_job_finish()
50 v4l2_m2m_buf_done(src_vb, vb_state); in fimc_m2m_job_finish()
53 if (src_vb && dst_vb) in fimc_m2m_job_finish()
91 struct vb2_v4l2_buffer *src_vb, *dst_vb; in fimc_device_run() local
114 src_vb = v4l2_m2m_next_src_buf(ctx->fh.m2m_ctx); in fimc_device_run()
115 ret = fimc_prepare_addr(ctx, &src_vb->vb2_buf, sf, &sf->addr); in fimc_device_run()
124 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in fimc_device_run()
127 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in fimc_device_run()
/drivers/media/platform/st/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->vb2_buf.timestamp = src_vb->vb2_buf.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/platform/nxp/
Dmx2_emmaprp.c332 struct vb2_v4l2_buffer *src_vb, *dst_vb; in emmaprp_irq() local
353 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in emmaprp_irq()
356 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in emmaprp_irq()
360 src_vb->flags in emmaprp_irq()
362 dst_vb->timecode = src_vb->timecode; in emmaprp_irq()
365 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in emmaprp_irq()
Dimx-pxp.c1040 struct vb2_v4l2_buffer *src_vb, *dst_vb; in pxp_job_finish() local
1050 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in pxp_job_finish()
1054 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in pxp_job_finish()
/drivers/media/platform/
Dm2m-deinterlace.c181 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dma_callback() local
185 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dma_callback()
188 dst_vb->vb2_buf.timestamp = src_vb->vb2_buf.timestamp; in dma_callback()
191 src_vb->flags & V4L2_BUF_FLAG_TSTAMP_SRC_MASK; in dma_callback()
192 dst_vb->timecode = src_vb->timecode; in dma_callback()
194 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in dma_callback()
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c65 struct vb2_v4l2_buffer *src_vb, *dst_vb; in mdp_m2m_device_run() local
83 src_vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in mdp_m2m_device_run()
84 mdp_set_src_config(&param.inputs[0], frame, &src_vb->vb2_buf); in mdp_m2m_device_run()
/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc.c1012 struct vb2_buffer *src_vb = NULL, *dst_vb = NULL; in s5p_mfc_poll() local
1038 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1040 if (src_vb && (src_vb->state == VB2_BUF_STATE_DONE in s5p_mfc_poll()
1041 || src_vb->state == VB2_BUF_STATE_ERROR)) in s5p_mfc_poll()
/drivers/media/test-drivers/
Dvim2m.c618 struct vb2_v4l2_buffer *src_vb, *dst_vb; in device_work() local
624 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in device_work()
629 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in device_work()
/drivers/media/platform/nxp/dw100/
Ddw100.c1071 struct vb2_v4l2_buffer *src_vb, *dst_vb; in dw100_job_finish() local
1082 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in dw100_job_finish()
1090 v4l2_m2m_buf_done(src_vb, buf_state); in dw100_job_finish()
/drivers/media/test-drivers/vicodec/
Dvicodec-core.c254 struct vb2_v4l2_buffer *src_vb, in device_process() argument
263 p_src = vb2_plane_vaddr(&src_vb->vb2_buf, 0); in device_process()
268 struct media_request *src_req = src_vb->vb2_buf.req_obj.req; in device_process()
276 htonl(vb2_get_plane_payload(&src_vb->vb2_buf, 0)); in device_process()
/drivers/media/platform/renesas/
Drcar_fdp1.c1266 struct vb2_v4l2_buffer *src_vb; in fdp1_m2m_device_run() local
1275 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fdp1_m2m_device_run()
1276 buf = to_fdp1_buffer(src_vb); in fdp1_m2m_device_run()
/drivers/media/platform/samsung/s5p-jpeg/
Djpeg-core.c2699 struct vb2_v4l2_buffer *src_vb, *dst_vb; in exynos4_jpeg_irq() local
2710 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->fh.m2m_ctx); in exynos4_jpeg_irq()
2746 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_DONE); in exynos4_jpeg_irq()
2749 v4l2_m2m_buf_done(src_vb, VB2_BUF_STATE_ERROR); in exynos4_jpeg_irq()