Searched refs:cap_q_ctx (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/include/media/ |
| D | v4l2-mem2mem.h | 95 struct v4l2_m2m_queue_ctx cap_q_ctx; member 372 m2m_ctx->cap_q_ctx.buffered = buffered; in v4l2_m2m_set_dst_buffered() 416 return m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_num_dst_bufs_ready() 447 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_next_dst_buf() 478 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_last_dst_buf() 489 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list) 509 list_for_each_entry_safe(b, n, &m2m_ctx->cap_q_ctx.rdy_queue, list) 541 return &m2m_ctx->cap_q_ctx.q; in v4l2_m2m_get_dst_vq() 573 return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); in v4l2_m2m_dst_buf_remove() 609 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); in v4l2_m2m_dst_buf_remove_by_buf() [all …]
|
| /Linux-v5.4/drivers/media/v4l2-core/ |
| D | v4l2-mem2mem.c | 114 return &m2m_ctx->cap_q_ctx; in get_queue_ctx() 292 || !m2m_ctx->cap_q_ctx.q.streaming) { in __v4l2_m2m_try_queue() 316 spin_lock_irqsave(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in __v4l2_m2m_try_queue() 317 if (list_empty(&m2m_ctx->cap_q_ctx.rdy_queue) in __v4l2_m2m_try_queue() 318 && !m2m_ctx->cap_q_ctx.buffered) { in __v4l2_m2m_try_queue() 322 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in __v4l2_m2m_try_queue() 338 spin_unlock_irqrestore(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags_cap); in __v4l2_m2m_try_queue() 905 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local 917 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init() 920 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init() [all …]
|
| /Linux-v5.4/drivers/staging/media/sunxi/cedrus/ |
| D | cedrus.h | 187 buf = ctx->fh.m2m_ctx->cap_q_ctx.q.bufs[index]; in cedrus_dst_buf_addr()
|
| D | cedrus_h264.c | 99 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_write_frame_list() 170 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in _cedrus_write_ref_list()
|
| /Linux-v5.4/drivers/staging/media/hantro/ |
| D | hantro_h264.c | 300 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in init_reflist_builder() 543 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in hantro_h264_get_ref_buf()
|
| D | hantro_g1_vp8_dec.c | 373 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cfg_ref()
|
| /Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
| D | mtk_vcodec_enc.c | 834 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming() 907 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming() 911 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
|
| D | mtk_vcodec_dec.c | 851 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
|
| /Linux-v5.4/drivers/media/platform/vicodec/ |
| D | vicodec-core.c | 729 !vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q)) in enum_fmt() 1267 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_encoder_cmd() 1279 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_encoder_cmd() 1295 if (!vb2_is_streaming(&ctx->fh.m2m_ctx->cap_q_ctx.q) || in vicodec_decoder_cmd() 1307 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vicodec_decoder_cmd()
|
| /Linux-v5.4/drivers/media/platform/sti/hva/ |
| D | hva-v4l2.c | 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()
|
| /Linux-v5.4/drivers/staging/media/meson/vdec/ |
| D | vdec_helpers.c | 446 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
|