Home
last modified time | relevance | path

Searched refs:out_q_ctx (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/include/media/
Dv4l2-mem2mem.h101 struct v4l2_m2m_queue_ctx out_q_ctx; member
370 m2m_ctx->out_q_ctx.buffered = buffered; in v4l2_m2m_set_src_buffered()
408 return m2m_ctx->out_q_ctx.num_rdy; in v4l2_m2m_num_src_bufs_ready()
438 return v4l2_m2m_next_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_next_src_buf()
467 return v4l2_m2m_last_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_last_src_buf()
498 list_for_each_entry(b, &m2m_ctx->out_q_ctx.rdy_queue, list)
520 list_for_each_entry_safe(b, n, &m2m_ctx->out_q_ctx.rdy_queue, list)
530 return &m2m_ctx->out_q_ctx.q; in v4l2_m2m_get_src_vq()
560 return v4l2_m2m_buf_remove(&m2m_ctx->out_q_ctx); in v4l2_m2m_src_buf_remove()
594 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->out_q_ctx, vbuf); in v4l2_m2m_src_buf_remove_by_buf()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-mem2mem.c114 return &m2m_ctx->out_q_ctx; in get_queue_ctx()
290 if (!m2m_ctx->out_q_ctx.q.streaming in __v4l2_m2m_try_queue()
311 spin_lock_irqsave(&m2m_ctx->out_q_ctx.rdy_spinlock, flags_out); in __v4l2_m2m_try_queue()
312 if (list_empty(&m2m_ctx->out_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
313 && !m2m_ctx->out_q_ctx.buffered) { in __v4l2_m2m_try_queue()
314 spin_unlock_irqrestore(&m2m_ctx->out_q_ctx.rdy_spinlock, in __v4l2_m2m_try_queue()
325 spin_unlock_irqrestore(&m2m_ctx->out_q_ctx.rdy_spinlock, in __v4l2_m2m_try_queue()
332 spin_unlock_irqrestore(&m2m_ctx->out_q_ctx.rdy_spinlock, flags_out); in __v4l2_m2m_try_queue()
882 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
893 out_q_ctx = &m2m_ctx->out_q_ctx; in v4l2_m2m_ctx_init()
[all …]
Dv4l2-ioctl.c2730 &vfh->m2m_ctx->out_q_ctx : &vfh->m2m_ctx->cap_q_ctx; in v4l2_ioctl_get_lock()
/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c844 if (!vb2_start_streaming_called(&ctx->m2m_ctx->out_q_ctx.q)) in vb2ops_venc_start_streaming()
908 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q)) || in vb2ops_venc_stop_streaming()
913 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q), in vb2ops_venc_stop_streaming()
Dmtk_vcodec_dec.c828 vb2_is_busy(&ctx->m2m_ctx->out_q_ctx.q)) { in vidioc_vdec_s_fmt()
/Linux-v4.19/drivers/media/platform/sti/hva/
Dhva-v4l2.c1010 if (!vb2_start_streaming_called(&ctx->fh.m2m_ctx->out_q_ctx.q)) in hva_start_streaming()
1089 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q))) { in hva_stop_streaming()
1092 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q), in hva_stop_streaming()