From patchwork Tue Apr 28 09:17:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 3586 Return-Path: Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id C62EB603F7 for ; Tue, 28 Apr 2020 11:16:01 +0200 (CEST) X-Originating-IP: 212.216.150.148 Received: from uno.homenet.telecomitalia.it (a-ur1-85.tin.it [212.216.150.148]) (Authenticated sender: jacopo@jmondi.org) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 0937C1BF20A; Tue, 28 Apr 2020 09:15:59 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Tue, 28 Apr 2020 11:17:13 +0200 Message-Id: <20200428091713.341322-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.26.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/7] libcamera: Add CameraSensorInfo 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: Tue, 28 Apr 2020 09:16:01 -0000 Hello, I intend to push this new version, rebased on the fast moving recent master, as soon as the following patches on which this series depends on are merged: libcamera: camera_sensor: Add model() function libcamera: v4l2_device: Simplify usage of getControls() libcamera: controls: Return ControlValue reference from ControlList::set() libcamera: controls: Add rectangle and size control types Laurent, as you're tha author, this: libcamera: controls: Return ControlValue reference from ControlList::set() is the only one that needs a small rework imho, all the rest is good to go. Thanks j Jacopo Mondi (7): libcamera: v4l2_subdevice: Expose setSelection() libcamera: v4l2_videodevice: Expose setSelection() libcamera: v4l2_subdevice: Implement getSelection() libcamera: camera_sensor: Define CameraSensorInfo libcamera: v4l2_subdevice: Add format information libcamera: camera_sensor: Add method to get sensor info libcamera: ipa: Add support for CameraSensorInfo include/ipa/ipa_interface.h | 27 ++- src/ipa/libipa/ipa_interface_wrapper.cpp | 19 +- src/ipa/libipa/ipa_interface_wrapper.h | 1 + src/ipa/rkisp1/rkisp1.cpp | 12 +- src/ipa/vimc/vimc.cpp | 3 +- src/libcamera/camera_sensor.cpp | 143 ++++++++++++++ src/libcamera/include/camera_sensor.h | 14 ++ src/libcamera/include/ipa_context_wrapper.h | 3 +- src/libcamera/include/v4l2_subdevice.h | 11 +- src/libcamera/include/v4l2_videodevice.h | 5 +- src/libcamera/ipa_context_wrapper.cpp | 23 ++- src/libcamera/ipa_interface.cpp | 73 +++++++ src/libcamera/pipeline/ipu3/ipu3.cpp | 4 +- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 10 +- src/libcamera/proxy/ipa_proxy_linux.cpp | 3 +- src/libcamera/proxy/ipa_proxy_thread.cpp | 8 +- src/libcamera/v4l2_subdevice.cpp | 201 ++++++++++++++++---- src/libcamera/v4l2_videodevice.cpp | 20 +- test/ipa/ipa_wrappers_test.cpp | 22 ++- 19 files changed, 516 insertions(+), 86 deletions(-) --- 2.26.1