Patch Detail
Show a patch.
GET /api/1.1/patches/10671/?format=api
{ "id": 10671, "url": "https://patchwork.libcamera.org/api/1.1/patches/10671/?format=api", "web_url": "https://patchwork.libcamera.org/patch/10671/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20201216112202.5063-2-naush@raspberrypi.com>", "date": "2020-12-16T11:22:00", "name": "[libcamera-devel,v9,1/3] libcamera: controls: Add frame duration control", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "00e10dcde697c49ecfac78f9d944cd5a240b53da", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/10671/mbox/", "series": [ { "id": 1535, "url": "https://patchwork.libcamera.org/api/1.1/series/1535/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1535", "date": "2020-12-16T11:21:59", "name": "raspberrypi: FPS control", "version": 9, "mbox": "https://patchwork.libcamera.org/series/1535/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/10671/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/10671/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 24CFAC0F1A\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 16 Dec 2020 11:22:09 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CB95561592;\n\tWed, 16 Dec 2020 12:22:08 +0100 (CET)", "from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com\n\t[IPv6:2a00:1450:4864:20::42f])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 36CD96158A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 16 Dec 2020 12:22:07 +0100 (CET)", "by mail-wr1-x42f.google.com with SMTP id q18so15295586wrn.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 16 Dec 2020 03:22:07 -0800 (PST)", "from naushir-VirtualBox.pitowers.org\n\t([2a00:1098:3142:14:a00:27ff:fe4d:f6a2])\n\tby smtp.gmail.com with ESMTPSA id\n\tl8sm2766941wrb.73.2020.12.16.03.22.05\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 16 Dec 2020 03:22:05 -0800 (PST)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"IOivdRXh\"; 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\t:mime-version:content-transfer-encoding;\n\tbh=gH8HMYcOquTPDuesHKOTcqJ/C07iagYJVPlUMXZ+2JM=;\n\tb=IOivdRXhvi+CfuYbzXoDtzCtn/eEwFUm1ea8BcfaR/UDKkz7/LGsFJ0mjIp3HzXBvC\n\tj/2MHMQO7qS3Lk2QLF+J1lDTiz9ollB8eNu8gdqUD0ZesNBgVwgd4GzkTYkC6BIzjRiC\n\tsZJnxkbsblpiFZWzFU49A1JggsSH9rPThw3UGZxXJgv0HM03SOSaJTM7FKT6eqN4HuEe\n\tEbOTAgn9R5R+i/01PYTylESsu/N9/34C90nl6kxtZ0YcPzQXQOna9ushfNPosaxJjelL\n\t72FwmgRC11LqC/kttjEbAjNj2Hhsu3b2tbstwd7VSnesXms97KLKDeEtOuGZHsLwsP9b\n\tuM2Q==", "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:mime-version:content-transfer-encoding;\n\tbh=gH8HMYcOquTPDuesHKOTcqJ/C07iagYJVPlUMXZ+2JM=;\n\tb=k2LZSV41hXpBgih8TK7EaOJMPsT2r6OkJhpBxzEOSOWwBMsFuhHfvaQyJylXUlFxQC\n\tmzHKO2XVNbjFX1nkU9DAmRBylJ+MXMkGp6lY6jes0SvStd3GKIzpYo9H4If9ltZYokC+\n\tu3v3XCHH1ob+BG7E5PEFhRLfQhJ2FDVcXWURoawd4TvdsZVbkhBceSnWNarmKTCSvjQu\n\taM1AWY0e8JUOKz2upmHA8/hhCb7cdp2AbDk2KBEUjctk+JS4M5LKPByKMPBMGsKTwCXG\n\tl6KDrR0nvNERt/9c4kj51Hl9GvcyrVyBtZWTMz0x6POgdtqtoNYf1sOWY/SMRvsF7xkS\n\tG8+g==", "X-Gm-Message-State": "AOAM531Es5M1r4wDYebhA0NeuyRnYR86xfDTuMvRpZv8xyhCoW58VG+n\n\t6ZdJeiweUPR8tVGTvzmCOaZz2KFrvbBQ/g==", "X-Google-Smtp-Source": "ABdhPJw9YzNpIttlUosdOQnIxTlB0Zo2q+3RU4AhUD48JqI8Njt6tVgsN1B/D0N8CzcC/qmLctgOqw==", "X-Received": "by 2002:a5d:6902:: with SMTP id\n\tt2mr37733385wru.214.1608117726590; \n\tWed, 16 Dec 2020 03:22:06 -0800 (PST)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 16 Dec 2020 11:22:00 +0000", "Message-Id": "<20201216112202.5063-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20201216112202.5063-1-naush@raspberrypi.com>", "References": "<20201216112202.5063-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH v9 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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Add an int64_t 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>\nReviewed-by: David Plowman <david.plowman@raspberrypi.com>\nTested-by: David Plowman <david.plowman@raspberrypi.com>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/control_ids.yaml | 40 ++++++++++++++++++++++++++++++++++\n 1 file changed, 40 insertions(+)", "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 6d6f0fee..43a7cfb7 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -306,6 +306,46 @@ controls:\n maximum valid value is given by the properties::ScalerCropMaximum\n property, and the two can be used to implement digital zoom.\n \n+ - FrameDurations:\n+ type: int64_t\n+ description: |\n+ The minimum and maximum (in that order) frame duration,\n+ expressed in micro-seconds.\n+\n+ When provided by applications, the control specifies the sensor frame\n+ duration interval the pipeline has to use. This could also limit the\n+ largest exposure time 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 to raise the exposure time above\n+ 33ms. A fixed frame duration is achieved by setting the minimum and\n+ maximum values to be the same.\n+\n+ The maximum frame duration provides the absolute limit to the shutter\n+ speed computed by the AE algorithm and it overrides any exposure mode\n+ setting specified with controls::AeExposureMode. Similarly, when a\n+ manual exposure time is set through controls::ExposureTime, it also\n+ gets clipped to the limits set by this control.\n+\n+ \\sa AeExposureMode\n+ \\sa ExposureTime\n+\n+ \\todo Refer to the frame duration limits property to describe how\n+ application-provided values gets clipped and reset.\n+\n+ When reported by pipelines, the control expresses the duration of the\n+ sensor frame used to produce streams part of the completed Request.\n+ The minimum and maximum values shall then be the same, as the sensor\n+ frame duration is a fixed parameter. The sensor frame duration is one\n+ of the parameter that defines the capture frame rate but it does not\n+ alone provide enough information to fully calculate it as it does not\n+ account for pipeline processing delays.\n+\n+ \\todo Define how to calculate the capture frame rate by\n+ defining controls to report additional delays introduced by\n+ the capture pipeline or post-processing stages (ie JPEG\n+ conversion, frame scaling).\n+ size: [2]\n+\n # ----------------------------------------------------------------------------\n # Draft controls section\n \n", "prefixes": [ "libcamera-devel", "v9", "1/3" ] }