VIDIOCSBUF
VIDIOCSBUF is an ioctl command from the legacy Video for Linux (V4L1) API used to configure the video buffer pool of a capture or playback device. It is defined in the linux/videodev.h header and works by passing a pointer to a struct (commonly referred to as a video_buffer) to the device driver. The driver then uses the information to allocate and manage a set of buffers that hold video frames during streaming.
The details of the struct passed to VIDIOCSBUF are implementation dependent, but the command generally conveys
Compatibility and modernization: VIDIOCSBUF belongs to the older V4L1 API, which has largely been superseded by
See also: Video for Linux, V4L1 ioctls, V4L2 ioctls, VIDIOC_REQBUFS, VIDIOC_QBUF, VIDIOC_DQBUF.