From patchwork Wed Jul 7 09:48:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12851 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 176E3C3224 for ; Wed, 7 Jul 2021 09:48:33 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BE72D68516; Wed, 7 Jul 2021 11:48:32 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=raspberrypi.com header.i=@raspberrypi.com header.b="AlKcPrrs"; dkim-atps=neutral Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E7F6E68525 for ; Wed, 7 Jul 2021 11:48:22 +0200 (CEST) Received: by mail-wr1-x430.google.com with SMTP id i94so2327745wri.4 for ; Wed, 07 Jul 2021 02:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raspberrypi.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=SfuMa5x7O4APwHSjQfdP/GutwR5rv+4mkTECTMGoD48=; b=AlKcPrrsp0e7/MAbXR+KUt2Uoumk+7BCoDf0hy8mrWVuMmUkM3VhG3DwOYETtfeWYE ssm3xfZ+XYwISF9Tz8JrJao9pcjtiHESOp2BLY6XIJTrI3YItgbkmrAE+oc5DFpJDc5r 9mGPodtidtDA1hgbrqyotPWUa7o1vi6d2ApOGRpbftuR8uSZXT9PxF3AbJYwzo+eEMFS 3JvOLRDITdIi5fUxtu1YiWyYPxCcwJI0TYjx1WivnuqNmckQh2xY7w2KXstqpFb/WJbm UtddVs2tVgdUrP9As8OFNVirNohuAJqsTW1EYJzFu+12iJGS5YB94EF1UMBr7MX57VNr s40w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=SfuMa5x7O4APwHSjQfdP/GutwR5rv+4mkTECTMGoD48=; b=q0RAfZZ1FSnFfkBx3Rqr9ePAB56Jnsvs/+MLn156yDPuLYIfzNETRv2uoZz/862kxS V4J+KkqeNMfEwHcrKVe0ztDE15fYdECaXduo7SO43MLwvwKJFGo7wU+WMc9rg5KKSBh/ FJD7fYpzeIjyuaRKRsAzzlpFq7y5DXExLyJ8oJBoABR+haeSWE1yCeYxbMu3UIFjdLUx Nw2XGbNbhvbxESQ/9A2pMbhFPhp4jvWwxWi38HO/jgrSfmlOGHQXZj8Zsi6DWW7Ff+YJ fYis1HlaAlSy6Y/Rk3ALkjFtEHXepsU8f/fTCMsIKHF/Kiy09xahFm0zQtL+NTeWKMUP czhQ== X-Gm-Message-State: AOAM533RvHWODCeqRyb1RpandMECjKzdp6TA0PABSiG/beoIuH1s7Y1q yK/EPCnz8xUqiIUS9NZkMgUDUr50ogRWCw== X-Google-Smtp-Source: ABdhPJzO4adTzTsjYgn0s3ZWfClGQ2YlyBXbv9tai5qdcm6+uiPJ78iJD2l7JiFGDNvgcKFAdWoCZg== X-Received: by 2002:adf:ec07:: with SMTP id x7mr465657wrn.262.1625651302487; Wed, 07 Jul 2021 02:48:22 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:f800:302e:bf7e:a06b]) by smtp.gmail.com with ESMTPSA id r16sm23377836wrx.63.2021.07.07.02.48.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 02:48:22 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Wed, 7 Jul 2021 10:48:14 +0100 Message-Id: <20210707094815.1500917-8-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210707094815.1500917-1-naush@raspberrypi.com> References: <20210707094815.1500917-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 7/8] ipa: raspberrypi: Increase the default max frame duration to 250s X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" With the recent change to allow long exposures on the imx477, the existing 100s limit was not adequate. Signed-off-by: Naushir Patuck Reviewed-by: David Plowman Reviewed-by: Laurent Pinchart --- 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 db103a885b7a..8fb98a49da63 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -62,7 +62,7 @@ using utils::Duration; constexpr double DefaultAnalogueGain = 1.0; constexpr Duration DefaultExposureTime = 20.0ms; constexpr Duration defaultMinFrameDuration = 1.0s / 30.0; -constexpr Duration defaultMaxFrameDuration = 100.0s; +constexpr Duration defaultMaxFrameDuration = 250.0s; /* * Determine the minimum allowable inter-frame duration to run the controller