Skip to content
Snippets Groups Projects
Commit 65128256 authored by Benjamin Gaignard's avatar Benjamin Gaignard
Browse files

media: test-drivers: vicodec: Increase max supported capture queue buffers


Allow to allocated up to 64 buffers on capture queue.

Signed-off-by: default avatarBenjamin Gaignard <benjamin.gaignard@collabora.com>
parent 1b8d3191
No related branches found
No related tags found
No related merge requests found
......@@ -1718,6 +1718,7 @@ static int queue_init(void *priv, struct vb2_queue *src_vq,
V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE :
V4L2_BUF_TYPE_VIDEO_CAPTURE);
dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF;
dst_vq->max_num_buffers = 64;
dst_vq->drv_priv = ctx;
dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer);
dst_vq->ops = &vicodec_qops;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment