From patchwork Thu Jan 21 16:52:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10928 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 B7961BD808 for ; Thu, 21 Jan 2021 16:52:57 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 1DAF468208; Thu, 21 Jan 2021 17:52:57 +0100 (CET) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id E6BE068201 for ; Thu, 21 Jan 2021 17:52:55 +0100 (CET) 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 6F9901C000A; Thu, 21 Jan 2021 16:52:55 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org, Paul Elder Date: Thu, 21 Jan 2021 17:52:58 +0100 Message-Id: <20210121165305.367801-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/7] android: camera device and metadata improvements 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" Hello, this series aims to provide the following functionalities - Store in the Camera3RequestDescriptor a clone of the Android capture settings - Improve the CameraMetadata class to allow it to be copy-constructed and embedded in other types - Access metadata entries using the CameraMetadata API The first patch is from Paul's series with a minor fix and a tag. The next three patches prepare for [5/7] whith is is extracted from patch [8/9] of Paul's series. Patch 6 also was present in a different form in Paul's series and the last one is a small cleanup. Paul, you should be able to rebase on this series, as it provides the feature you need if I'm not mistaken, and that I need as well to progress on other fronts. Thanks j Jacopo Mondi (6): android: camera_device: Pass camera3 request to descriptor android: camera_device: Copy camera3 buffers in descriptor android: camera_metadata: Add defaul constructor android: camera_device: Clone settings in request descriptor android: camera_device: Use CameraMetadata in processControls() android: camera_metadata: Remove outdated comment Paul Elder (1): android: camera_metadata: Add copy constructor and getEntry src/android/camera_device.cpp | 66 +++++++++++++-------------------- src/android/camera_device.h | 10 ++--- src/android/camera_metadata.cpp | 38 +++++++++++++++++++ src/android/camera_metadata.h | 6 +++ 4 files changed, 73 insertions(+), 47 deletions(-) --- 2.29.2