Patch Detail
Show a patch.
GET /api/patches/26050/?format=api
{ "id": 26050, "url": "https://patchwork.libcamera.org/api/patches/26050/?format=api", "web_url": "https://patchwork.libcamera.org/patch/26050/", "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": "<20260130080935.2569621-2-paul.elder@ideasonboard.com>", "date": "2026-01-30T08:09:32", "name": "[v2,1/4] controls: Add SyncAdjustment and SyncInterface controls", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "7aee060c2005df8cc5ae5d06ace5c729c2e2ce61", "submitter": { "id": 17, "url": "https://patchwork.libcamera.org/api/people/17/?format=api", "name": "Paul Elder", "email": "paul.elder@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/26050/mbox/", "series": [ { "id": 5759, "url": "https://patchwork.libcamera.org/api/series/5759/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5759", "date": "2026-01-30T08:09:31", "name": "Add Sync Layer", "version": 2, "mbox": "https://patchwork.libcamera.org/series/5759/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/26050/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/26050/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 23B8CC3226\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 30 Jan 2026 08:09:53 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D2DA061FC6;\n\tFri, 30 Jan 2026 09:09:52 +0100 (CET)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 1B80661FC6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 30 Jan 2026 09:09:51 +0100 (CET)", "from neptunite.hamster-moth.ts.net (unknown\n\t[IPv6:2404:7a81:160:2100:ec11:5e0c:deb8:1e2d])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 92369122A;\n\tFri, 30 Jan 2026 09:09:10 +0100 (CET)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"dW8lDmH+\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769760552;\n\tbh=Tj7WSS2gUoMIzfcyQsxZhS7kG2I6xoxUFF6NwosZ5e8=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=dW8lDmH+d9Vz08JpJZF3sbSaSAHK289ZOKBjvDUCHtuCOciWxePJBdT1Cn6D41Et3\n\toDzwfwP4xg5jNBxmI5INmJecLCmV/R7S/n/qOqOGx8E4i6F2pCs2IhbYbAvtdWtbxo\n\tm1h9uDz7DPcpdCWjYXHRaQXcwlrCrjyaJwld5/YM=", "From": "Paul Elder <paul.elder@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "Paul Elder <paul.elder@ideasonboard.com>, david.plowman@raspberrypi.com, \n\tnaush@raspberrypi.com, kieran.bingham@ideasonboard.com,\n\tstefan.klug@ideasonboard.com, Isaac Scott <isaac.scott@ideasonboard.com>", "Subject": "[PATCH v2 1/4] controls: Add SyncAdjustment and SyncInterface\n\tcontrols", "Date": "Fri, 30 Jan 2026 17:09:32 +0900", "Message-ID": "<20260130080935.2569621-2-paul.elder@ideasonboard.com>", "X-Mailer": "git-send-email 2.47.2", "In-Reply-To": "<20260130080935.2569621-1-paul.elder@ideasonboard.com>", "References": "<20260130080935.2569621-1-paul.elder@ideasonboard.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 couple of controls related to the sync algorithm.\n\nThe SyncAdjustment control signals to the Camera the amount to adjust\nthe frame duration by for a single frame. Any Camera that implements\nthis control (and FrameDurationLimits and SensorTimestamp metadata) will\nbe supported by the sync algorithm layer.\n\nThe SyncInterface control signals to the sync layer which network\ninterface to use for listening (on client mode) or for multicasting (on\nserver mode). Given that enabling/disabling sync is done via control (as\nopposed to always being on via environment variable), choosing the\nnetwork interface should be chosen in a similar manner.\n\nSigned-off-by: Paul Elder <paul.elder@ideasonboard.com>\nReviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>\n\n---\nNo change in v2\n---\n src/libcamera/control_ids_core.yaml | 23 +++++++++++++++++++++++\n 1 file changed, 23 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml\nindex f26a1b1b08bd..2f0eea24850a 100644\n--- a/src/libcamera/control_ids_core.yaml\n+++ b/src/libcamera/control_ids_core.yaml\n@@ -1361,4 +1361,27 @@ controls:\n description: |\n Enable or disable the lens shading correction.\n \n+ - SyncAdjustment:\n+ type: int32_t\n+ direction: inout\n+ description: |\n+ This is an adjustment value that can be either positive or negative, in\n+ microseconds, that tells the Camera how much to adjust the frame\n+ duration by. This is meant to be used by the Sync layer, and any camera\n+ that implements this control (and FrameDurationLimits) will be\n+ supported by the sync layer. When reported in metadata, this reports\n+ any frame duration adjustment that occurred based on the control value\n+ that was passed in.\n+\n+ - SyncInterface:\n+ type: string\n+ direction: inout\n+ description: |\n+ This is the IP address of the network interface to use for the Sync\n+ algorithm provided by the Sync layer. When set using the SyncMode\n+ control to client mode, this will be the network interface to listen\n+ on, and for server mode it will multicast from this network interface.\n+ If no network interface is supplied by this control then INADDR_ANY\n+ will be used.\n+\n ...\n", "prefixes": [ "v2", "1/4" ] }