Home
last modified time | relevance | path

Searched refs:src_q (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/media/platform/qcom/iris/
H A Diris_vdec.c168 struct vb2_queue *src_q; in iris_vdec_try_fmt() local
189 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_try_fmt()
190 if (vb2_is_streaming(src_q)) { in iris_vdec_try_fmt()
335 struct vb2_queue *src_q; in iris_vdec_src_change() local
337 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in iris_vdec_src_change()
338 if (!vb2_is_streaming(src_q)) in iris_vdec_src_change()
H A Diris_venc.c407 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(inst->m2m_ctx); in iris_venc_s_param() local
448 if ((s_parm->type == V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE && vb2_is_streaming(src_q)) || in iris_venc_s_param()
/linux/drivers/media/v4l2-core/
H A Dv4l2-mem2mem.c913 struct vb2_queue *src_q, *dst_q; in v4l2_m2m_poll_for_data() local
917 src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll_for_data()
925 if ((!vb2_is_streaming(src_q) || src_q->error || in v4l2_m2m_poll_for_data()
926 list_empty(&src_q->queued_list)) && in v4l2_m2m_poll_for_data()
931 spin_lock_irqsave(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
932 if (!list_empty(&src_q->done_list)) in v4l2_m2m_poll_for_data()
934 spin_unlock_irqrestore(&src_q->done_lock, flags); in v4l2_m2m_poll_for_data()
952 struct vb2_queue *src_q = v4l2_m2m_get_src_vq(m2m_ctx); in v4l2_m2m_poll() local
964 poll_wait(file, &src_q->done_wq, wait); in v4l2_m2m_poll()
/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c1031 struct vb2_queue *src_q, *dst_q; in s5p_mfc_poll() local
1037 src_q = &ctx->vq_src; in s5p_mfc_poll()
1044 if ((!vb2_is_streaming(src_q) || list_empty(&src_q->queued_list)) && in s5p_mfc_poll()
1051 poll_wait(file, &src_q->done_wq, wait); in s5p_mfc_poll()
1056 spin_lock_irqsave(&src_q->done_lock, flags); in s5p_mfc_poll()
1057 if (!list_empty(&src_q->done_list)) in s5p_mfc_poll()
1058 src_vb = list_first_entry(&src_q->done_list, struct vb2_buffer, in s5p_mfc_poll()
1063 spin_unlock_irqrestore(&src_q->done_lock, flags); in s5p_mfc_poll()