|
libcamera
v0.0.0
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... | |
| 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... | |
| 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 |