/openbmc/linux/include/media/ |
H A D | v4l2-mem2mem.h | 113 struct v4l2_m2m_queue_ctx cap_q_ctx; member 564 m2m_ctx->cap_q_ctx.buffered = buffered; in v4l2_m2m_set_dst_buffered() 618 spin_lock_irqsave(&m2m_ctx->cap_q_ctx.rdy_spinlock, flags); in v4l2_m2m_num_dst_bufs_ready() 619 num_buf_rdy = m2m_ctx->cap_q_ctx.num_rdy; in v4l2_m2m_num_dst_bufs_ready() 653 return v4l2_m2m_next_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_next_dst_buf() 684 return v4l2_m2m_last_buf(&m2m_ctx->cap_q_ctx); in v4l2_m2m_last_dst_buf() 695 list_for_each_entry(b, &m2m_ctx->cap_q_ctx.rdy_queue, list) 747 return &m2m_ctx->cap_q_ctx.q; in v4l2_m2m_get_dst_vq() 779 return v4l2_m2m_buf_remove(&m2m_ctx->cap_q_ctx); in v4l2_m2m_dst_buf_remove() 815 v4l2_m2m_buf_remove_by_buf(&m2m_ctx->cap_q_ctx, vbuf); in v4l2_m2m_dst_buf_remove_by_buf() [all …]
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mem2mem.c | 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() 1226 struct v4l2_m2m_queue_ctx *out_q_ctx, *cap_q_ctx; in v4l2_m2m_ctx_init() local 1238 cap_q_ctx = &m2m_ctx->cap_q_ctx; in v4l2_m2m_ctx_init() 1241 INIT_LIST_HEAD(&cap_q_ctx->rdy_queue); in v4l2_m2m_ctx_init() 1243 spin_lock_init(&cap_q_ctx->rdy_spinlock); in v4l2_m2m_ctx_init() 1247 ret = queue_init(drv_priv, &out_q_ctx->q, &cap_q_ctx->q); in v4l2_m2m_ctx_init() 1255 if (WARN_ON(out_q_ctx->q.lock != cap_q_ctx->q.lock)) { in v4l2_m2m_ctx_init() [all …]
|
/openbmc/linux/drivers/media/test-drivers/visl/ |
H A D | visl-dec.c | 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()
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro_postproc.c | 197 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_alloc()
|
H A D | hantro_v4l2.c | 753 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vidioc_encoder_cmd()
|
H A D | hantro_g2_vp9_dec.c | 113 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
|
/openbmc/linux/drivers/media/test-drivers/vicodec/ |
H A D | vicodec-core.c | 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()
|
/openbmc/linux/drivers/media/platform/st/sti/hva/ |
H A 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()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | mtk_vcodec_enc.c | 882 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming() 983 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming() 987 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
|
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 477 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_vp8.c | 657 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_vp8_setup()
|
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/ |
H A D | h264.c | 661 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in get_ref_buf()
|
/openbmc/linux/drivers/staging/media/rkvdec/ |
H A D | rkvdec-h264.c | 744 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in lookup_ref_buf_idx()
|
H A D | rkvdec-vp9.c | 386 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | mtk_vcodec_dec.c | 471 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
|
/openbmc/linux/drivers/media/platform/nxp/imx-jpeg/ |
H A D | mxc-jpeg.c | 1549 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_decoder_cmd() 1581 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_encoder_cmd()
|
/openbmc/linux/drivers/media/platform/qcom/venus/ |
H A D | venc.c | 563 vb2_clear_last_buffer_dequeued(&inst->fh.m2m_ctx->cap_q_ctx.q); in venc_encoder_cmd()
|
/openbmc/linux/drivers/media/platform/allegro-dvt/ |
H A D | allegro-core.c | 3429 vb2_clear_last_buffer_dequeued(&channel->fh.m2m_ctx->cap_q_ctx.q); in allegro_channel_cmd_start()
|