From patchwork Fri Jul 2 15:09:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naushir Patuck X-Patchwork-Id: 12798 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 2F2E8BD794 for ; Fri, 2 Jul 2021 15:09:58 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id DA72568513; Fri, 2 Jul 2021 17:09:57 +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="szVGGkOo"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 3272A6850C for ; Fri, 2 Jul 2021 17:09:56 +0200 (CEST) Received: by mail-wm1-x331.google.com with SMTP id l1so6859908wme.4 for ; Fri, 02 Jul 2021 08:09:56 -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=szVGGkOonKmN9PnZMMtS2bZOPDm16FLaYYTu1V8U229S/rwN3Z0rMv6kfjGZeIyv5M rcot+JNQiDROjia4q4a2Rgfl73F8QlRK0EX6dsfHhY58x4QJO3h1MaFmIOlZ6WcgwWNC rJIHa5LtfI+bcD2l+kjoQmevHx0ny6JoiYvUP/Q8Hr3a1dIR9qiO3CSoGJfa7hRWvsSy yJtIuUmlMyBSGctY+aJQ88s12eEw5UPiqM9qZ6n2HypHl9nnFxgTe08cH6xHc4qKyDjY 7ZIuUOeEkH4vHma42q07siyGTkREpMrCgdIweEUJl/9SceWINY/9Mk6LTKr0GdjhoP47 CO6Q== 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=bIF2eehNsV2eNRSQ0Qfzq71wlN0DeA0WZNB9alWxjcFmcbfQnFtxSi0W8dlwe+U97N +d9JMu1zxxBITVRr0uK/+jlmNu5elPRKVcp5OWgn+xL2AaC3x64y4TMFrTG/F2Ocpshr gijuTR5PbjtqGQYH3lo2P9fzlhu0i4c+OqwK5dnr6hKc7pAVTQeqcIVULfMtIoCTI+bS mDfvvhX2ECYUwhklO23+kV0wSyrOa1jlRyqukmcVJo9dDnG/Raw6IINLcHKjkd1v7c81 5YBUeE4eBpx9hBoeIsbHBEO8quc6GR3kE7zt9bK7RmDH85BEj4tbB6rt/mu4jr4oBTXu fZsQ== X-Gm-Message-State: AOAM530KP6Zl5u3s1xTMhb+Hjt12WPSReQsSBoRwGIT6k4f4OVSBpAWv W5T83xCNqeBU9mPuNoiFrNc4+nLLYFlG4Q== X-Google-Smtp-Source: ABdhPJzSJNs8aWt1cFUcxJATwkUDlTN99VG3W3HZkbbIWIH6JnCKBMhRYKseFou3mjdbkuygiyVXgQ== X-Received: by 2002:a05:600c:219a:: with SMTP id e26mr3950717wme.63.1625238595718; Fri, 02 Jul 2021 08:09:55 -0700 (PDT) Received: from naush-laptop.patuck.local ([88.97.76.4]) by smtp.gmail.com with ESMTPSA id n4sm3619335wrw.21.2021.07.02.08.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jul 2021 08:09:55 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Fri, 2 Jul 2021 16:09:39 +0100 Message-Id: <20210702150940.226941-8-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210702150940.226941-1-naush@raspberrypi.com> References: <20210702150940.226941-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 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