Show a patch.

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

{
    "id": 2843,
    "url": "https://patchwork.libcamera.org/api/patches/2843/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2843/",
    "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": "<20200217142609.22837-4-naush@raspberrypi.com>",
    "date": "2020-02-17T14:26:09",
    "name": "[libcamera-devel,3/3] libcamera: controls: Add AE/AWB mode, manual and EV controls.",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "868f9581469e55df1c596d58960f98c0391d4354",
    "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/2843/mbox/",
    "series": [
        {
            "id": 679,
            "url": "https://patchwork.libcamera.org/api/series/679/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=679",
            "date": "2020-02-17T14:26:06",
            "name": "Patchset for libcamera controls",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/679/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2843/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2843/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 00AB5617B6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 17 Feb 2020 15:28:25 +0100 (CET)",
            "by mail-wm1-x342.google.com with SMTP id b17so18701345wmb.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 17 Feb 2020 06:28:24 -0800 (PST)",
            "from naushir-VirtualBox.pitowers.org (cust51-dsl50.idnet.net.\n\t[212.69.50.51]) by smtp.gmail.com with ESMTPSA id\n\tp15sm760960wma.40.2020.02.17.06.28.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tMon, 17 Feb 2020 06:28:24 -0800 (PST)"
        ],
        "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=uLQnWOAqxB0p6T2Eo7lR0VVhkPlZJIwfGfueX79Ynws=;\n\tb=QAXpa8ax0/vNtdKaIjMVK25CIie9OIcgfc0/g5m9oYTh029QLSLBNraEftcH0+eH7l\n\t5c1hs2iE5s6rvhNVnk+VrHUIS89XnGuJRaW8qq31Eb7hi63WcP3PXsooUv/Qly2ImmiQ\n\tBZIl3bbV1RmOZE7LxXXDVrj2JdzByt8BTl3sIgl9/OCiOa/FAWZhnnEQLwhuHJHIXGHC\n\t3FpVQOz8qglc4PUjswBuXBSVTdgPMe86jXf+J2brB9/ST+GWmY98YqhcNZwrr2lUxS5S\n\tXf4IpA4t7w/Rn71HOg6RTO2HxjqpEf/bVv4r0IBn2g+SBgRff51almF1UI1BMHl05h0Y\n\tp6sQ==",
        "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=uLQnWOAqxB0p6T2Eo7lR0VVhkPlZJIwfGfueX79Ynws=;\n\tb=UWXJr/6QhVZtqmGJ1vsu5Gojd0+t2LGiO7PryNxSrGPG80AAz+ZB7rRBVZmTshytPP\n\t0DcrZmn8HfTyEMOOKaKJwzYOoVoguSxa9lMz4dp1vuIb9KSNvqFFBkTaC5Zx+u0/+SgB\n\tTIcuoZdgqEew1Do0TXz7t1mEWnKQAmPl3LLQucg1nMsKigXLRhgf4qbFF2wjqJgHSGAb\n\tkPO5DjYR0eOC96PxK98EAr/lzj0ux09nSk3P4GcE3SEsGlCveXQl11MWQCklfX7jPkNo\n\tpRTfmKjrhaBiZrHNcR0pakcKrHcyqpow64+rNqXfIWrzq95j3j9DPzhbGatvtPx+OfJz\n\t4w2A==",
        "X-Gm-Message-State": "APjAAAXSAw2bmAYzpJnZc7S+x61vAgzfhEbmpQd1cDumeKyTo1LY48Hm\n\txcCWqmMbvVRGP7Fp2/11vAygLOrWbIOReA==",
        "X-Google-Smtp-Source": "APXvYqz9JnpBy+5YzUjA9akoTJS2B8Awi+IMnSUU2Tri147/L6KTrwfPoEI2h90emd0efQw5jdAYLQ==",
        "X-Received": "by 2002:a1c:16:: with SMTP id 22mr22416595wma.8.1581949704560;\n\tMon, 17 Feb 2020 06:28:24 -0800 (PST)",
        "From": "Naushir Patuck <naush@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Naushir Patuck <naush@raspberrypi.com>,\n\tNaushir Patuck <naush@raspberrypi.org>",
        "Date": "Mon, 17 Feb 2020 14:26:09 +0000",
        "Message-Id": "<20200217142609.22837-4-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200217142609.22837-1-naush@raspberrypi.com>",
        "References": "<20200217142609.22837-1-naush@raspberrypi.com>",
        "Subject": "[libcamera-devel] [PATCH 3/3] libcamera: controls: Add AE/AWB mode, \n\tmanual and EV controls.",
        "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, 17 Feb 2020 14:28:25 -0000"
    },
    "content": "AeMode is a new std::string type control used to set the AE algorithm\nmode. The mode may not always be supported by all platforms.\n\nAwbMode is a new std::string type control used to set the AWB algorithm\nilluminant mode. The mode may not always be supported by all platforms.\n\nEV is a new double type control used to set the log2 exposure adjustment\nfor the AE algorithm.\n\nManualGainR is a new double type control used to set the Red channel\ngain in manual AWB mode.\n\nManualGainB is a new double type control used to set the Blue channel\ngain in manual AWB mode.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.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 33062d6..21d2065 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -50,4 +50,44 @@ controls:\n       type: double\n       description: Specify a fixed gain parameter.\n \n+  - AeMode:\n+      type: std::string\n+      description: |\n+        Specify an exposure mode for the AE algorithm to use. The exposure modes\n+        supported are platform spcific, and not all modes may be supported.\n+\n+        Examples include \"normal\", \"sport\", \"low light\", etc.\n+\n+  - AwbMode:\n+      type: std::string\n+      description: |\n+        Specify the range of illuminant to use for the AWB algorihtm. The modes\n+        supported are platform specific, and not all modes may be supported.\n+\n+        Examples include \"auto\", \"incandescent\", \"daylight\", etc.\n+\n+  - EV:\n+      type: double\n+      description: |\n+        Specify an Exposure Value (EV) parameter.\n+\n+        By convention, EV adjusts the exposure by a factor of 2^EV. For example\n+        EV = [-2, -1, 0.5, 0, 0.5, 1, 2] results in an exposure adjustment\n+        of [1/4x, 1/2x, 1/sqrt(2)x, 1x, sqrt(2)x, 2x, 4x].\n+\n+  - ManualGainR:\n+      type: double\n+      description: |\n+        Specify a fixed gain parameter for the Red colour channel. This must be\n+        set together with ManualGainB to be applied.\n+\n+        \\sa ManualGainB\n+\n+  - ManualGainB:\n+      type: double\n+      description:  |\n+        Specify a fixed gain parameter for the Green colour channel. This must\n+        bet together with AwbManualGainR to be applied.\n+\n+        \\sa ManualGainR\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "3/3"
    ]
}