[libcamera-devel] [PATCH 1/3] libcamera: properties: Add Unknown value to camera Location
Paul Elder
paul.elder at ideasonboard.com
Thu Feb 11 09:55:25 CET 2021
If a camera's location is unknown, it should be set so, and not
defaulted to another location. Add such a value to the Location property
enum.
Signed-off-by: Paul Elder <paul.elder at ideasonboard.com>
---
src/libcamera/property_ids.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
index 104e9aaf..66deaa84 100644
--- a/src/libcamera/property_ids.yaml
+++ b/src/libcamera/property_ids.yaml
@@ -25,6 +25,10 @@ controls:
description: |
The camera is attached to the device in a way that allows it to
be moved freely
+ - name: CameraLocationUnknown
+ value: 3
+ description: |
+ The camera location is unknown
- Rotation:
type: int32_t
--
2.27.0
More information about the libcamera-devel
mailing list