From patchwork Mon Jun 29 16:39:12 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 8510 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 D1209BFFE2 for ; Mon, 29 Jun 2020 16:39:22 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 2652760AF1; Mon, 29 Jun 2020 18:39:22 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="BF6ctltF"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 94990609C9 for ; Mon, 29 Jun 2020 18:39:20 +0200 (CEST) Received: from Q.local (cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0ADE0299; Mon, 29 Jun 2020 18:39:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1593448760; bh=NEziPjWA3A0Z2dMRkrC1dG751+q/votxFFHZCS6fu3M=; h=From:To:Cc:Subject:Date:From; b=BF6ctltFmNa1rpTymRt+YCCdHvMIgz5n8GFUoy6lcz1Pboxs7fJLy6GdZ110ltmfD AtUEUJmMivfBWnN+1V3yyuELwv2+8DYLoZ9NtjBkV37RJKqJ7kjC26VCknSsOASRr6 0/BU7QWY1ktgMbPeKVdvewQDeRMr15UijGAdZxEg= From: Kieran Bingham To: libcamera devel Date: Mon, 29 Jun 2020 17:39:12 +0100 Message-Id: <20200629163916.1815321-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/4] Android HAL multi-stream support 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" The Android HAL layer needs restrictions removed to support multiple streams. This is my work in progress which is the base of my work for adding JPEG stream support, but posting for early review, and as I believe it can be useful to others. --- Kieran Kieran Bingham (4): libcamera: camera: Allow unspecified roles for generateConfiguration libcamera: camera: Return a reference to the new configuration when adding android: camera_device: Provide a toPixelFormat helper android: camera_device: support multiple stream configurations include/libcamera/camera.h | 5 +- src/android/camera_device.cpp | 95 +++++++++++++++++++++-------------- src/android/camera_device.h | 1 + src/libcamera/camera.cpp | 10 +++- 4 files changed, 69 insertions(+), 42 deletions(-)