Home
last modified time | relevance | path

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

/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()
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() local
1232 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 …]
/drivers/media/platform/verisilicon/
Dhantro_postproc.c193 struct vb2_queue *cap_queue = &m2m_ctx->cap_q_ctx.q; in hantro_postproc_alloc()
Dhantro_v4l2.c727 vb2_clear_last_buffer_dequeued(&ctx->fh.m2m_ctx->cap_q_ctx.q); in vidioc_encoder_cmd()
Dhantro_g2_vp9_dec.c113 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
/drivers/media/test-drivers/vicodec/
Dvicodec-core.c720 !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()
/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_enc.c897 if (!vb2_start_streaming_called(&ctx->m2m_ctx->cap_q_ctx.q)) in vb2ops_venc_start_streaming()
1010 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q))) { in vb2ops_venc_stop_streaming()
1014 vb2_is_streaming(&ctx->m2m_ctx->cap_q_ctx.q)); in vb2ops_venc_stop_streaming()
Dmtk_vcodec_dec.c458 vb2_is_busy(&ctx->m2m_ctx->cap_q_ctx.q)) { in vidioc_vdec_s_fmt()
/drivers/media/platform/st/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()
/drivers/staging/media/meson/vdec/
Dvdec_helpers.c477 vb2_queue_error(&sess->m2m_ctx->cap_q_ctx.q); in amvdec_abort()
/drivers/staging/media/sunxi/cedrus/
Dcedrus_vp8.c657 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in cedrus_vp8_setup()
/drivers/media/platform/nvidia/tegra-vde/
Dh264.c661 struct vb2_queue *cap_q = &ctx->fh.m2m_ctx->cap_q_ctx.q; in get_ref_buf()
/drivers/staging/media/rkvdec/
Drkvdec-h264.c744 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in lookup_ref_buf_idx()
Drkvdec-vp9.c387 struct vb2_queue *cap_q = &m2m_ctx->cap_q_ctx.q; in get_ref_buf()
/drivers/media/platform/nxp/imx-jpeg/
Dmxc-jpeg.c1122 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_decoder_cmd()
1151 vb2_clear_last_buffer_dequeued(&fh->m2m_ctx->cap_q_ctx.q); in mxc_jpeg_encoder_cmd()
/drivers/media/platform/allegro-dvt/
Dallegro-core.c3430 vb2_clear_last_buffer_dequeued(&channel->fh.m2m_ctx->cap_q_ctx.q); in allegro_channel_cmd_start()