Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
Dv4l2-mem2mem.c76 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()
223 || !m2m_ctx->cap_q_ctx.q.streaming) { in v4l2_m2m_try_schedule()
252 spin_lock_irqsave(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in v4l2_m2m_try_schedule()
253 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in v4l2_m2m_try_schedule()
254 && !m2m_ctx->cap_q_ctx.buffered) { in v4l2_m2m_try_schedule()
255 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, in v4l2_m2m_try_schedule()
263 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in v4l2_m2m_try_schedule()
628 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
640 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init()
643 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
[all …]
/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()
/drivers/media/platform/sti/hva/
Dhva-v4l2.c1006 if (!vb2_start_streaming_called(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in hva_start_streaming()
1086 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) || in hva_stop_streaming()
1092 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)); in hva_stop_streaming()