v4l2capability
The v4l2capability structure is a key component within the Video for Linux Two (V4L2) subsystem in the Linux kernel. It is used to query and report the capabilities of a V4L2 device. This structure is fundamental for applications to understand what functionalities a particular video device offers and how to interact with it.
When an application wants to know what a V4L2 device can do, it typically performs an ioctl
The v4l2capability structure contains several important fields. The driver field identifies the name of the V4L2
Crucially, the v4l2capability structure includes flags that indicate the device's capabilities. These flags, defined by constants