From patchwork Wed Dec 9 17:35:16 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10628 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 819B1BD808 for ; Wed, 9 Dec 2020 17:35:19 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 72C2867F12; Wed, 9 Dec 2020 18:35:18 +0100 (CET) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id B4B256036E for ; Wed, 9 Dec 2020 18:35:16 +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 relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 6F7D6240005 for ; Wed, 9 Dec 2020 17:35:16 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Wed, 9 Dec 2020 18:35:16 +0100 Message-Id: <20201209173520.284266-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.29.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/3] android: Add more metadata 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" This series reports the number of supported output streams through the ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS static metadata and reports ANDROID_REQUEST_PIPELINE_DEPTH if the pipeline reports that in the capture results. At the base, a patch to make it possible to use a 'const Request *' in the camera HAL. Thanks j Jacopo Mondi (3): libcamera: request: Mark metadata() and controls() as const android: camera_device: Report pipeline depth android: camera_device: Report number of out streams include/libcamera/request.h | 4 ++-- src/android/camera_device.cpp | 29 +++++++++++++++++++++++------ src/android/camera_device.h | 4 ++-- src/android/camera_worker.h | 1 + 4 files changed, 28 insertions(+), 10 deletions(-) --- 2.29.1