summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-02-07 15:12:14 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-02-10 09:45:34 +0200
commit1966b9a58436fab51f8270aad6a228b935e4fac4 (patch)
treebeaf5d487972b3416600be75a417067fc037f271 /src/ipa
parent7751860dcb28ef203a3eb574718a6c260cca7c93 (diff)
ipa: raspberrypi: Reduce the controller rate to 30fps
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@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index a72d516f..fd8fecb0 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)