From patchwork Thu Mar 26 14:59:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 3328 Return-Path: Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B649060410 for ; Thu, 26 Mar 2020 15:56:32 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from localhost.localdomain (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 581A920006 for ; Thu, 26 Mar 2020 14:56:31 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 26 Mar 2020 15:59:21 +0100 Message-Id: <20200326145927.324919-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/6] Camera properties and camera sensor factory 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-List-Received-Date: Thu, 26 Mar 2020 14:56:32 -0000 Major rework is in the sensor properties definition to take into account discussion with Sakari and Kieran. Most of the other patches have been tagged already. Jacopo Mondi (6): libcamera: properties: Define pixel array properties libcamera: properties: Define 'lens' properties libcamera: camera_sensor: Introduce CameraSensorFactory libcamera: camera_sensor: Break out properties initialization libcamera: sensor: Add OV5670 camera sensor DNI: libcamera: sensor: ov5670: Add lens properties Documentation/Doxyfile.in | 3 +- src/libcamera/camera_sensor.cpp | 247 ++++++++++++++---- src/libcamera/include/camera_sensor.h | 37 ++- src/libcamera/meson.build | 1 + src/libcamera/pipeline/ipu3/ipu3.cpp | 9 +- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 18 +- src/libcamera/pipeline/vimc/vimc.cpp | 6 +- src/libcamera/property_ids.yaml | 189 ++++++++++++++ src/libcamera/sensor/meson.build | 3 + src/libcamera/sensor/ov5670.cpp | 60 +++++ test/camera-sensor.cpp | 9 +- .../v4l2_videodevice_test.cpp | 3 +- test/v4l2_videodevice/v4l2_videodevice_test.h | 6 +- 13 files changed, 510 insertions(+), 81 deletions(-) create mode 100644 src/libcamera/sensor/meson.build create mode 100644 src/libcamera/sensor/ov5670.cpp --- 2.25.1