Home
last modified time | relevance | path

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

/Linux-v4.19/include/media/
Dv4l2-mem2mem.h99 struct v4l2_m2m_queue_ctx cap_q_ctx; member
376 m2m_ctx->cap_q_ctx.buffered = buffered; in v4l2_m2m_set_dst_buffered()
420 return m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_num_dst_bufs_ready()
449 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_next_dst_buf()
478 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_last_dst_buf()
489 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list)
509 list_for_each_entry_safe(b, n, &m2m_ctx->cap_q_ctx.rdy_queue, list)
541 return &m2m_ctx->cap_q_ctx.q; in v4l2_m2m_get_dst_vq()
571 return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); in v4l2_m2m_dst_buf_remove()
607 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); in v4l2_m2m_dst_buf_remove_by_buf()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-mem2mem.c116 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()
291 || !m2m_ctx->cap_q_ctx.q.streaming) { in __v4l2_m2m_try_queue()
320 spin_lock_irqsave(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in __v4l2_m2m_try_queue()
321 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in __v4l2_m2m_try_queue()
322 && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()
323 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, in __v4l2_m2m_try_queue()
331 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in __v4l2_m2m_try_queue()
882 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
894 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init()
897 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); 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.c841 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming()
910 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()
914 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
Dmtk_vcodec_dec.c834 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
/Linux-v4.19/drivers/media/platform/sti/hva/
Dhva-v4l2.c1007 if (!vb2_start_streaming_called(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in hva_start_streaming()
1087 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) || in hva_stop_streaming()
1093 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)); in hva_stop_streaming()