Show a patch.

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

{
    "id": 9574,
    "url": "https://patchwork.libcamera.org/api/patches/9574/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/9574/",
    "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": "<20200911162039.61933-2-jacopo@jmondi.org>",
    "date": "2020-09-11T16:20:34",
    "name": "[libcamera-devel,RFC,1/6] libcamera: controls: Define AwbLocked control",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "746cca696b2858ad3d9a2e450f1655e66a48d011",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/9574/mbox/",
    "series": [
        {
            "id": 1286,
            "url": "https://patchwork.libcamera.org/api/series/1286/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1286",
            "date": "2020-09-11T16:20:33",
            "name": "libcamera: Define draft controls and properties",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1286/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/9574/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/9574/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 51F38BDB1D\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 11 Sep 2020 16:16:57 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6553B62DB4;\n\tFri, 11 Sep 2020 18:16:56 +0200 (CEST)",
            "from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net\n\t[217.70.183.193])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CF01260534\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 11 Sep 2020 18:16:55 +0200 (CEST)",
            "from uno.lan (93-34-118-233.ip49.fastwebnet.it [93.34.118.233])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay1-d.mail.gandi.net (Postfix) with ESMTPSA id ACD83240003;\n\tFri, 11 Sep 2020 16:16:54 +0000 (UTC)"
        ],
        "X-Originating-IP": "93.34.118.233",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Fri, 11 Sep 2020 18:20:34 +0200",
        "Message-Id": "<20200911162039.61933-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200911162039.61933-1-jacopo@jmondi.org>",
        "References": "<20200911162039.61933-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [RFC 1/6] libcamera: controls: Define AwbLocked\n\tcontrol",
        "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>",
        "Cc": "hanlinchen@chromium.org",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Define a control to report the AWB algorithm locking state.\nThe control definition is copied from the AeLocked one.\n\nReviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/control_ids.yaml | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 3560d4a81882..4c415545dcae 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -208,6 +208,17 @@ controls:\n           value: 7\n           description: Maximum allowed value (place any new values above here).\n \n+  - AwbLocked:\n+      type: bool\n+      description: |\n+        Report the lock status of a running AWB algorithm.\n+\n+        If the AWB algorithm is locked the value shall be set to true, if it's\n+        converging it shall be set to false. If the AWB algorithm is not\n+        running the control shall not be present in the metadata control list.\n+\n+        \\sa AwbEnable\n+\n   - ColourGains:\n       type: float\n       description: |\n",
    "prefixes": [
        "libcamera-devel",
        "RFC",
        "1/6"
    ]
}