libcamera: control_ids: Add comment to specify control direction
Document that controls are bi-directional by default. If a control is only returned in metadata, this must be specified in the control's description. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
committed by
Laurent Pinchart
parent
1957aa641d
commit
47d09a13b3
@@ -33,6 +33,9 @@ ${controls_def}
|
||||
|
||||
/**
|
||||
* \brief List of all supported libcamera controls
|
||||
*
|
||||
* Unless otherwise stated, all controls are bi-directional, i.e. they can be
|
||||
* set through Request::controls() and returned out through Request::metadata().
|
||||
*/
|
||||
extern const ControlIdMap controls {
|
||||
${controls_map}
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
#
|
||||
%YAML 1.2
|
||||
---
|
||||
# Unless otherwise stated, all controls are bi-directional, i.e. they can be
|
||||
# set through Request::controls() and returned out through Request::metadata().
|
||||
controls:
|
||||
- AeEnable:
|
||||
type: bool
|
||||
|
||||
Reference in New Issue
Block a user