Show a patch.

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

{
    "id": 3064,
    "url": "https://patchwork.libcamera.org/api/patches/3064/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3064/",
    "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": "<20200309123319.630-7-naush@raspberrypi.com>",
    "date": "2020-03-09T12:33:19",
    "name": "[libcamera-devel,v2,6/6] libcamera: controls: Add controls to report back frame metadata",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "3d8891fe0c6ab734643e64e0b4ddbcbf4d1dc9ee",
    "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/3064/mbox/",
    "series": [
        {
            "id": 715,
            "url": "https://patchwork.libcamera.org/api/series/715/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=715",
            "date": "2020-03-09T12:33:13",
            "name": "Patchset for libcamera controls",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/715/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3064/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3064/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<naush@raspberrypi.com>",
        "Received": [
            "from mail-wm1-x341.google.com (mail-wm1-x341.google.com\n\t[IPv6:2a00:1450:4864:20::341])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F18C162972\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  9 Mar 2020 13:35:37 +0100 (CET)",
            "by mail-wm1-x341.google.com with SMTP id a5so9703188wmb.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 09 Mar 2020 05:35:37 -0700 (PDT)",
            "from naushir-VirtualBox.pitowers.org (cust51-dsl50.idnet.net.\n\t[212.69.50.51]) by smtp.gmail.com with ESMTPSA id\n\tz135sm25693827wmc.20.2020.03.09.05.35.36\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 09 Mar 2020 05:35:36 -0700 (PDT)"
        ],
        "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=yvDxK6RXexs/MMyq7bDDxHmdebvgZ3DHs6A8GssZCWY=;\n\tb=NcfxY2yKCAYaJvfx/YpdLXxuS/BCAYPSzfOxlvmLDUJwtyc+kfv8KgljN2cdgDIjrq\n\tYE04Ac83s/0RomM3t9e8p4oRTCU/nWIygCpS1rOquMk7wQJb4h9PyUhUz/3hfXaEYFDS\n\tg2n2ctsH6g3hBIg5AYp6mBIlJicYt4tw1uOrjWEZuXIYPvlCnSB2OLTeOCvlMPm8Fim9\n\tQrGdoR9UFGjYv9HQh0SHDILFjDX9LlSUDS8i1+R4DSsedvJ08vPs5qLyxvl5db2aQub5\n\tcES6Upc92pzzie7zs+qoMn2IRo+gVSHc5uoPhnKG/sJAKIOBd05uT41WSsqHAfLT9PDH\n\tpf2w==",
        "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=yvDxK6RXexs/MMyq7bDDxHmdebvgZ3DHs6A8GssZCWY=;\n\tb=nlTKwOHc3BnwkotskgvXCf8wfDw8uRIvk/QKwxLzOlv/JwAg1mXApk/RJq8QKUycHz\n\t0F4plXkKTERomtNgivqtGTXzePmkTUmz9xLceR/H/R2Ht8WkY65o/YbjlUkBTyHDrjez\n\tvQC7QDWpbMhlTST/KHtzl6jn+3A57KpZZAk6wPhUv05go5gR8dnXKsJEWHio5mMUGdaK\n\t4QTdDO6FVI9Q3TOL2iX0J5HWz0EZmLRpmP71aBWWH1KNHzACA1qJchBssu20FLAZt5Gf\n\tB1XqHgYQcDr7n4jhmhWNTeCKNLN9Ao+glxjSTqF8RVA4/8p8UGbGQyKVi+x2+z8Hzw5Y\n\tDYdQ==",
        "X-Gm-Message-State": "ANhLgQ3z2SzvPuGbFZhC2XpXO1tDIlbB8ZXDiZIwu6rkS2Emv4x4C/G0\n\tgnwHdTDjb9F4a50IEE2uuxrNy8jcaUGHQg==",
        "X-Google-Smtp-Source": "ADFU+vv16D9uyiOt12VYfYZ7ksBsUDmwzPOiXQYAEfrIF37UqHZHo0p0InuqHLT2+2V9dFUvw4tXXQ==",
        "X-Received": "by 2002:a1c:59c6:: with SMTP id\n\tn189mr19732043wmb.178.1583757337461; \n\tMon, 09 Mar 2020 05:35:37 -0700 (PDT)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  9 Mar 2020 12:33:19 +0000",
        "Message-Id": "<20200309123319.630-7-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200309123319.630-1-naush@raspberrypi.com>",
        "References": "<20200309123319.630-1-naush@raspberrypi.com>",
        "Subject": "[libcamera-devel] [PATCH v2 6/6] libcamera: controls: Add controls\n\tto report back frame metadata",
        "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, 09 Mar 2020 12:35:38 -0000"
    },
    "content": "Add controls to report the current frame's exposure and gain, and an\nestimate of the current lux level from the AE algorithm.\n\nAdd controls to report the red and blue colour gains, and an estimate of\nthe colour temperature from the AWB algorithm.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 28 ++++++++++++++++++++++++++++\n 1 file changed, 28 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 3d1b058f..ee93975e 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -138,6 +138,22 @@ controls:\n \n         \\sa ManualExposure\n \n+  - CurrentExposure:\n+      type: int32_t\n+      description: Report the exposure time in micro-seconds of this frame.\n+\n+        \\sa CurrentAnalogueGain\n+\n+  - CurrentAnalogueGain:\n+      type: float\n+      description: Report the analogue gain parameter for the current frame.\n+\n+        \\sa CurrentExposure\n+\n+  - CurrentLux:\n+      type: float\n+      description: Report an estimate of the current lux level.\n+\n   - AwbEnable:\n       type: bool\n       description: |\n@@ -190,6 +206,18 @@ controls:\n         in that order.\n       size: [2]\n \n+  - CurrentWbGains:\n+      type: float\n+      description: |\n+        Report the current gain AWB gain values for the Red and Blue colour\n+        channels, in that order.\n+      size: [2]\n+\n+  - CurrentTemperature:\n+      type: float\n+      description:  |\n+        Report the current estimate of the colour temperature for this frame.\n+\n   - Brightness:\n       type: int32_t\n       description: |\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "6/6"
    ]
}