Lines Matching refs:src_vq
1294 static int m2m_queue_init(void *priv, struct vb2_queue *src_vq, in m2m_queue_init() argument
1300 src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; in m2m_queue_init()
1301 src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; in m2m_queue_init()
1302 src_vq->timestamp_flags = V4L2_BUF_FLAG_TIMESTAMP_COPY; in m2m_queue_init()
1303 src_vq->ops = &venc_vb2_ops; in m2m_queue_init()
1304 src_vq->mem_ops = &vb2_dma_contig_memops; in m2m_queue_init()
1305 src_vq->drv_priv = inst; in m2m_queue_init()
1306 src_vq->buf_struct_size = sizeof(struct venus_buffer); in m2m_queue_init()
1307 src_vq->allow_zero_bytesused = 1; in m2m_queue_init()
1308 src_vq->min_buffers_needed = 1; in m2m_queue_init()
1309 src_vq->dev = inst->core->dev; in m2m_queue_init()
1311 src_vq->bidirectional = 1; in m2m_queue_init()
1312 ret = vb2_queue_init(src_vq); in m2m_queue_init()