From patchwork Mon Aug 12 08:41:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1775 Return-Path: Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 55DBB60E38 for ; Mon, 12 Aug 2019 10:40:25 +0200 (CEST) X-Originating-IP: 87.5.130.64 Received: from uno.homenet.telecomitalia.it (host64-130-dynamic.5-87-r.retail.telecomitalia.it [87.5.130.64]) (Authenticated sender: jacopo@jmondi.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id C113C40010; Mon, 12 Aug 2019 08:40:24 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 12 Aug 2019 10:41:45 +0200 Message-Id: <20190812084146.23802-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v4 0/1] android: Add initial camera HAL implementation X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2019 08:40:25 -0000 Hello, sending just the camera HAL implementation. All the preceeding patches in the series are now pushed to master. This new version address Laurent's suggestions on comments, fixes a few leaks in the capture request handling error path and adds a constructor/destructor to the Camera3RequestDescriptor structure to ease the deletetion of the associated memory buffers. I have also trimmed down inclusions a bit more. Hopefully last version? Thanks j Jacopo Mondi (1): android: hal: Add Camera3 HAL meson_options.txt | 5 + src/android/camera3_hal.cpp | 111 ++++ src/android/camera_device.cpp | 831 +++++++++++++++++++++++++++++ src/android/camera_device.h | 71 +++ src/android/camera_hal_manager.cpp | 138 +++++ src/android/camera_hal_manager.h | 47 ++ src/android/camera_proxy.cpp | 194 +++++++ src/android/camera_proxy.h | 45 ++ src/android/meson.build | 8 + src/android/thread_rpc.cpp | 42 ++ src/android/thread_rpc.h | 54 ++ src/libcamera/meson.build | 9 + src/meson.build | 5 +- 13 files changed, 1559 insertions(+), 1 deletion(-) create mode 100644 src/android/camera3_hal.cpp create mode 100644 src/android/camera_device.cpp create mode 100644 src/android/camera_device.h create mode 100644 src/android/camera_hal_manager.cpp create mode 100644 src/android/camera_hal_manager.h create mode 100644 src/android/camera_proxy.cpp create mode 100644 src/android/camera_proxy.h create mode 100644 src/android/thread_rpc.cpp create mode 100644 src/android/thread_rpc.h --- 2.22.0