[libcamera-devel] [PATCH v2 1/9] libcamera: properties: SensorPhysicalSize draft property

Jacopo Mondi jacopo at jmondi.org
Fri Dec 18 17:47:46 CET 2020


Define the 'SensorPhysicalSize' draft property. The property is
currently identical to ANDROID_SENSOR_INFO_PHYSICAL_SIZE.

Signed-off-by: Jacopo Mondi <jacopo at jmondi.org>
---
 src/libcamera/property_ids.yaml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/libcamera/property_ids.yaml b/src/libcamera/property_ids.yaml
index 64e88f0361d6..f8e32c1bd8cf 100644
--- a/src/libcamera/property_ids.yaml
+++ b/src/libcamera/property_ids.yaml
@@ -678,4 +678,15 @@ controls:
         \todo Turn this property into a "maximum control value" for the
         ScalerCrop control once "dynamic" controls have been implemented.
 
+  # ----------------------------------------------------------------------------
+  # Draft properties section
+
+  - SensorPhysicalSize:
+      type: float
+      size: [2]
+      draft: true
+      description: |
+        The physical dimensions of the full pixel array in millimeters.
+        Currently identical to ANDROID_SENSOR_INFO_PHYSICAL_SIZE.
+
 ...
-- 
2.29.2



More information about the libcamera-devel mailing list