From patchwork Thu Oct 3 13:57:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 21497 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 B0BA3BD80A for ; Thu, 3 Oct 2024 13:57:51 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 4D42763524; Thu, 3 Oct 2024 15:57:50 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="Tg4ATtNs"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2103862C92 for ; Thu, 3 Oct 2024 15:57:48 +0200 (CEST) Received: from umang.jain (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id B3886593; Thu, 3 Oct 2024 15:56:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1727963774; bh=Q3wDP8i9GT60py4lExGDhAjQ0l8M1bURlbKn1K6W9GM=; h=From:To:Cc:Subject:Date:From; b=Tg4ATtNsdhkkQyv+B2fV7OOi2X4XmsVlC8ONoQl/6j+itXFk4nXDTwRHPvMQprx/F qgYi6sV8CfFmX/kctnmWcN/1EcR8HZzzQQVCNdAx8n+piiGcUZmpmG/tWp87Ada9zd Ck3fRfoEDUwnCsBxp4qv2t8YTjuxZJYuyFtHaa6M= From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Paul Elder , Umang Jain Subject: [PATCH v2 0/2] rkisp1: Integrate Sensorconfiguration Date: Thu, 3 Oct 2024 19:27:38 +0530 Message-ID: <20241003135741.60869-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 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" 1/2 is a drive-by patch, reducing scope of a variable. 2/2 integrates sensor configuration ni rkisp1 Changes in v2: - Validate sensor resolution in RkISP1Path::validate() instead of RkISP1 - Pass sensorConfiguration by reference - Do not adjust sensor Configuration, always return CameraConfiguration::Invalid if sensor configuration cannot be satisfied - Apply sensor configuration at configure() time v1: - https://patchwork.libcamera.org/patch/21463/ - Developed over [PATCH 0/2] libcamera: pixelformat: Add isRaw() helper - Tested with cam+[1] on i.MX8MP with IMX283 attached [1]: https://patchwork.libcamera.org/patch/20080/ Umang Jain (2): libcamera rkisp1: Reduce scope of sensor max resolution variable libcamera: rkisp1: Integrate SensorConfiguration support src/libcamera/pipeline/rkisp1/rkisp1.cpp | 68 ++++++++++++++++--- src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 48 +++++++++++-- src/libcamera/pipeline/rkisp1/rkisp1_path.h | 2 + 3 files changed, 102 insertions(+), 16 deletions(-)