Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/media/
Dv4l2-mem2mem.h115 struct v4l2_m2m_queue_ctx out_q_ctx; member
553 m2m_ctx->out_q_ctx.buffered = buffered; in v4l2_m2m_set_src_buffered()
591 return m2m_ctx->out_q_ctx.num_rdy; in v4l2_m2m_num_src_bufs_ready()
622 return v4l2_m2m_next_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_next_src_buf()
653 return v4l2_m2m_last_buf(&m2m_ctx->out_q_ctx); in v4l2_m2m_last_src_buf()
685 list_for_each_entry(b, &m2m_ctx->out_q_ctx.rdy_queue, list)
707 list_for_each_entry_safe(b, n, &m2m_ctx->out_q_ctx.rdy_queue, list)
717 return &m2m_ctx->out_q_ctx.q; in v4l2_m2m_get_src_vq()
748 return v4l2_m2m_buf_remove(&m2m_ctx->out_q_ctx); in v4l2_m2m_src_buf_remove()
783 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->out_q_ctx, vbuf); in v4l2_m2m_src_buf_remove_by_buf()
[all …]
/kernel/linux/linux-5.10/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()
350 if (src && dst && (m2m_ctx->out_q_ctx.q.subsystem_flags & in __v4l2_m2m_try_queue()
494 WARN_ON(m2m_ctx->out_q_ctx.q.subsystem_flags & in v4l2_m2m_job_finish()
1189 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
1200 out_q_ctx = &m2m_ctx->out_q_ctx; in v4l2_m2m_ctx_init()
1203 INIT_LIST_HEAD(&out_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
1205 spin_lock_init(&out_q_ctx->rdy_spinlock); in v4l2_m2m_ctx_init()
1210 ret = queue_init(drv_priv, &out_q_ctx->q, &cap_q_ctx->q); in v4l2_m2m_ctx_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_v4l2.c388 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = false; in hantro_update_requires_request()
393 ctx->fh.m2m_ctx->out_q_ctx.q.requires_requests = true; in hantro_update_requires_request()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c808 if (!vb2_start_streaming_called(&ctx->m2m_ctx->out_q_ctx.q)) in vb2ops_venc_start_streaming()
876 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q)) || in vb2ops_venc_stop_streaming()
881 vb2_is_streaming(&ctx->m2m_ctx->out_q_ctx.q), in vb2ops_venc_stop_streaming()
Dmtk_vcodec_dec.c853 vb2_is_busy(&ctx->m2m_ctx->out_q_ctx.q)) { in vidioc_vdec_s_fmt()
/kernel/linux/linux-5.10/drivers/media/platform/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()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec_helpers.c478 vb2_queue_error(&sess->m2m_ctx->out_q_ctx.q); in amvdec_abort()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c1228 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_encoder_cmd()
1257 !vb2_is_streaming(&ctx->fh.m2m_ctx->out_q_ctx.q)) in vicodec_decoder_cmd()