Patch Detail
Show a patch.
GET /api/patches/22212/?format=api
{ "id": 22212, "url": "https://patchwork.libcamera.org/api/patches/22212/?format=api", "web_url": "https://patchwork.libcamera.org/patch/22212/", "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": "<20241206142742.7931-2-david.plowman@raspberrypi.com>", "date": "2024-12-06T14:27:38", "name": "[1/5] controls: Add FrameWallClock control", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "46a5f917b3a2a45f441c3db9b74e3b0f7edcdb96", "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/22212/mbox/", "series": [ { "id": 4856, "url": "https://patchwork.libcamera.org/api/series/4856/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4856", "date": "2024-12-06T14:27:37", "name": "Implement wallclock timestamps for frames", "version": 1, "mbox": "https://patchwork.libcamera.org/series/4856/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/22212/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/22212/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 8D419BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 6 Dec 2024 14:27:54 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 966B366175;\n\tFri, 6 Dec 2024 15:27:50 +0100 (CET)", "from mail-wm1-x329.google.com (mail-wm1-x329.google.com\n\t[IPv6:2a00:1450:4864:20::329])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 95CAA66158\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 6 Dec 2024 15:27:46 +0100 (CET)", "by mail-wm1-x329.google.com with SMTP id\n\t5b1f17b1804b1-434a9f2da82so14413385e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 06 Dec 2024 06:27:46 -0800 (PST)", "from localhost.localdomain ([88.202.252.90])\n\tby smtp.gmail.com with ESMTPSA id\n\tffacd0b85a97d-386220b071dsm4608219f8f.101.2024.12.06.06.27.45\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 06 Dec 2024 06:27:45 -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=\"bAbjHXHO\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google; t=1733495266; x=1734100066;\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=Ix5wJI5o5aG4F8QgGrowVLLKPUwwpcwGZhwknVZBHnc=;\n\tb=bAbjHXHOelFxx712eez0mE6q6u5ghnyWS0rBbhzV+cnno9tTFu0gADZ4nMEQ6hxY4g\n\tme0MtSvKaVHLYG6CwqATvYOVu6CxejJjm6gtHwL6zPT53hnDC81JFT93Mod02xt4Gsqj\n\tQ8veguoWF/70Xavz6Dy1KipTgWGds7L59GVazCc4H+N4W4w4pz7j7oe/jFaQnGFhNwC3\n\tR8KPPi4wNd8I3S5J3iwbBiQj5vfCwj6BBgYRdRK7KRbeWUPYqA23Cv/WbAJmiBab7JVh\n\tOCteCsTTNL2DicohIE+fnCoQuqTrW9pw1TfqHbJp03cCz2yvpDetSa5811MsKAM9LIGf\n\tHrXA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1733495266; x=1734100066;\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=Ix5wJI5o5aG4F8QgGrowVLLKPUwwpcwGZhwknVZBHnc=;\n\tb=aOA+4Dt4fCepfpGTpZbHTnuEzosiyZPhHoIzl5x3djKDJzIiZ2l2fa0H6j0uKjn1hy\n\t2FHCF3mmU6Zvzf+ypw8DUEa+zCYmhmoaxJXYJqNoY+4BpQwC+KlJiv3Mw1GeaMGFXeHk\n\t/V6Z9Dn8nnsEdbXetH606OZOzXvLx6wyb6FJhdXTGMHysn5AvqGKFZM2RRd/ZG0SkPji\n\tIkdMnG54DWA5mBsbzyuGMSvCFPt6DKmhLkqUA0i01/isFefPEDW+BEehr4K3KJPPWJQM\n\tvonxxtk+uEMIgGCL8+Btr1ceakYg1SP+dzcZpdE1Rk8laTiVkdalhCapVPig5ZlKVKYc\n\tichw==", "X-Gm-Message-State": "AOJu0YwBK9ElVogO2Fq20s1BlrXdOJgurorFm8+RWMsTtGa7Skh63V+/\n\tqUhZQUsgki1OhYpZVHFOWfQeSJo0ztp9VhXYXmyXwnVpwqLDT1KH5vL1pCJneve59JMYnRB0SAr\n\tc", "X-Gm-Gg": "ASbGncuZzidmLEErD89My1ptOp93vS2ZFZBDrr719edIpYD3uG28/jAMpkUieFvHzgf\n\tpBsUrhH9s/WYcZCalZXF31oyOCFhFsm3dVWyOkRCgDOSvMnKrxu+ppjaFYaic68M+d/UDKqAZgz\n\tSUPw+2XoSTZR1MUlPY0f9/GATP/8wijct/7tSdj82Rzka6ZVyof+XaqGFgmZuxpiLsOLyl+NRzi\n\tLMPdz9nQV4mqBs+Ld9p2nmkEfkgTVYHOcEif/uav1lu35TKdi9wFp16DBxWWAJM9bVtff3apyA=", "X-Google-Smtp-Source": "AGHT+IF0Udg/FhpCltpUlBqjSU3EGJbhseUhuu/cEkZHmRB+cMRxy/aIkD9Kn5DHsETac8i8rrMIWA==", "X-Received": "by 2002:a05:600c:1d21:b0:434:9cc4:5139 with SMTP id\n\t5b1f17b1804b1-434ddeb0492mr33102595e9.17.1733495265845; \n\tFri, 06 Dec 2024 06:27:45 -0800 (PST)", "From": "David Plowman <david.plowman@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "David Plowman <david.plowman@raspberrypi.com>", "Subject": "[PATCH 1/5] controls: Add FrameWallClock control", "Date": "Fri, 6 Dec 2024 14:27:38 +0000", "Message-Id": "<20241206142742.7931-2-david.plowman@raspberrypi.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20241206142742.7931-1-david.plowman@raspberrypi.com>", "References": "<20241206142742.7931-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>\n---\n src/libcamera/control_ids_core.yaml | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex d45cf8e5..d951b2a3 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -971,4 +971,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 Linux-specific CLOCK_REALTIME clock id.\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": [ "1/5" ] }