From patchwork Wed Sep 4 14:18:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 1923 Return-Path: Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id EC43960BB2 for ; Wed, 4 Sep 2019 16:16:58 +0200 (CEST) X-Originating-IP: 2.224.242.101 Received: from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101]) (Authenticated sender: jacopo@jmondi.org) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 891D61C000E; Wed, 4 Sep 2019 14:16:57 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , kamesan@google.com, jcliang@google.com, shik@google.com, wtlee@google.com Date: Wed, 4 Sep 2019 16:18:17 +0200 Message-Id: <20190904141825.20697-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 0/8] android: Rework metadata tags 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: Wed, 04 Sep 2019 14:16:59 -0000 Two new patches to fix handling of request templates to provide one templates per capture request type, and make sure metadata packs are freed in error paths by modifying the assertion macro. Thanks j Jacopo Mondi (8): android: camera_device: Add missing static metadata android: camera_device: Use correct sizes for static metadata android: camera_device: Remove tags from request template android: camera_device: Add missing tags in request template android: camera_device: Use precise sizes for request template android: camera_device: Fix handling of request template android: camera_device: Free metadata in error path android: camera_device: Report available keys src/android/camera_device.cpp | 669 +++++++++++++++++++++++----------- src/android/camera_device.h | 5 +- 2 files changed, 453 insertions(+), 221 deletions(-) --- 2.23.0