From patchwork Mon May 3 10:41:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacopo Mondi X-Patchwork-Id: 12169 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 C3018BDE78 for ; Mon, 3 May 2021 10:41:14 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 582D368911; Mon, 3 May 2021 12:41:13 +0200 (CEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 0B10A60511 for ; Mon, 3 May 2021 12:41:12 +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 relay9-d.mail.gandi.net (Postfix) with ESMTPSA id B300FFF807 for ; Mon, 3 May 2021 10:41:11 +0000 (UTC) From: Jacopo Mondi To: libcamera-devel@lists.libcamera.org Date: Mon, 3 May 2021 12:41:35 +0200 Message-Id: <20210503104152.34048-1-jacopo@jmondi.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH v5 00/17] Support SensorTimestamp metadata 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" Compared to v4 I've addressed a few comments and added one more patch "libcamera: ipu3: Merge IPA metadata controls" as requested by Kieran. Minor changes to the other patches: - Fix comment in ControlList::merge() as reported by Kieran - Be loud when merging two controls and one gets skipped because it's already present in the list as suggested by Niklas - Slightly rework a comment in RPi pipeline as suggested by Niklas - Add one more patch for IPU3 "libcamera: ipu3: Merge IPA metadata controls" as suggested by Kieran Missing a few tags then the series is hopefully good to go Thanks j Jacopo Mondi (16): test: control_list: Check for Brightness presence test: control_list: Test ControlList::merge() libcamera: controls: Destage 'SensorTimestamp' libcamera: ipu3: Report sensor timestamp libcamera: ipu3: Merge IPA metadata controls libcamera: uvc: Report sensor timestamp libcamera: rkisp1: Do not over-write metadata libcamera: rkisp1: Report sensor timestamp libcamera: simple: Report sensor timestamp libcamera: vimc: Report sensor timestamp libcamera: buffer: Re-work setRequest() documentation libcamera: raspberrypi: Do not over-write metadata libcamera: raspberry: Report sensor timestamp cam: Add option to print the Request metadata cam: Implement OptMetadata android: camera_device: Use controls::SensorTimestamp Laurent Pinchart (1): libcamera: controls: Add a function to merge two control lists include/libcamera/controls.h | 2 + src/android/camera_device.cpp | 21 +++----- src/android/camera_device.h | 3 +- src/cam/capture.cpp | 15 +++++- src/cam/capture.h | 1 + src/cam/main.cpp | 3 ++ src/cam/main.h | 1 + src/libcamera/buffer.cpp | 5 +- src/libcamera/control_ids.yaml | 21 +++++--- src/libcamera/controls.cpp | 30 +++++++++++ src/libcamera/pipeline/ipu3/ipu3.cpp | 14 +++-- .../pipeline/raspberrypi/raspberrypi.cpp | 16 +++++- src/libcamera/pipeline/rkisp1/rkisp1.cpp | 11 +++- src/libcamera/pipeline/simple/simple.cpp | 12 ++++- src/libcamera/pipeline/uvcvideo/uvcvideo.cpp | 4 ++ src/libcamera/pipeline/vimc/vimc.cpp | 4 ++ test/controls/control_list.cpp | 51 ++++++++++++++++++- 17 files changed, 179 insertions(+), 35 deletions(-) --- 2.31.1