Home
last modified time | relevance | path

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

/linux-4.19.296/include/media/
Dv4l2-mem2mem.h136 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx,
160 void v4l2_m2m_try_schedule(struct v4l2_m2m_ctx *m2m_ctx);
178 struct v4l2_m2m_ctx *m2m_ctx);
193 int v4l2_m2m_reqbufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
205 int v4l2_m2m_querybuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
216 int v4l2_m2m_qbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
227 int v4l2_m2m_dqbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
238 int v4l2_m2m_prepare_buf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
249 int v4l2_m2m_create_bufs(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
260 int v4l2_m2m_expbuf(struct file *file, struct v4l2_m2m_ctx *m2m_ctx,
[all …]
Dv4l2-fh.h65 struct v4l2_m2m_ctx *m2m_ctx; member
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-mem2mem.c110 static struct v4l2_m2m_queue_ctx *get_queue_ctx(struct v4l2_m2m_ctx *m2m_ctx, in get_queue_ctx() argument
114 return &m2m_ctx->out_q_ctx; in get_queue_ctx()
116 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()
119 struct vb2_queue *v4l2_m2m_get_vq(struct v4l2_m2m_ctx *m2m_ctx, in v4l2_m2m_get_vq() argument
124 q_ctx = get_queue_ctx(m2m_ctx, type); in v4l2_m2m_get_vq()
284 struct v4l2_m2m_ctx *m2m_ctx) in __v4l2_m2m_try_queue() argument
288 dprintk("Trying to schedule a job for m2m_ctx: %p\n", m2m_ctx); in __v4l2_m2m_try_queue()
290 if (!m2m_ctx->out_q_ctx.q.streaming in __v4l2_m2m_try_queue()
291 || !m2m_ctx->cap_q_ctx.q.streaming) { in __v4l2_m2m_try_queue()
299 if (m2m_ctx->job_flags & TRANS_ABORT) { in __v4l2_m2m_try_queue()
[all …]
Dv4l2-ioctl.c2731 if (vfh && vfh->m2m_ctx && in v4l2_ioctl_get_lock()
2735 &vfh->m2m_ctx->out_q_ctx : &vfh->m2m_ctx->cap_q_ctx; in v4l2_ioctl_get_lock()