libcamera
v0.3.2+116-83c5ad0f
Supporting cameras in Linux since 2019
|
struct v4l2_subdev_capability object wrapper and helpers More...
Public Member Functions | |
bool | isReadOnly () const |
Retrieve if a subdevice is registered as read-only. More... | |
bool | hasStreams () const |
Retrieve if a subdevice supports the V4L2 streams API. More... | |
struct v4l2_subdev_capability object wrapper and helpers
The V4L2SubdeviceCapability structure manages the information returned by the VIDIOC_SUBDEV_QUERYCAP ioctl.
|
inline |
Retrieve if a subdevice supports the V4L2 streams API.
|
inline |
Retrieve if a subdevice is registered as read-only.
A V4L2 subdevice is registered as read-only if V4L2_SUBDEV_CAP_RO_SUBDEV is listed as part of its capabilities.