|
libcamera
v0.0.0+100-debian/0_git20200629+e7aa92a-8-9-g77f5237c-dirty (2021-05-05T16:20:29+01:00)
Supporting cameras in Linux since 2019
|
Convenience specialisation of ControlInfo for V4L2 controls. More...
Public Member Functions | |
| V4L2ControlInfo (const struct v4l2_query_ext_ctrl &ctrl) | |
| Construct a V4L2ControlInfo from a struct v4l2_query_ext_ctrl. More... | |
Public Member Functions inherited from libcamera::ControlInfo | |
| ControlInfo (const ControlValue &min=0, const ControlValue &max=0, const ControlValue &def=0) | |
| Construct a ControlInfo with minimum and maximum range parameters. More... | |
| ControlInfo (Span< const ControlValue > values, const ControlValue &def={}) | |
| Construct a ControlInfo from the list of valid values. More... | |
| const ControlValue & | min () const |
| Retrieve the minimum value of the control. More... | |
| const ControlValue & | max () const |
| Retrieve the maximum value of the control. More... | |
| const ControlValue & | def () const |
| Retrieve the default value of the control. More... | |
| const std::vector< ControlValue > & | values () const |
| Retrieve the list of valid values. More... | |
| std::string | toString () const |
| Provide a string representation of the ControlInfo. | |
| bool | operator== (const ControlInfo &other) const |
| Compare ControlInfo instances for equality. More... | |
| bool | operator!= (const ControlInfo &other) const |
| Compare ControlInfo instances for non equality. More... | |
Convenience specialisation of ControlInfo for V4L2 controls.
The V4L2ControlInfo class is a specialisation of the ControlInfo for V4L2 controls. It offers a convenience constructor from a struct v4l2_query_ext_ctrl, and is otherwise equivalent to the ControlInfo class.
| libcamera::V4L2ControlInfo::V4L2ControlInfo | ( | const struct v4l2_query_ext_ctrl & | ctrl | ) |
Construct a V4L2ControlInfo from a struct v4l2_query_ext_ctrl.
| [in] | ctrl | The struct v4l2_query_ext_ctrl as returned by the kernel |
1.8.13