From patchwork Thu Jul 1 11:34:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12758 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 80DACC3222 for ; Thu, 1 Jul 2021 11:34:52 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 29679684FE; Thu, 1 Jul 2021 13:34:52 +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="gf0e0Dpp"; dkim-atps=neutral Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4F6C76028A for ; Thu, 1 Jul 2021 13:34:49 +0200 (CEST) Received: by mail-wm1-x32a.google.com with SMTP id q18-20020a1ce9120000b02901f259f3a250so3838662wmc.2 for ; Thu, 01 Jul 2021 04:34:49 -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=EGeEY9yU9c9i+ew+Npb69APi1pbg1XO+XqTYcH5wxAw=; b=gf0e0DppCIn54OcrHL0FZtCpFnwWsWlM9h1jOUBYG9PBIgJXXRuaETQVP1zEuMXU7A DuLiEG76gdDawtcD9I1kOidKBqyFrvCGDepZXnjb3jSTtJLW+jphFSyc/ZH0I+ZE+p63 cY51f82RF1iMKwkU/h/zdVM0tcAFPIPzjiDR0LdEEIombu1+RJiiBQZr3q6Kxqy1w0WC EA5CIVD3QDeHAetVGGq8CU4NLMMlodAPq72e/lKwYDfqOQ6DdJcIzYg4uX5snaGF0xMO 2HNIxRoctJxJ93mDX2WrnELIzpELfvC+/7ZnbXJqIBGNTh9uMHN7jKApVaFCkQbk1gGb yOrA== 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=EGeEY9yU9c9i+ew+Npb69APi1pbg1XO+XqTYcH5wxAw=; b=OoqGOW7nlK4U3poA/oSPd+sE7HpvPSLGCWnpIU1V0kxS51bpW1XLdL1jRM4+7AHpqD fOW8i3BR0btREKhkvGDjnUWdCxHglN8ZP/1fjts0hCounX0+AWY0md/dStDEjS0ia+P9 T7npMLxTVsIYzr36GDY5kTJLbSxHpnObzvQZa8WjTZNqjvXCYAVioBMTflLXHlincy/w Xp/zUHZ7Qhn4uTjm3TxmaqACm3OOaPRaGVUsJt2HBHB8egjEx2AaY4k6gEJio+krA6ta 8JalMZrXL7xjH17u3BDe7hPi3HhhEOjvKH0/0qYe2HH9eI5Av0QdOd0JAgq7j+VaTGF1 LWlA== X-Gm-Message-State: AOAM532jRg3hGo77Kc/L/N83mW+w5p3TVwSvfS/795Y9EjR9kk1TnxB3 g8oAwu5/oxLrUZheFlybxla7tM0XIqchag== X-Google-Smtp-Source: ABdhPJwsGe/L72EUbWmM4bujIT2ebs2q99sxz1/KnBCJ5IhSUTwC2L3fmkGHBt625eO8kIOF4aKqIw== X-Received: by 2002:a1c:a797:: with SMTP id q145mr10235803wme.144.1625139288821; Thu, 01 Jul 2021 04:34:48 -0700 (PDT) Received: from naush-laptop.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id f6sm8076495wrs.13.2021.07.01.04.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 04:34:48 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Thu, 1 Jul 2021 12:34:41 +0100 Message-Id: <20210701113442.111718-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210701113442.111718-1-naush@raspberrypi.com> References: <20210701113442.111718-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 3/4] 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 4d09a84f6532..dd20c854c788 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