Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/media/
Dv4l2-mem2mem.h113 struct v4l2_m2m_queue_ctx cap_q_ctx; member
559 m2m_ctx->cap_q_ctx.buffered = buffered; in v4l2_m2m_set_dst_buffered()
603 return m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_num_dst_bufs_ready()
634 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_next_dst_buf()
665 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_last_dst_buf()
676 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list)
696 list_for_each_entry_safe(b, n, &m2m_ctx->cap_q_ctx.rdy_queue, list)
728 return &m2m_ctx->cap_q_ctx.q; in v4l2_m2m_get_dst_vq()
760 return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); in v4l2_m2m_dst_buf_remove()
796 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); in v4l2_m2m_dst_buf_remove_by_buf()
[all …]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
Dv4l2-mem2mem.c120 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()
305 || !m2m_ctx->cap_q_ctx.q.streaming) { in __v4l2_m2m_try_queue()
329 if (!dst && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()
344 if (!dst && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()
1189 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local
1201 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init()
1204 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()
1206 spin_lock_init(&cap_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()
1218 if (WARN_ON(out_q_ctx->q.lock != cap_q_ctx->q.lock)) { in v4l2_m2m_ctx_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_postproc.c117 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_alloc()
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc.c805 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming()
878 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()
882 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
Dmtk_vcodec_dec.c863 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vicodec/
Dvicodec-core.c724 !vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in enum_fmt()
1227 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_encoder_cmd()
1241 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_encoder_cmd()
1256 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_decoder_cmd()
1270 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_decoder_cmd()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-v4l2.c1009 if (!vb2_start_streaming_called(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in hva_start_streaming()
1089 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) || in hva_stop_streaming()
1095 vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)); in hva_stop_streaming()
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
Dvdec_helpers.c473 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
/kernel/linux/linux-5.10/drivers/staging/media/rkvdec/
Drkvdec-h264.c863 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()