libcamera: Support draft controls and properties
Extend the control and property framework to support exposing draft controls and properties in a scoped namespace. The controls/properties themselves will retain the same ordering in the relevant enum/id maps - but the access to any draft control will require explicitly referencing through its' draft:: namespace prefix. Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> [Added missing hunk in control_ids.cpp.in and changed subject] Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
committed by
Jacopo Mondi
parent
581bb27495
commit
89916a486c
@@ -23,12 +23,27 @@ namespace properties {
|
||||
|
||||
${controls_doc}
|
||||
|
||||
/**
|
||||
* \brief Namespace for libcamera draft properties
|
||||
*/
|
||||
namespace draft {
|
||||
|
||||
${draft_controls_doc}
|
||||
|
||||
} /* namespace draft */
|
||||
|
||||
#ifndef __DOXYGEN__
|
||||
/*
|
||||
* Keep the properties definitions hidden from doxygen as it incorrectly parses
|
||||
* them as functions.
|
||||
*/
|
||||
${controls_def}
|
||||
|
||||
namespace draft {
|
||||
|
||||
${draft_controls_def}
|
||||
|
||||
} /* namespace draft */
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user