This is a Linux Video library that provides access to V4L2 devices. It directly calls the V4L2 ioctls without depending on libv4l or other C code.
libv4l
The V4L2 userspace API is documented in the following places:
/usr/include/linux/videodev2.h