From patchwork Mon Jul 6 15:38:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 8651 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 ABA93BD790 for ; Mon, 6 Jul 2020 15:38:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id E8A6660E10; Mon, 6 Jul 2020 17:38:13 +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="pA6rfwce"; dkim-atps=neutral Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 9A0A1603AA for ; Mon, 6 Jul 2020 17:38:12 +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 10C49A16; Mon, 6 Jul 2020 17:38:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1594049892; bh=TU4zA7q8qEpYv/J0p7udMpOo/Opco0I45uGL5rXg/NY=; h=From:To:Cc:Subject:Date:From; b=pA6rfwce0PHxZwjB3kWvhB6N4a48RIB+DHdm6Pbi3EzgKkf1U1fE48TagAbC4Wm9Y F1UfqDjvG+mDxZxdPWAK8FM+8N9PvkSACMiYVNkLlDltfPi0mWGNMB4G9/oTP4TzkC h70d0N43Y9P8v4yb2haq3jo+9YtT61RMeOJG0E7g= From: Kieran Bingham To: libcamera devel Date: Mon, 6 Jul 2020 16:38:00 +0100 Message-Id: <20200706153808.2340919-1-kieran.bingham@ideasonboard.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/8] android: 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 fourth iteration for multi-stream support. Technically, this has RB tags for each patch, but as there were a few substantial changes from v3, I'll let this get a final ack or two before I consider integration. This 'works' so far, but when I base my jpeg work on top, I am experiencing some undesirable crashes on destruction of the Request objects. I can't currently see that it is directly a result of this series yet, so I'm posting before finding the root cause, but I'm fully aware that there 'may' still be a bug in here. Still, "as far as I can tell", this is not worse than what we have already ;-) Kieran Bingham (8): libcamera: camera: Allow unspecified roles for generateConfiguration android: camera_device: Provide a toPixelFormat helper android: camera_device: Support multiple stream configurations android: camera_device: Simplify FrameBuffer construction from a buffer_handle_t android: camera_device: Create the Request and Camera3RequestDescriptor together android: camera_device: Maintain a vector of CameraStream android: camera_device: Add buffers for each stream to Requests android: camera_device: Remove single buffer restriction. include/libcamera/camera.h | 2 +- src/android/camera_device.cpp | 185 ++++++++++++++++++++-------------- src/android/camera_device.h | 14 +++ 3 files changed, 127 insertions(+), 74 deletions(-)