Lines Matching refs:src_vq
193 static int queue_init(void *priv, struct vb2_queue *src_vq, in queue_init() argument
199 src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in queue_init()
200 src_vq->io_modes = VB2_MMAP | VB2_DMABUF; in queue_init()
201 src_vq->drv_priv = ctx; in queue_init()
202 src_vq->ops = &dma2d_qops; in queue_init()
203 src_vq->mem_ops = &vb2_dma_contig_memops; in queue_init()
204 src_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); in queue_init()
205 src_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; in queue_init()
206 src_vq->lock = &ctx->dev->mutex; in queue_init()
207 src_vq->dev = ctx->dev->v4l2_dev.dev; in queue_init()
209 ret = vb2_queue_init(src_vq); in queue_init()