Searched refs:cap_q_ctx (Results 1 – 17 of 17) sorted by relevance
94 * @cap_q_ctx: Capture (output to memory) queue context120 struct v4l2_m2m_queue_ctx cap_q_ctx; member 594 m2m_ctx->cap_q_ctx.buffered = buffered;648 spin_lock_irqsave(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags); in v4l2_m2m_next_src_buf() 649 num_buf_rdy = m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_next_src_buf() 650 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags); in v4l2_m2m_next_src_buf() 683 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx);714 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx);725 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list)745 list_for_each_entry_safe(b, n, &m2m_ctx->cap_q_ctx in v4l2_m2m_get_src_vq() [all...]
123 return &m2m_ctx->cap_q_ctx; in get_queue_ctx()302 (!m2m_ctx->cap_q_ctx.q.streaming && !m2m_ctx->ignore_cap_streaming)) { in __v4l2_m2m_try_queue()329 if (!dst && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()345 if (!dst && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()1238 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local1250 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init()1253 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()1255 spin_lock_init(&cap_q_ctx->rdy_spinlock); in v4l2_m2m_ctx_init()1259 ret = queue_init(drv_priv, &out_q_ctx->q, &cap_q_ctx->q); in v4l2_m2m_ctx_init()1267 if (WARN_ON(out_q_ctx->q.lock != cap_q_ctx->q.lock)) { in v4l2_m2m_ctx_init()[all …]
185 struct vb2_queue *queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_free()250 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_init()
759 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vidioc_encoder_cmd()
95 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
1009 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()
477 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
657 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_vp8_setup()
425 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
355 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
724 !vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in enum_fmt()1228 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_encoder_cmd()1262 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_decoder_cmd()
654 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in get_ref_buf()
1643 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_decoder_cmd()1675 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_encoder_cmd()
563 vb2_clear_last_buffer_dequeued(&inst->fh.m2m_ctx->cap_q_ctx.q); in venc_encoder_cmd()
1373 (m2m_ctx->cap_q_ctx.q.streaming || q->type == V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE)) { in wave5_vpu_enc_start_streaming()
1781 if (!m2m_ctx->cap_q_ctx.q.streaming) { in wave5_vpu_dec_job_ready()
3496 vb2_clear_last_buffer_dequeued(&channel->fh.m2m_ctx->cap_q_ctx.q); in allegro_channel_cmd_start()