From patchwork Sat Oct 10 09:58:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 10041 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 BE81FBEEDF for ; Sat, 10 Oct 2020 09:54:38 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 474DF60926; Sat, 10 Oct 2020 11:54:38 +0200 (CEST) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6B898603C1 for ; Sat, 10 Oct 2020 11:54:36 +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 relay2-d.mail.gandi.net (Postfix) with ESMTPSA id F110140002; Sat, 10 Oct 2020 09:54:35 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Sat, 10 Oct 2020 11:58:27 +0200 Message-Id: <20201010095830.134084-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v2 0/3] android: Introduce CameraWorker 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" New version rebased on Paul's reusable Request patch. The result is actually nicer as this version ties the CaptureRequest to the Camera3RequestDescriptor and the resulting CaptureRequest and CameraWorker is cleaner and smaller. Add a small patch on top to document the CameraStream class which was missing a documentation block. Dropped all tags as the interface and implementation has changed significantly. Jacopo Mondi (3): android: camera_worker: Introduce CameraWorker android: camera_device: Queue request using Worker android: camera_stream: Add documentation src/android/camera_device.cpp | 42 ++++++------ src/android/camera_device.h | 7 +- src/android/camera_stream.cpp | 21 ++++++ src/android/camera_stream.h | 5 -- src/android/camera_worker.cpp | 122 ++++++++++++++++++++++++++++++++++ src/android/camera_worker.h | 63 ++++++++++++++++++ src/android/meson.build | 1 + 7 files changed, 235 insertions(+), 26 deletions(-) create mode 100644 src/android/camera_worker.cpp create mode 100644 src/android/camera_worker.h --- 2.28.0