Searched refs:cap_q_ctx (Results 1 – 18 of 18) sorted by relevance
113 struct v4l2_m2m_queue_ctx cap_q_ctx; member564 m2m_ctx->cap_q_ctx.buffered = buffered; in v4l2_m2m_set_dst_buffered()608 return m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_num_dst_bufs_ready()639 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_next_dst_buf()670 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_last_dst_buf()681 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list)701 list_for_each_entry_safe(b, n, &m2m_ctx->cap_q_ctx.rdy_queue, list)733 return &m2m_ctx->cap_q_ctx.q; in v4l2_m2m_get_dst_vq()765 return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); in v4l2_m2m_dst_buf_remove()801 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); in v4l2_m2m_dst_buf_remove_by_buf()[all …]
120 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()345 if (!dst && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue()1220 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local1232 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init()1235 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init()1237 spin_lock_init(&cap_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()1249 if (WARN_ON(out_q_ctx->q.lock != cap_q_ctx->q.lock)) { in v4l2_m2m_ctx_init()[all …]
39 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in visl_get_ref_frames()225 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in visl_tpg_fill()
193 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_alloc()
725 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vidioc_encoder_cmd()
113 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
720 !vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in enum_fmt()1218 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_encoder_cmd()1232 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_encoder_cmd()1247 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_decoder_cmd()1261 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_decoder_cmd()
895 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming()1008 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()1012 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
476 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
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()
290 !list_empty(&ctx->fh.m2m_ctx->cap_q_ctx.rdy_queue)) { in mtk_jpegenc_hw_irq_handler()
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()
661 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in get_ref_buf()
744 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in lookup_ref_buf_idx()
387 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
1251 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_decoder_cmd()1283 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_encoder_cmd()
3430 vb2_clear_last_buffer_dequeued(&channel->fh.m2m_ctx->cap_q_ctx.q); in allegro_channel_cmd_start()
Completed in 56 milliseconds