[libcamera-devel] [PATCH v5 1/3] libcamera: controls: Add frame duration control
Naushir Patuck
naush at raspberrypi.com
Thu Dec 10 14:34:24 CET 2020
Add a float array control (controls::FrameDurations) to specify the
minimum and maximum (in that order) frame duration to be used by the
camera sensor.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
Reviewed-by: David Plowman <david.plowman at raspberrypi.com>
Tested-by: David Plowman <david.plowman at raspberrypi.com>
---
src/libcamera/control_ids.yaml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml
index 6d6f0fee..7f1f8624 100644
--- a/src/libcamera/control_ids.yaml
+++ b/src/libcamera/control_ids.yaml
@@ -554,4 +554,19 @@ controls:
detection, additional format conversions etc) count as an additional
pipeline stage.
+ - FrameDurations:
+ type: float
+ description: |
+ Specifies the minimum and maximum (in that order) allowable frame
+ duration, in micro-seconds, for the sensor to use. This could also limit
+ the largest exposure times the sensor can use. For example, if a maximum
+ frame duration of 33ms is requested (corresponding to 30 frames per
+ second), the sensor will not be able raise the exposure time above 33ms.
+ A fixed frame duration is achieved by setting the minimum and maximum
+ values to be the same. Note that the sensor may not always be able to
+ provide the requested frame duration limits depending on its mode
+ configuration.
+
+ \sa ExposureTime
+ size: [2]
...
--
2.25.1
More information about the libcamera-devel
mailing list