Home
last modified time | relevance | path

Searched refs:m2m_ctx (Results 1 – 5 of 5) sorted by relevance

/linux-2.6.39/drivers/media/video/
Dv4l2-mem2mem.c65 static struct v4l2_m2m_queue_ctx *get_queue_ctx(struct v4l2_m2m_ctx *m2m_ctx, in get_queue_ctx() argument
69 return &m2m_ctx->out_q_ctx; in get_queue_ctx()
71 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()
77 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq() argument
82 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq()
200 static void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx) in v4l2_m2m_try_schedule() argument
205 m2m_dev = m2m_ctx->m2m_dev; in v4l2_m2m_try_schedule()
206 dprintk("Trying to schedule a job for m2m_ctx: %p\n", m2m_ctx); in v4l2_m2m_try_schedule()
208 if (!m2m_ctx->out_q_ctx.q.streaming in v4l2_m2m_try_schedule()
209 || !m2m_ctx->cap_q_ctx.q.streaming) { in v4l2_m2m_try_schedule()
[all …]
Dmem2mem_testdev.c201 struct v4l2_m2m_ctx *m2m_ctx; member
286 if (v4l2_m2m_num_src_bufs_ready(ctx->m2m_ctx) < ctx->translen in job_ready()
287 || v4l2_m2m_num_dst_bufs_ready(ctx->m2m_ctx) < ctx->translen) { in job_ready()
330 src_buf = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in device_run()
331 dst_buf = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in device_run()
354 src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); in device_isr()
355 dst_vb = v4l2_m2m_dst_buf_remove(curr_ctx->m2m_ctx); in device_isr()
368 v4l2_m2m_job_finish(m2mtest_dev->m2m_dev, curr_ctx->m2m_ctx); in device_isr()
437 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_g_fmt()
536 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in vidioc_s_fmt()
[all …]
/linux-2.6.39/include/media/
Dv4l2-mem2mem.h91 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
95 struct v4l2_m2m_ctx *m2m_ctx);
103 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
106 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
109 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
111 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
114 int v4l2_m2m_streamon(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
116 int v4l2_m2m_streamoff(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
119 unsigned int v4l2_m2m_poll(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
122 int v4l2_m2m_mmap(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
[all …]
/linux-2.6.39/drivers/media/video/s5p-fimc/
Dfimc-core.c315 if (!ctx || !ctx->m2m_ctx) in fimc_m2m_job_finish()
318 src_vb = v4l2_m2m_src_buf_remove(ctx->m2m_ctx); in fimc_m2m_job_finish()
319 dst_vb = v4l2_m2m_dst_buf_remove(ctx->m2m_ctx); in fimc_m2m_job_finish()
324 v4l2_m2m_job_finish(fimc->m2m.m2m_dev, ctx->m2m_ctx); in fimc_m2m_job_finish()
622 vb = v4l2_m2m_next_src_buf(ctx->m2m_ctx); in fimc_prepare_config()
629 vb = v4l2_m2m_next_dst_buf(ctx->m2m_ctx); in fimc_prepare_config()
755 if (ctx->m2m_ctx) in fimc_buf_queue()
756 v4l2_m2m_buf_queue(ctx->m2m_ctx, vb); in fimc_buf_queue()
976 vq = v4l2_m2m_get_vq(ctx->m2m_ctx, f->type); in fimc_m2m_s_fmt_mplane()
1027 return v4l2_m2m_reqbufs(file, ctx->m2m_ctx, reqbufs); in fimc_m2m_reqbufs()
[all …]
Dfimc-core.h466 struct v4l2_m2m_ctx *m2m_ctx; member