From patchwork Wed Dec 6 11:43:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 19289 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 D2A14C322E for ; Wed, 6 Dec 2023 11:43:23 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 85659629E5; Wed, 6 Dec 2023 12:43:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org; s=mail; t=1701863003; bh=NzHf7OM29ltVV19Ymmxrc1KJNOpazEzVDmh6WCAjdX4=; h=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ze7rgcu24UHeY5kPRJ8wt9z6J0UoJBNfLFHotP1aGaXk0WNaJTox4jkXrM0F4M0T6 vj4mhadf2k4piulUG+T/PVA6n1VSu7WG7RSS3+uKgc9bdY64MhZVT1GVKUHXBGwl8R 5aYj4Ez/PVFacVU5uafpP19pWN0jx/PIr/yozu4iMTHALf/UsnU3HIzFaLE/q8ivd3 OWQQAZGZuaQKn94TO3PRvQAAURjXw6L6LH021wNvnBZZRIlnCCAvWKDbzs3kRzTJrQ pOwd5Ic2MUaz9eHhTCGAODaryatwQkyDwAExnOuXo6P3NcUlC43A55U2hauCC8s7nK FyXXLP3Pqs/0Q== 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 C4B3A629CD for ; Wed, 6 Dec 2023 12:43:21 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="oRc1dAvz"; dkim-atps=neutral Received: from localhost.localdomain (93-61-96-190.ip145.fastwebnet.it [93.61.96.190]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C7A9F720; Wed, 6 Dec 2023 12:42:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1701862961; bh=NzHf7OM29ltVV19Ymmxrc1KJNOpazEzVDmh6WCAjdX4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oRc1dAvzGgAbT+YBnVvumf6carW1GBVQafc6G3QADsckO4zyTptVrEdBkgyEnGYs9 I8kRjh1nrjRfrVAphQpFWAaVx7dusF/NzPzxMAY79iVExQdZMM1l3SHsRiB7YoOEpQ jrRBf9Lq5hO0Sl9PM9epztJVAlBGbzHrAkb3fMVk= To: libcamera-devel@lists.libcamera.org Date: Wed, 6 Dec 2023 12:43:04 +0100 Message-ID: <20231206114307.94241-1-jacopo.mondi@ideasonboard.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231206114044.94068-1-jacopo.mondi@ideasonboard.com> References: <20231206114044.94068-1-jacopo.mondi@ideasonboard.com> MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 1/4] libcamera: camera_sensor: Add OV64A40 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: , X-Patchwork-Original-From: Jacopo Mondi via libcamera-devel From: Jacopo Mondi Reply-To: Jacopo Mondi Cc: Jacopo Mondi Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Kieran Bingham Add an entry for the Omnivision OV64A40 Sensor which has a square pixel size of 1.008ยต. Signed-off-by: Kieran Bingham Signed-off-by: Jacopo Mondi Reviewed-by: Laurent Pinchart Reviewed-by: Naushir Patuck --- src/libcamera/camera_sensor_properties.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/libcamera/camera_sensor_properties.cpp b/src/libcamera/camera_sensor_properties.cpp index 27d6799a2686..6e28b09e6655 100644 --- a/src/libcamera/camera_sensor_properties.cpp +++ b/src/libcamera/camera_sensor_properties.cpp @@ -208,6 +208,19 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen */ }, } }, + { "ov64a40", { + .unitCellSize = { 1008, 1008 }, + .testPatternModes = { + { controls::draft::TestPatternModeOff, 0 }, + { controls::draft::TestPatternModeColorBars, 1 }, + { controls::draft::TestPatternModeColorBarsFadeToGray, 2 }, + /* + * No corresponding test patter mode + * 3: "Vertical Color Bar Type 3", + * 4: "Vertical Color Bar Type 4" + */ + }, + } }, { "ov8858", { .unitCellSize = { 1120, 1120 }, .testPatternModes = {