From patchwork Tue Aug 3 13:32:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13177 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 D0ABFC3235 for ; Tue, 3 Aug 2021 13:32:15 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2D51268536; Tue, 3 Aug 2021 15:32:15 +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="ABVpv/mj"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 983166026A for ; Tue, 3 Aug 2021 15:32:13 +0200 (CEST) Received: from perceval.ideasonboard.com (unknown [103.238.109.12]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6FB283F0; Tue, 3 Aug 2021 15:32:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1627997533; bh=1HhBZwbBd16twGD7mSQab9DGbyCdEzqhmCwrgiftRSo=; h=From:To:Cc:Subject:Date:From; b=ABVpv/mjnrnOkN8NsZoCFYYWaGPnjRmfWVqQse3e35B3pFUyGH1d3lRTwsLhfpGOn 5IudLI9vYFwO4g//n/o7JXUyrtEYtP5UT4LmgX2CHaNcg+UPy2N6z6pcFP9DsRWD/e GhXlJiCh5Pm+XZlebvv2B6E6WdsrCE1rfB+bURHw= From: Umang Jain To: libcamera-devel@lists.libcamera.org Date: Tue, 3 Aug 2021 19:02:01 +0530 Message-Id: <20210803133205.6599-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] ipu3: Change sensor size selection policy 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" The series is geared towards addressing sensor selection constraints on soraka and nautilus. 1/4 and 2/4 prepares the base to highlight the change in selection policy. 3/4 and 4/4 is the actual change. The constraints are documented in the commit messages of 3/4 and 4/4. Jacopo Mondi (1): ipu3: cio2: Change sensor size selection policy Umang Jain (3): libcamera: camera_sensor: Transform CameraSensor::sizes() ipu3: cio2: Replicate CameraSensor::getFormats() to a member function ipu3: cio2: Tweak sensor size selection policy include/libcamera/internal/camera_sensor.h | 2 +- src/libcamera/camera_sensor.cpp | 36 +++++-- src/libcamera/pipeline/ipu3/cio2.cpp | 110 +++++++++++++++++++-- src/libcamera/pipeline/ipu3/cio2.h | 3 + test/camera-sensor.cpp | 2 +- 5 files changed, 135 insertions(+), 18 deletions(-) Tested-by: Jacopo Mondi