[libcamera-devel] [PATCH 3/3] ipa: raspberrypi: Reduce the controller rate to 30fps
Naushir Patuck
naush at raspberrypi.com
Mon Feb 7 16:12:14 CET 2022
With the controller algorithms running at 60fps, there are some dropped frames
when running at very high famerates. Reducing this to 30fps eliminates all these
drops without any noticeable changes to the image quality.
Signed-off-by: Naushir Patuck <naush at raspberrypi.com>
---
src/ipa/raspberrypi/raspberrypi.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index a72d516f84ee..fd8fecb07f81 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -70,7 +70,7 @@ constexpr Duration defaultMaxFrameDuration = 250.0s;
* we rate-limit the controller Prepare() and Process() calls to lower than or
* equal to this rate.
*/
-constexpr Duration controllerMinFrameDuration = 1.0s / 60.0;
+constexpr Duration controllerMinFrameDuration = 1.0s / 30.0;
LOG_DEFINE_CATEGORY(IPARPI)
--
2.25.1
More information about the libcamera-devel
mailing list