Benjamin Gaignard c838530d23 media: media videobuf2: Be more flexible on the number of queue stored buffers
Add 'max_num_buffers' field in vb2_queue struct to let drivers decide
how many buffers could be stored in a queue.
This require 'bufs' array to be allocated at queue init time and freed
when releasing the queue.
By default VB2_MAX_FRAME remains the limit.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
2023-11-23 12:37:39 +01:00
..
2023-04-15 08:53:31 +01:00
2023-07-14 13:18:56 +02:00
2023-09-27 10:47:22 +02:00
2021-10-04 07:52:13 +02:00
2023-06-09 16:13:01 +01:00
2021-11-22 07:47:13 +00:00