[v1,34/35] ipa: rkisp1: Increase regulation speed
diff mbox series

Message ID 20251024085130.995967-35-stefan.klug@ideasonboard.com
State New
Headers show
Series
  • rkisp1: pipeline rework for PFC
Related show

Commit Message

Stefan Klug Oct. 24, 2025, 8:50 a.m. UTC
Now that the rkisp1 is well synchronized, we can safely increase the
regulation speed and reduce the number of startup frames.  With current
settings, the results based on the stats for frame 0 are active on frame
5. Setting the startup frames to 7 leaves room for one additional lost
frame.

Signed-off-by: Stefan Klug <stefan.klug@ideasonboard.com>
---
 src/ipa/rkisp1/algorithms/agc.cpp | 3 +++
 1 file changed, 3 insertions(+)

Patch
diff mbox series

diff --git a/src/ipa/rkisp1/algorithms/agc.cpp b/src/ipa/rkisp1/algorithms/agc.cpp
index 71ad3a01d90c..e8f2324797d4 100644
--- a/src/ipa/rkisp1/algorithms/agc.cpp
+++ b/src/ipa/rkisp1/algorithms/agc.cpp
@@ -122,6 +122,9 @@  uint8_t Agc::computeHistogramPredivider(const Size &size,
 Agc::Agc()
 {
 	supportsRaw_ = true;
+	/* rkisp1 is well synchronized, increase the speed. */
+	regulationSpeed_ = 0.6;
+	numStartupFrames_ = 7;
 }
 
 /**