summaryrefslogtreecommitdiff
path: root/src/libcamera/property_ids.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/property_ids.yaml')
-rw-r--r--src/libcamera/property_ids.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
new file mode 100644
index 00000000..625161d9
--- /dev/null
+++ b/src/libcamera/property_ids.yaml
@@ -0,0 +1,28 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+#
+# Copyright (C) 2019, Google Inc.
+#
+%YAML 1.2
+---
+controls:
+ - Location:
+ type: int32_t
+ description: |
+ Camera mounting location
+ enum:
+ - name: CameraLocationFront
+ value: 0
+ description: |
+ The camera is mounted on the front side of the device, facing the
+ user
+ - name: CameraLocationBack
+ value: 1
+ description: |
+ The camera is mounted on the back side of the device, facing away
+ from the user
+ - name: CameraLocationExternal
+ value: 2
+ description: |
+ The camera is attached to the device in a way that allows it to
+ be moved freely
+...