From patchwork Fri Oct 4 08:41:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 21501 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 EF15EBD80A for ; Fri, 4 Oct 2024 08:41:45 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B0CCC6352B; Fri, 4 Oct 2024 10:41:44 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="EccvCNdc"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id A241E63512 for ; Fri, 4 Oct 2024 10:41:42 +0200 (CEST) Received: from localhost.localdomain (unknown [IPv6:2405:201:2015:f873:55f8:639e:8e9f:12ec]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 89C8955A; Fri, 4 Oct 2024 10:40:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1728031208; bh=ki3rYDEkKmow4NEHoFj+wWuBSHST9Y64xPQ8ATNZvys=; h=From:To:Cc:Subject:Date:From; b=EccvCNdczmqjOU6/42mEcK2HPmZ/c+EikZgzcSrLwzgMw9LId3iKP86L2j+ls5oiS I7cQiCpp7v7HPSrEtOrIEmJwqoFzjbtzPFcHed0I5CWgFAkakPdyrlpzJfg7rZDsR9 u5rDb9qU/K5xRkAcwmwxN8Y3pXuWmmtxPCyr4N90= From: Umang Jain To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , Kieran Bingham , Laurent Pinchart , Paul Elder , Stefan Klug , Umang Jain Subject: [PATCH v3 0/1] rkisp1: Integrate SensorConfiguration Date: Fri, 4 Oct 2024 14:11:26 +0530 Message-ID: <20241004084128.14672-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.0 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/1 integrates sensor configuration in rkisp1. Changes in v3: - Drop isRaw() dependency - rework commit message to elaborate cases of sensor configuration failure 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] libcamera: rkisp1: Clamp stream configuration to ISP limit on raw path - Tested with cam+[1] on i.MX8MP with IMX283 attached [1]: https://patchwork.libcamera.org/patch/20080/ Umang Jain (1): libcamera: rkisp1: Integrate SensorConfiguration support src/libcamera/pipeline/rkisp1/rkisp1.cpp | 43 ++++++++++++++--- src/libcamera/pipeline/rkisp1/rkisp1_path.cpp | 47 ++++++++++++++++--- src/libcamera/pipeline/rkisp1/rkisp1_path.h | 2 + 3 files changed, 79 insertions(+), 13 deletions(-)