diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2024-03-14 18:32:24 +0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-03-25 14:00:44 +0300 |
commit | a3293a85381ec9680aa2929547fbc76c5d87a1b2 (patch) | |
tree | 775ded5621e70cec625921830c48dc3d2c97faae /drivers/media/test-drivers | |
parent | 5fb19f20926127d082d7dbc2b5c4d7b0b215ce03 (diff) | |
download | linux-a3293a85381ec9680aa2929547fbc76c5d87a1b2.tar.xz |
media: v4l2: Add REMOVE_BUFS ioctl
VIDIOC_REMOVE_BUFS ioctl allows to remove buffers from a queue.
The number of buffers to remove in given by count field of
struct v4l2_remove_buffers and the range start at the index
specified in the same structure.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: vidioc-remove-bufs.rst: mention no bufs are freed on error]
Diffstat (limited to 'drivers/media/test-drivers')
0 files changed, 0 insertions, 0 deletions