Patch Detail
Show a patch.
GET /api/patches/22399/?format=api
{ "id": 22399, "url": "https://patchwork.libcamera.org/api/patches/22399/?format=api", "web_url": "https://patchwork.libcamera.org/patch/22399/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20241218180310.7824-2-david.plowman@raspberrypi.com>", "date": "2024-12-18T18:03:08", "name": "[v2,1/3] controls: Add FrameWallClock control", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "3d044420d8d4682ce2496852c1be98bf9ff71a0a", "submitter": { "id": 42, "url": "https://patchwork.libcamera.org/api/people/42/?format=api", "name": "David Plowman", "email": "david.plowman@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/22399/mbox/", "series": [ { "id": 4913, "url": "https://patchwork.libcamera.org/api/series/4913/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4913", "date": "2024-12-18T18:03:07", "name": "Wall clocks and camera sync", "version": 2, "mbox": "https://patchwork.libcamera.org/series/4913/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/22399/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/22399/checks/", "tags": {}, "headers": { "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>", "X-Original-To": "parsemail@patchwork.libcamera.org", "Delivered-To": "parsemail@patchwork.libcamera.org", "Received": [ "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id E8DF5C3301\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 Dec 2024 18:03:20 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9AFC668457;\n\tWed, 18 Dec 2024 19:03:20 +0100 (CET)", "from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com\n\t[IPv6:2a00:1450:4864:20::32f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1F7B3680B6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Dec 2024 19:03:17 +0100 (CET)", "by mail-wm1-x32f.google.com with SMTP id\n\t5b1f17b1804b1-43618283d48so49304825e9.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Dec 2024 10:03:17 -0800 (PST)", "from raspberrypi.pitowers.org\n\t([2a00:1098:3142:1f:c68a:6be1:5ba3:eddd])\n\tby smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-43656b01c88sm27927285e9.17.2024.12.18.10.03.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 18 Dec 2024 10:03:14 -0800 (PST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"MK+m6+7z\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1734544996; x=1735149796;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=MJxK/bYe/NGW7I0pZiRtUEp8+1iDVycrVP02cMFKu1Q=;\n\tb=MK+m6+7zFYEvphKWCdlOKmR/YriAxhJewL6Dx21gyVX3bixTsuDd8q9xL3eELv+/LK\n\tOBwPwnzBqb+fQqZvq5/pN3lUmWHhDh7G4IXGw0pdABE5CIceIU0ioZw4WXpE+PD1ZIEz\n\t3xKFquqrbRaxHVNNfZFL9iuIbZ+UG7ONX7Mr8s9dp2/PcNewXr4GU9neVlF+1cgMwM9K\n\tzszzCJ3vmNe6gAj1J4D3Ao1nhDx2RGPB6FedfjC4KeHc3b0SdlsKO7xnLqZKWyedKiRk\n\tqojTm/IuczRS/POt+5t3ZzztTHRSn0/qXi3T2OQ+iUr1OjnWmCNfeRlIjPBGYoIFNSJz\n\tVHtg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1734544996; x=1735149796;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date:message-id:reply-to;\n\tbh=MJxK/bYe/NGW7I0pZiRtUEp8+1iDVycrVP02cMFKu1Q=;\n\tb=QvPoSQZ1TT4Brwd5TlTjLV5M8rWm7srsyold5X8TLRI33yyATES0QflagKpKdrBsOe\n\tRLNBBrEHwDQYftAXn9gmUYel4Ue5CITgARQbSUw1HUn1g85MjB+RsOSCx8y8xNai6dV8\n\t3KYnHYiR1vzRiWqXcAn+a6UhI38hnZQjjEgCWcDMKeQBAepDPwL7M/3WUj8hnS5nMjOs\n\tqwjJpZYaOMYHrLXvtslRRzvBRzwNkNTnDetpmIMniP7BwRs9anPEg8kQtk0N4oiMwcmM\n\tHeMDaU1AJyOVnpg7ye5OUJi7xqA8fhtAktkrh9Ic3cZDxOCJC4vzUlDq1D0MEzV1eh66\n\t/2DQ==", "X-Gm-Message-State": "AOJu0YyEMY1e54E6ysGQUxzkL3LgPAxNmB0Sycfq64SF2mKxZApiB/Yi\n\tyYaQF4JCuXtUCfV/xAabgRiuWrPB2pcv8iWcQce1JMUKOdADDig9DcvdYRmkFRSQaFM7jvBTuqh\n\tz", "X-Gm-Gg": "ASbGnctZM7F7Dr0sEiOYi/WWr4LWTwNO2VVW6ay1EEvRJbi6/ZQ3yxVnCJBKf1ql5p5\n\tHKUEUAd9OoVBNVmKOvFCI5CeWHC6V6+F76Vagukzf6wBBpGyOTBoVt7gTut6E+XaLKDW0mv1Tx7\n\t/TRqJdgh6KhM2JObf9ANRl+G7lJiMu4iX19vy/BVkkdvx42Ko/65Hv/H34HKAZ8iDLWKfX2k4iC\n\tvGVR4T8rxLPn8ZuXukL8Z0TVcUAFX2krk50FosPykHxygewbevdMQd+hJE/K+dvA+Zwy13q4gLs\n\tjml/JCismxL9", "X-Google-Smtp-Source": "AGHT+IGbJf7SVMJ0gji+EXBevVf0v7oTanxvjySagrNgvUwbEUvLcc3XYdzn6iBuSZmdIxfqmT741w==", "X-Received": "by 2002:a05:600c:1d1f:b0:434:f131:1e64 with SMTP id\n\t5b1f17b1804b1-4365535de80mr35777565e9.9.1734544995927; \n\tWed, 18 Dec 2024 10:03:15 -0800 (PST)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "David Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tNaushir Patuck <naush@raspberrypi.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>", "Subject": "[PATCH v2 1/3] controls: Add FrameWallClock control", "Date": "Wed, 18 Dec 2024 18:03:08 +0000", "Message-Id": "<20241218180310.7824-2-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20241218180310.7824-1-david.plowman@raspberrypi.com>", "References": "<20241218180310.7824-1-david.plowman@raspberrypi.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "libcamera-devel@lists.libcamera.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "<libcamera-devel.lists.libcamera.org>", "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>", "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>", "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>", "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>", "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add a FrameWallClock control that reports the same moment as the\nframe's SensorTimestamp, but in wallclock units.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/control_ids_core.yaml | 18 +++++++++++++++---\n 1 file changed, 15 insertions(+), 3 deletions(-)", "diff": "diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex 073e0611..8485f7e8 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1,6 +1,4 @@\n-# SPDX-License-Identifier: LGPL-2.1-or-later\n-#\n-# Copyright (C) 2019, Google Inc.\n+\n #\n %YAML 1.1\n ---\n@@ -1015,4 +1013,18 @@ controls:\n description: |\n Enable or disable the debug metadata.\n \n+ - FrameWallClock:\n+ type: int64_t\n+ description: |\n+ This timestamp corresponds to the same moment in time as the\n+ SensorTimestamp, but is represented as a wall clock time as measured by\n+ the CLOCK_REALTIME clock.\n+\n+ Being a wall clock measurement, it can be used to synchronise timing\n+ across different devices.\n+\n+ \\sa SensorTimestamp\n+\n+ The FrameWallClock control can only be returned in metadata.\n+\n ...\n", "prefixes": [ "v2", "1/3" ] }