From patchwork Sun Dec 19 23:27:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 15167 X-Patchwork-Delegate: laurent.pinchart@ideasonboard.com 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 992DAC3258 for ; Sun, 19 Dec 2021 23:27:24 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 3FF7D608E7; Mon, 20 Dec 2021 00:27:23 +0100 (CET) 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="b5waGzmi"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 22EB3605A7 for ; Mon, 20 Dec 2021 00:27:21 +0100 (CET) Received: from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AFB30FEF; Mon, 20 Dec 2021 00:27:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1639956440; bh=VA+9qQ6iBYoks1gJ5q/0E5yUgm3zy/A88w5Lt1eRNqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b5waGzmiTyRCdccG2OyMbxMBO4wWWKv692H+31EiCohJvB7cC6l6TfS1k8h/bBWSr AQVYHSf2Nl/HOXZzXInjoVJ5pI2AEANXfa3AnaoybCVlT1tXXvVTzt/emayL7ThgBi 05Fyiz6idaatH3uDnkd3MBCujI+JQTJqucYKLlJU= From: Laurent Pinchart To: libcamera-devel@lists.libcamera.org Date: Mon, 20 Dec 2021 01:27:11 +0200 Message-Id: <20211219232714.11427-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20211219232714.11427-1-laurent.pinchart@ideasonboard.com> References: <20211219232714.11427-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 1/4] libcamera: camera_sensor: Add IMX296 sensor properties 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 Sony IMX296 is a global shutter sensor with a 1456x1088 pixel array size, with a recommended resolution after CFA interpolation of 1440x1080. Signed-off-by: Laurent Pinchart Reviewed-by: Naushir Patuck @raspberrypi.com> Reviewed-by: Kieran Bingham --- src/libcamera/camera_sensor_properties.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 48305ac481ed..e0086691a61e 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -90,6 +90,10 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen { controls::draft::TestPatternModePn9, 4 }, }, } }, + { "imx296", { + .unitCellSize = { 3450, 3450 }, + .testPatternModes = {}, + } }, { "ov5647", { .unitCellSize = { 1400, 1400 }, .testPatternModes = {},