From patchwork Thu Dec 17 14:03:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10674 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 A65DABD80A for ; Thu, 17 Dec 2020 14:03:56 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 383DB61596; Thu, 17 Dec 2020 15:03:56 +0100 (CET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4F35061591 for ; Thu, 17 Dec 2020 15:03:55 +0100 (CET) X-Originating-IP: 2.224.242.101 Received: from uno.lan (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 D4A6220009 for ; Thu, 17 Dec 2020 14:03:54 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Thu, 17 Dec 2020 15:03:56 +0100 Message-Id: <20201217140358.17614-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/2] android: Report 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. Thanks j v1 -> v2: - Conditionally report support for a RAW stream - Access the metadata control list from descriptor->request_->metadata() and drop patch 1/3 of v1 Jacopo Mondi (2): android: camera_device: Report pipeline depth android: camera_device: Report number of out streams src/android/camera_device.cpp | 34 +++++++++++++++++++++++++++------- src/android/camera_device.h | 4 ++-- src/android/camera_worker.h | 4 ++++ 3 files changed, 33 insertions(+), 9 deletions(-) --- 2.29.2