From patchwork Tue Jun 1 11:24:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 12480 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 B01CFC3205 for ; Tue, 1 Jun 2021 11:25:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7138668929; Tue, 1 Jun 2021 13:25:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="HHPI4Den"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id BAA7C6891F for ; Tue, 1 Jun 2021 13:25:12 +0200 (CEST) Received: from perceval.ideasonboard.com (unknown [103.251.226.189]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 131CCA2A; Tue, 1 Jun 2021 13:25:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1622546712; bh=R31OIcn3kTsWq7GlDxfoCYD/8mgB88Lcg0xYVWvP7GY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=HHPI4DenJvkCeyslrD/LyCp7HxsXr2/jW+PaONB/7wBgaNMtJwtDlf/QkRH5uA33w ueERNwIr+wVgs6aK42Hs+yzkj18cZG6whXAXvEXm73GBcYWDscqchMor8c05sW4FHA x8mpnaW5z6b01MjFKL5XDT07StxJ2p322kRq9j68= From: Umang Jain To: libcamera-devel@lists.libcamera.org Date: Tue, 1 Jun 2021 16:54:56 +0530 Message-Id: <20210601112456.118755-3-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210601112456.118755-1-umang.jain@ideasonboard.com> References: <20210601112456.118755-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 2/2] ipa: ipu3: Bump frame duration value 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" We report a hard-coded frame duration value for CTS. However, when the CTS is tested on nautilus, which has a 'imx258' sensor, the frame duration was found to be out-of-range. Since different sensors have different frame durations range-limits, we need to bump up our value to match the lower end of the 'imx258' frame duration range-limit (rounded up to the nearest micro-second). This allows the following CTS test to pass on nautilus platform: - android.hardware.camera2.cts.CaptureRequestTest#testNoiseReductionModeControl Signed-off-by: Umang Jain --- src/ipa/ipu3/ipu3.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp index 700a5660..e51b0401 100644 --- a/src/ipa/ipu3/ipu3.cpp +++ b/src/ipa/ipu3/ipu3.cpp @@ -271,7 +271,7 @@ void IPAIPU3::parseStatistics(unsigned int frame, /* \todo Populate this with real values */ ctrls.set(controls::FrameDuration, - static_cast(33334)); + static_cast(34483)); IPU3Action op; op.op = ActionMetadataReady;