Patch Detail
Show a patch.
GET /api/patches/3785/?format=api
{ "id": 3785, "url": "https://patchwork.libcamera.org/api/patches/3785/?format=api", "web_url": "https://patchwork.libcamera.org/patch/3785/", "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": "<20200513091120.1653-2-naush@raspberrypi.com>", "date": "2020-05-13T09:11:18", "name": "[libcamera-devel,v2,1/3] libcamera: controls: Add frame duration control", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "8a9eb1e6d11036d8c8ce4941a3405010d22d58b3", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/3785/mbox/", "series": [ { "id": 902, "url": "https://patchwork.libcamera.org/api/series/902/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=902", "date": "2020-05-13T09:11:17", "name": "raspberrypi: FPS control", "version": 2, "mbox": "https://patchwork.libcamera.org/series/902/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/3785/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/3785/checks/", "tags": {}, "headers": { "Return-Path": "<naush@raspberrypi.com>", "Received": [ "from mail-wm1-x342.google.com (mail-wm1-x342.google.com\n\t[IPv6:2a00:1450:4864:20::342])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0F4A1603DE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 May 2020 11:12:42 +0200 (CEST)", "by mail-wm1-x342.google.com with SMTP id m24so16132897wml.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 13 May 2020 02:12:42 -0700 (PDT)", "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tn128sm8500184wmb.47.2020.05.13.02.12.40\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 13 May 2020 02:12:41 -0700 (PDT)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"RBxIQZeq\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=wxsjKjlCPtzzs1hFmz66P/oj6BqY9Ix+krx70nAjceU=;\n\tb=RBxIQZeq3TwFN5qe6gSj3A6LmiB4qrU/di8f7393Low51yZm6LEK9DNOpmHfXyBONx\n\tNLr+QQfbmVQlSguIUfKNnMbMWaaqe95YfT5PyQo/494tJoaFNmQ3PPvnD5cGzHWM3zIU\n\tsRwSwa1t1yNiDXrKFTEQvhDjXys5pQIAlBifw76/Heb/1aJWjC7iV7JexYYtiagpeDpC\n\tHec7DO22eL/SFzFHvr3h9dHwLhh9lD8QOa3hhwr80aNHWp1vM/0K5/8nE7ALe2hygIpo\n\t6mDotYr5jR0EgIdOwarA1Cu5xaT77sz7Wq95Ks3iBOzhEYYsCydM62fvvrGdvH/cNN6L\n\tQhrw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=wxsjKjlCPtzzs1hFmz66P/oj6BqY9Ix+krx70nAjceU=;\n\tb=dpnQ2OC16DjNFz7re4rQtnSsBTDwPKYLVKAxJLELBV8WXlrBsHL3pFwM4tq4TtpDo3\n\tClCXcNavM8em4qoTMSrBfiQ6UQvZl34X6vcV5/aRZKHV8sPZMeJe0j3RmKw0CTn5+Km7\n\tlV5VGFKx//o1QPi6lCEszlniASs189zG3M4zRaLgVyXUjyq+YZA3w5mruFKN2ncJ2Tm1\n\tt9p3cLuUKrokJO8OOk1VGhp9goUOuD+MtBl2CN0tyTJ/fKgSNABnoGQyDhmppddnRIfZ\n\t/Q5jB2/LK86LTDBAb9b8LQ+QjtekkY4LIcesvZEX8EVf7/Ky5orXt4zVhDOdjKZ4Negc\n\ti4QA==", "X-Gm-Message-State": "AGi0PuaKeTY9BG3lQbh9xf0IyxSFbOOeKteZzAGj4LlwrDs5hsjt234c\n\txsjXcG7M0c+kMT6DOrK9yCD0CBBxXAytmw==", "X-Google-Smtp-Source": "APiQypI2S0nrOt3WHCaFGCSrFcXM86NBZdKhxMIC0xdr0Fe9E8KpXsDt2IwzVv9g3w/WE+GW8GmpmA==", "X-Received": "by 2002:a05:600c:218e:: with SMTP id\n\te14mr44109366wme.140.1589361161598; \n\tWed, 13 May 2020 02:12:41 -0700 (PDT)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 13 May 2020 10:11:18 +0100", "Message-Id": "<20200513091120.1653-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20200513091120.1653-1-naush@raspberrypi.com>", "References": "<20200513091120.1653-1-naush@raspberrypi.com>", "Subject": "[libcamera-devel] [PATCH v2 1/3] libcamera: controls: Add frame\n\tduration control", "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>", "X-List-Received-Date": "Wed, 13 May 2020 09:12:42 -0000" }, "content": "Add a float array control (controls::FrameDurations) to specify the\nminimum and maximum (in that order) frame duration to be used by the\ncamera sensor.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 77ebc3f9..42694fc7 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -239,4 +239,18 @@ controls:\n pixel range (as if pixels ranged from 0 to 65535). The SensorBlackLevels\n control can only be returned in metadata.\n size: [4]\n+\n+ - FrameDurations:\n+ type: float\n+ description: |\n+ Specifies the minimum and maximum (in that order) allowable frame\n+ duration, in micro-seconds, for the sensor to use. This could also limit\n+ the largest exposure times the sensor can use. For example, if a maximum\n+ frame duration of 33ms is requested (corresponding to 30 frames per\n+ second), the sensor will not be able raise the exposure time above 33ms.\n+ Note that the sensor may not always be able to provide the requested\n+ frame duration limits depending on its mode configuration.\n+\n+ \\sa ExposureTime\n+ size: [2]\n ...\n", "prefixes": [ "libcamera-devel", "v2", "1/3" ] }