mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
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:
parent
581bb27495
commit
89916a486c
5 changed files with 73 additions and 8 deletions
|
@ -26,6 +26,12 @@ ${controls}
|
|||
|
||||
extern const ControlIdMap controls;
|
||||
|
||||
namespace draft {
|
||||
|
||||
${draft_controls}
|
||||
|
||||
} /* namespace draft */
|
||||
|
||||
} /* namespace controls */
|
||||
|
||||
} /* namespace libcamera */
|
||||
|
|
|
@ -24,6 +24,12 @@ ${ids}
|
|||
|
||||
${controls}
|
||||
|
||||
namespace draft {
|
||||
|
||||
${draft_controls}
|
||||
|
||||
} /* namespace draft */
|
||||
|
||||
extern const ControlIdMap properties;
|
||||
|
||||
} /* namespace properties */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue