Lines Matching refs:src_vq
705 int visl_queue_init(void *priv, struct vb2_queue *src_vq, in visl_queue_init() argument
711 src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in visl_queue_init()
712 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in visl_queue_init()
713 src_vq->drv_priv = ctx; in visl_queue_init()
714 src_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); in visl_queue_init()
715 src_vq->ops = &visl_qops; in visl_queue_init()
716 src_vq->mem_ops = &vb2_vmalloc_memops; in visl_queue_init()
717 src_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; in visl_queue_init()
718 src_vq->lock = &ctx->vb_mutex; in visl_queue_init()
719 src_vq->supports_requests = true; in visl_queue_init()
720 src_vq->subsystem_flags |= VB2_V4L2_FL_SUPPORTS_M2M_HOLD_CAPTURE_BUF; in visl_queue_init()
722 ret = vb2_queue_init(src_vq); in visl_queue_init()