Patch Detail
Show a patch.
GET /api/patches/22500/?format=api
{ "id": 22500, "url": "https://patchwork.libcamera.org/api/patches/22500/?format=api", "web_url": "https://patchwork.libcamera.org/patch/22500/", "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": "<20250109143211.11939-2-david.plowman@raspberrypi.com>", "date": "2025-01-09T14:32:05", "name": "[v3,1/7] controls: Add FrameWallClock control", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "1192179c58a0df5a89b7bee1a0d799d0e5e36413", "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/22500/mbox/", "series": [ { "id": 4939, "url": "https://patchwork.libcamera.org/api/series/4939/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4939", "date": "2025-01-09T14:32:04", "name": "Camera synchronisation", "version": 3, "mbox": "https://patchwork.libcamera.org/series/4939/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/22500/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/22500/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 5DE00C32EA\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 9 Jan 2025 14:32:21 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 34EDD684EA;\n\tThu, 9 Jan 2025 15:32:18 +0100 (CET)", "from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n\t[IPv6:2a00:1450:4864:20::32e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E24D2684E0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 9 Jan 2025 15:32:15 +0100 (CET)", "by mail-wm1-x32e.google.com with SMTP id\n\t5b1f17b1804b1-436249df846so7781685e9.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 09 Jan 2025 06:32:15 -0800 (PST)", "from raspberrypi.pitowers.org\n\t([2a00:1098:3142:1f:ffc9:aff6:7f7f:893b])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-38a8e4b80b2sm1952569f8f.80.2025.01.09.06.32.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 09 Jan 2025 06:32: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=\"pH2dbdOs\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1736433135; x=1737037935;\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=FK56TuW/KQijiRb8LKpul7gor7QkK2FNyQNIdQ+Swkk=;\n\tb=pH2dbdOsf3S/OhZVqewff8gmW1DkUkZgZHzxd9sXdzG2jlNzyNrNcNYA6t78iX3tZz\n\teI6s02yb/hjpXVctB0G+PQjyLBVUyKV/RqmnasRsyNXSKVnGw0psHD8N9Vf/Nqby+ycU\n\tLHrrebcbcSNAWRrPzII8HF6lV4+hu6D9lHaXcV4qhpGT/At43IFfDGnXP+pjO7HZl0lB\n\tjYn78uZfT3SR6hwmjyH0X//wPvbygEaLkOuwqshMr1Qc5z4yK3t0TtU+NviW7txt0Prn\n\tz2YOw3GXmJwaGws2DUg2Yueo+Y1yPW4Oetgamufa63ttNahAUZle2IFX4CT4ZrwF8V+v\n\t7DcQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1736433135; x=1737037935;\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=FK56TuW/KQijiRb8LKpul7gor7QkK2FNyQNIdQ+Swkk=;\n\tb=P25YHmbltffUgpHWMURD0t6RIAfLieqLZLTBHZ7EaKt83ZsrexxjWaoEAa/0nV6JEC\n\tTSU5JSelvdGIKrv3fvHDbxwGwkimD9mB8dhbQPoifFoByYDokF4Zunky3v9gNGvWc1wI\n\tpROv6kdN1i0S2ngYznX/VX/zPzMoKu5Vek3s3ZPNu0CZcW3CfWWJMQ2wGOV6NeoqWHPK\n\tf97JBuhVnq6n/ax+9neUmemtwxKca8dJF3UUkAfmLv1SvF16MBiF1GQsvkLmG9ii9Nqj\n\tjVMAAYejtQefE9DCa+SJMEvMMED3x6KjD2wSsq5AH8XNXqot0jJVFoJ+310C+8pprNO4\n\tDRMQ==", "X-Gm-Message-State": "AOJu0YwHWAJ5LNBfz7skKfGyxtm6rZCOYZesmC3QhZ+XtW/CVaHog+Tl\n\tAgR8pQEBKnUunUPEGnDNmTt+hNdnShfCioto3a2xdcIcG3Mm5O4IcMpjni0G4mCXfdzq8uzBIfc\n\tY", "X-Gm-Gg": "ASbGnctdqZkvl5F5i0MvYX6MAZWWbzH4Zx3VJeYQ6jqQdJdh8akDqEpbzECf8R4uz6Z\n\t8HPp8ZRGhBp7bim8dmtgBGq2zufSQxmNKKFpLPS+emzOrVVAwgUgH9lX/iXhbMy4vJSZPG04wod\n\t6tRECQBuQ4/bHYzlZU0fS07xvmjQvmK92Lzk2HlABXJXmeeeYivwqzsZp6TC7+Ci2RdZmn3E61O\n\t/DOILIxZzVncjxeaOkkcnytDZ50t4/yEYU465yGq1PURiDzFJhIu3OywaRZyuazlYQYi5AWzFoU\n\t6jpBzEPG33ah", "X-Google-Smtp-Source": "AGHT+IEO3VqYmxG0ReB1StjX43HzdN+UpSjR0NN3IrPy2vGUx4dvngLFcoTItOI0Tgmbb4K8G6EZ5w==", "X-Received": "by 2002:a05:600c:5698:b0:434:a7f1:6545 with SMTP id\n\t5b1f17b1804b1-436e2d91910mr56188355e9.27.1736433135221; \n\tThu, 09 Jan 2025 06:32: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 v3 1/7] controls: Add FrameWallClock control", "Date": "Thu, 9 Jan 2025 14:32:05 +0000", "Message-Id": "<20250109143211.11939-2-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20250109143211.11939-1-david.plowman@raspberrypi.com>", "References": "<20250109143211.11939-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 | 15 +++++++++++++++\n 1 file changed, 15 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex 1dfaee0c..b0555d76 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1049,4 +1049,19 @@ controls:\n description: |\n Enable or disable the debug metadata.\n \n+ - FrameWallClock:\n+ type: int64_t\n+ direction: out\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": [ "v3", "1/7" ] }