| Webcam Library Reference Documentation | ![]() |
#include <Common/include/webcam.h>
Data Fields | |
| CControlType | type |
| The type of the control to which the value belongs. | |
| union { | |
| int value | |
| The value of the control for number based controls. | |
| CControlRawValue raw | |
| The value of the control for raw cntrols. | |
| }; | |
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().
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_control(), read_v4l2_control(), and write_v4l2_control().
The value of the control for raw cntrols.
This member is valid only for control type CC_TYPE_RAW.