Home
last modified time | relevance | path

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

/linux-6.6.21/include/media/
Dv4l2-mem2mem.h115 struct v4l2_m2m_queue_ctx out_q_ctx; member
558 m2m_ctx->out_q_ctx.buffered = buffered; in v4l2_m2m_set_src_buffered()
599 spin_lock_irqsave(&m2m_ctx->out_q_ctx.rdy_spinlock, flags); in v4l2_m2m_num_src_bufs_ready()
600 num_buf_rdy = m2m_ctx->out_q_ctx.num_rdy; in v4l2_m2m_num_src_bufs_ready()
601 spin_unlock_irqrestore(&m2m_ctx->out_q_ctx.rdy_spinlock, flags); in v4l2_m2m_num_src_bufs_ready()
641 return v4l2_m2m_next_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_next_src_buf()
672 return v4l2_m2m_last_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_last_src_buf()
704 list_for_each_entry(b, &m2m_ctx->out_q_ctx.rdy_queue, list)
726 list_for_each_entry_safe(b, n, &m2m_ctx->out_q_ctx.rdy_queue, list)
736 return &m2m_ctx->out_q_ctx.q; in v4l2_m2m_get_src_vq()
[all …]
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-mem2mem.c118 return &m2m_ctx->out_q_ctx; in get_queue_ctx()
304 if (!m2m_ctx->out_q_ctx.q.streaming in __v4l2_m2m_try_queue()
325 if (!src && !m2m_ctx->out_q_ctx.buffered) { in __v4l2_m2m_try_queue()
351 if (src && dst && (m2m_ctx->out_q_ctx.q.subsystem_flags & in __v4l2_m2m_try_queue()
495 WARN_ON(m2m_ctx->out_q_ctx.q.subsystem_flags & in v4l2_m2m_job_finish()
1220 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
1231 out_q_ctx = &m2m_ctx->out_q_ctx; in v4l2_m2m_ctx_init()
1234 INIT_LIST_HEAD(&out_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
1236 spin_lock_init(&out_q_ctx->rdy_spinlock); in v4l2_m2m_ctx_init()
1241 ret = queue_init(drv_priv, &out_q_ctx->q, &cap_q_ctx->q); in v4l2_m2m_ctx_init()
[all …]
/linux-6.6.21/drivers/media/platform/verisilicon/
Dhantro_v4l2.c465 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = false; in hantro_update_requires_request()
472 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = true; in hantro_update_requires_request()
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/encoder/
Dmtk_vcodec_enc.c885 if (!vb2_start_streaming_called(&ctx->m2m_ctx->out_q_ctx.q)) in vb2ops_venc_start_streaming()
992 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q)) || in vb2ops_venc_stop_streaming()
997 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q), in vb2ops_venc_stop_streaming()
/linux-6.6.21/drivers/media/platform/st/sti/hva/
Dhva-v4l2.c1012 if (!vb2_start_streaming_called(&ctx->fh.m2m_ctx->out_q_ctx.q)) in hva_start_streaming()
1091 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q))) { in hva_stop_streaming()
1094 vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q), in hva_stop_streaming()
/linux-6.6.21/drivers/staging/media/meson/vdec/
Dvdec_helpers.c478 vb2_queue_error(&sess->m2m_ctx->out_q_ctx.q); in amvdec_abort()
/linux-6.6.21/drivers/media/test-drivers/visl/
Dvisl-dec.c224 struct vb2_queue *out_q = &ctx->fh.m2m_ctx->out_q_ctx.q; in visl_tpg_fill()
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec.c461 vb2_is_busy(&ctx->m2m_ctx->out_q_ctx.q)) { in vidioc_vdec_s_fmt()
/linux-6.6.21/drivers/media/test-drivers/vicodec/
Dvicodec-core.c1219 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_encoder_cmd()
1248 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_decoder_cmd()