From patchwork Mon Apr 12 07:56:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 11888 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 747EFBD224 for ; Mon, 12 Apr 2021 07:56:29 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 41157687F9; Mon, 12 Apr 2021 09:56:29 +0200 (CEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B2EF4687F5 for ; Mon, 12 Apr 2021 09:56:27 +0200 (CEST) X-Originating-IP: 93.34.118.233 Received: from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233]) (Authenticated sender: jacopo@jmondi.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 541831C0002; Mon, 12 Apr 2021 07:56:26 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 12 Apr 2021 09:56:59 +0200 Message-Id: <20210412075702.9955-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/3] libcamera: Introduce sensor database 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" Addressed Niklas' review comments and took in his tags. - in-line getInfo() in SensorDatabase::get() - align style in 3/3 using std::array Thanks j Jacopo Mondi (3): libcamera: Introduce camera sensor database libcamera: camera_sensor: Register static properties android: camera_device: Report sensor physical size include/libcamera/internal/camera_sensor.h | 1 + include/libcamera/internal/meson.build | 1 + include/libcamera/internal/sensor_database.h | 28 ++++++ src/android/camera_device.cpp | 30 +++--- src/libcamera/camera_sensor.cpp | 24 ++++- src/libcamera/meson.build | 1 + src/libcamera/sensor_database.cpp | 97 ++++++++++++++++++++ 7 files changed, 167 insertions(+), 15 deletions(-) create mode 100644 include/libcamera/internal/sensor_database.h create mode 100644 src/libcamera/sensor_database.cpp Reviewed-by: Niklas Söderlund Reviewed-by: Hirokazu Honda --- 2.31.1