[libcamera-devel] [PATCH 03/11] Adds rkisp1 metadata required for the Android HAL to use it.
nicholas at rothemail.net
nicholas at rothemail.net
Mon Oct 24 07:55:35 CEST 2022
From: Nicholas Roth <nicholas at rothemail.net>
---
src/ipa/rkisp1/rkisp1.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index ba3c547e..c536852c 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -100,6 +100,13 @@ const ControlInfoMap::Map rkisp1Controls{
{ &controls::Contrast, ControlInfo(0.0f, 1.993f) },
{ &controls::Saturation, ControlInfo(0.0f, 1.993f) },
{ &controls::Sharpness, ControlInfo(0.0f, 10.0f, 1.0f) },
+ /* libcamera requires a fixed value for minimum frame duration,
+ * but this depends on the frame size and the rkisp1 device datasheets
+ * measure this in pixels per second. Neither the datasheets nor the driver
+ * specify a maximum. The minimum below is for 1920x1920. The maximum
+ * corresponds to two seconds. */
+ { &controls::FrameDurationLimits, ControlInfo(48505, 2000000) },
+ { &controls::draft::MaxLatency, ControlInfo(0) },
{ &controls::draft::NoiseReductionMode, ControlInfo(controls::draft::NoiseReductionModeValues) },
};
--
2.34.1
More information about the libcamera-devel
mailing list