libcamera: controls: Add a set of initial controls

Add an initial set of controls to demonstrate how controls are defined.

Proper documentation for each control is missing.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2019-06-30 16:14:22 +03:00
parent b69ea51c7c
commit 57d9d25a0e
2 changed files with 48 additions and 0 deletions

View File

@@ -186,6 +186,48 @@ std::string ControlValue::toString() const
* \brief Numerical control ID
*/
/**
* \var AwbEnable
* ControlType: Bool
*
* Enables or disables the AWB. See also \a libcamera::ControlId::ManualGain
*/
/**
* \var Brightness
* ControlType: Integer
*
* Specify a fixed brightness parameter.
*/
/**
* \var Contrast
* ControlType: Integer
*
* Specify a fixed constrast parameter.
*/
/**
* \var Saturation
* ControlType: Integer
*
* Specify a fixed saturation parameter.
*/
/**
* \var ManualExposure
* ControlType: Integer
*
* Specify a fixed exposure time in milli-seconds
*/
/**
* \var ManualGain
* ControlType: Integer
*
* Specify a fixed gain parameter
*/
/**
* \struct ControlIdentifier
* \brief Describe a ControlId with control specific constant meta-data