From patchwork Mon Jun 14 10:00: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: 12589 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 993FEBD78E for ; Mon, 14 Jun 2021 10:00:50 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BBC43602A1; Mon, 14 Jun 2021 12:00:49 +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="X5FDlOyS"; dkim-atps=neutral Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 7D04968932 for ; Mon, 14 Jun 2021 12:00:48 +0200 (CEST) Received: by mail-wm1-x32d.google.com with SMTP id m41-20020a05600c3b29b02901b9e5d74f02so9321786wms.3 for ; Mon, 14 Jun 2021 03:00:48 -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=Q3gdgtjEoMpV5OZkbts7EU8+H9RiDnxUkfsdg/BbYTc=; b=X5FDlOySXq5V6WsaEbkwusIL/Cmrqbbs85oc+sTqy4nJ8yejSn93mD5zHVAHytlnji R5FyMkA3d77YzDGItGCn4jb2X43PhRoo9/y0gyyaN+KFYiP3+UnYVBSjzSfElRYKvH6Y be4FgoAFJN7lqVSeOrhD/pQcM5vxX1vMhZqYmbpDumEtFkidFpdPJi5oiy8wxFXchbwv /eogxSigZYt2+YOQNrMhnXFFFiEzknfbTHQiODOWJbv8IqUiX1fvyRnlY9DBcgUyceqZ Z5mPspFKLI6fw7t8n32fV2+mcEKssunqmBFtcUoB/Px32ixSAVoh3McZ4uJrHf0pO6Xu dbGQ== 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=Q3gdgtjEoMpV5OZkbts7EU8+H9RiDnxUkfsdg/BbYTc=; b=b2aQheclyj3JSyeEZiKbKJL6eTAxLMSkpHqBWeqpJsbkEmhixva/pkJT3o4XqwOGAB 0An9IhTyFPfbxkaFd8JS5R8j4/Kb3458EywRBGB7xG8BR/hJg+SDBAS9VTpdgHg37u1j ZOD6rc/nG4D74pAIZv8pf0hQ+yCcHvkbPecO+qM8osidNDEgNgyU+15kWy5JslHKWd4b WU+To1dMllJohwnVVHHKXiKfTcie/dodHqyGWih3uAsjMxF7e+o+vMirRDgrEWZ9YyEI U6r3XOFAq9pbF3ZMs3SlX8u0Z/JUxgmf/4zXyuUIss3kqrQQ2dunsL3i6OVdqeiZbWnC toKw== X-Gm-Message-State: AOAM533Vzmf3lM7bqKQh0G2ML5airsDKgV6lWyQCsjYU1Z0yCqJ1ru4L fyJjuw27yPo+/GPx9t0Y2d/GylMiRL3mBw== X-Google-Smtp-Source: ABdhPJyeuWvW+4MCuj0+l0xG2fcJtEN3Rkoa2MT9tXZerxlFa81UH/P4FjuSf0mmadmTWuyaxlrdHA== X-Received: by 2002:a1c:65c2:: with SMTP id z185mr32170520wmb.2.1623664847790; Mon, 14 Jun 2021 03:00:47 -0700 (PDT) Received: from naush-laptop.pitowers.org ([2a00:1098:3142:14:fd93:d554:2dff:83ca]) by smtp.gmail.com with ESMTPSA id 89sm16235959wrq.14.2021.06.14.03.00.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jun 2021 03:00:47 -0700 (PDT) From: Naushir Patuck To: libcamera-devel@lists.libcamera.org Date: Mon, 14 Jun 2021 11:00:39 +0100 Message-Id: <20210614100040.3054433-4-naush@raspberrypi.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210614100040.3054433-1-naush@raspberrypi.com> References: <20210614100040.3054433-1-naush@raspberrypi.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 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 --- 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 1c1e802a2cdc..8a8e9c0a52ab 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -61,7 +61,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