Show a patch.

GET /api/patches/3988/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 3988,
    "url": "https://patchwork.libcamera.org/api/patches/3988/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3988/",
    "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": "<20200608133639.533230-2-naush@raspberrypi.com>",
    "date": "2020-06-08T13:36:37",
    "name": "[libcamera-devel,v3,1/3] libcamera: controls: Add frame duration control",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "debf975ee71af3346698fa58cee3c239ce519c9e",
    "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/3988/mbox/",
    "series": [
        {
            "id": 974,
            "url": "https://patchwork.libcamera.org/api/series/974/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=974",
            "date": "2020-06-08T13:36:36",
            "name": "raspberrypi: FPS control",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/974/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3988/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3988/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<naush@raspberrypi.com>",
        "Received": [
            "from mail-wr1-x432.google.com (mail-wr1-x432.google.com\n\t[IPv6:2a00:1450:4864:20::432])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BF42761687\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  8 Jun 2020 15:36:46 +0200 (CEST)",
            "by mail-wr1-x432.google.com with SMTP id x14so17440159wrp.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 08 Jun 2020 06:36:46 -0700 (PDT)",
            "from naushir-VirtualBox.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\to10sm23825072wrj.37.2020.06.08.06.36.44\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 08 Jun 2020 06:36:44 -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=\"LQfjmsNe\"; 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=LUgymWqGQawv2fw92HlKcH2v6acyH8c8JAMYhhxjC/8=;\n\tb=LQfjmsNeiVP9Etz4l24YInQchn0NfPiUT4CO7EAztVhlTxsWkrfQZ6tCYbUGVYaBrw\n\t+zYp5NHI2g+rGIMbOiFdnsNqpIXSxLMgOg1J6MBvUlvvhdafukU5HhI/25zGYf2e2B1D\n\tcbxMDiBRgeyhCpEHBwZfh1lkPx7x6N8RJSaP/k0DWUHEqn5Zb3qdE0TF9kjVfgOtOFzj\n\txaz8QgzO9aeIaFHBOtH/RDXHU98HX2IA0WkzkejcenIQ3j9zwE333u45YY055ksV1dRc\n\t4U4uf/TNf0bgFDHXd7hdetc8T26gLQwm6tGqeZGVaP6ZlEHZ7DovmiGWbAhPD1ebYBjF\n\t2Akw==",
        "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=LUgymWqGQawv2fw92HlKcH2v6acyH8c8JAMYhhxjC/8=;\n\tb=UQfMxRJtb5dm3UNWtSQXAjlS4xpA6VLSfU2io0NRhgNvbe7z4hd1flu/5vJpfAmX8i\n\twEYSVxqauYF73/625WuOw+0CZlALBlZVbNRUCj0yZ+Op7vZvH+k9uIVetjcww/zjWyks\n\tNyBaP4KYMVJgYQSIkznZfVZ/Uy/IX5HOKSd9oEAWD7wDdaf2Gzmg67AbHzLqfRaUEEyU\n\tOGE2Xvj+R9c9+Uq5EYHLfuQgw4jbVxO+C5pFLPRPSNtYZ2mFlkBlJWMjX/11ndG0mw6m\n\tSAdAlhWk5SBFjKWh4QcLT2nKvGVWi+7RUMxsHxkf9VwM0u25z2Dlo0CJUxe0MHw5bmpi\n\tphpg==",
        "X-Gm-Message-State": "AOAM532SISz2KOWH/I75EXzGYJShSsaz++lHvhRycbao3cpSe14bUXqm\n\tG98siBBDrmP73ohTLAVmulqse3TkYfg=",
        "X-Google-Smtp-Source": "ABdhPJytpN7Cla5P6T5RfYOwcWXw3Yu3znHcYjBQru2OM4W+vzDjvudW9cmg7crF05aBv4NC/OPFTA==",
        "X-Received": "by 2002:adf:f64c:: with SMTP id\n\tx12mr22302118wrp.281.1591623405787; \n\tMon, 08 Jun 2020 06:36:45 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  8 Jun 2020 14:36:37 +0100",
        "Message-Id": "<20200608133639.533230-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200608133639.533230-1-naush@raspberrypi.com>",
        "References": "<20200608133639.533230-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 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": "Mon, 08 Jun 2020 13:36:47 -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 | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 77ebc3f9..e161464b 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -239,4 +239,22 @@ 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+  - FrameDurationLimits:\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+        FrameDurationLimits is only applied if AE is enabled.\n+\n+        Note that the sensor may not always be able to provide the requested\n+        frame duration limits depending on its mode configuration. In such\n+        situations, the user requested minimum and maximum frame durations will\n+        be clipped to what the sensor supports.\n+\n+        \\sa ExposureTime AeEnable\n+      size: [2]\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "1/3"
    ]
}