| Webcam Library Reference Documentation | ![]() |
A value of a control. More...
#include <common/include/webcam.h>
Data Fields | |
| CControlType | type |
| The type of the control to which the value belongs. More... | |
| union { | |
| int value | |
| The value of the control for number based controls. More... | |
| CControlRawValue raw | |
| The value of the control for raw cntrols. More... | |
| }; | |
A value of a control.
| CControlRawValue _CControlValue::raw |
The value of the control for raw cntrols.
This member is valid only for control type CC_TYPE_RAW.
Referenced by create_v4l2_control(), read_v4l2_control(), and write_v4l2_control().
| CControlType _CControlValue::type |
The type of the control to which the value belongs.
This member is used to determine which of the members of the union are valid. The type is a duplicate of the corresponding CControl::type value.
Referenced by read_v4l2_control().
| int _CControlValue::value |
The value of the control for number based controls.
This member is valid for the following control types: CC_TYPE_BOOLEAN, CC_TYPE_CHOICE, CC_TYPE_BYTE, CC_TYPE_WORD, CC_TYPE_DWORD
Referenced by create_v4l2_control(), read_v4l2_control(), and write_v4l2_control().