From patchwork Wed Oct 7 10:17:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 9992 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 E1F86BEEDF for ; Wed, 7 Oct 2020 10:13:53 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 75EB06039B; Wed, 7 Oct 2020 12:13:53 +0200 (CEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 703C460393 for ; Wed, 7 Oct 2020 12:13:51 +0200 (CEST) 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 relay3-d.mail.gandi.net (Postfix) with ESMTPSA id D482F60005; Wed, 7 Oct 2020 10:13:50 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Wed, 7 Oct 2020 12:17:32 +0200 Message-Id: <20201007101745.15104-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v3 00/13] android: CameraStream rework 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" All patches reviewed The only remaning item is the discussion on how to handle the MoveConstructable requirement for CameraStream. It could be handled on top I think, so let's continue discussion. I plan to push the series, posting here for reference. Thanks j Jacopo Mondi (13): android: camera_stream: Break out CameraStream android: camera_stream: Add CameraStream::Type android: camera_stream: Delegate Encoder construction android: camera_stream: Construct with Android stream android: camera_device: Move processing to CameraStream android: camera_stream: Retrieve Stream and Configuration android: camera_stream: Fetch format and size from configuration android: camera_device: Return Camera as shared_ptr android: camera_device: Make CameraStream configuration nicer android: camera_stream: Create buffer pool android: camera_device: Use CameraStream buffers android: camera_device: Add stream mapping log android: camera_device: Clear streams_ at stop time src/android/camera_device.cpp | 188 ++++++++++++----------------- src/android/camera_device.h | 30 ++--- src/android/camera_hal_manager.cpp | 2 +- src/android/camera_stream.cpp | 154 +++++++++++++++++++++++ src/android/camera_stream.h | 144 ++++++++++++++++++++++ src/android/meson.build | 1 + 6 files changed, 387 insertions(+), 132 deletions(-) create mode 100644 src/android/camera_stream.cpp create mode 100644 src/android/camera_stream.h --- 2.28.0