Show a patch.

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

{
    "id": 8617,
    "url": "https://patchwork.libcamera.org/api/patches/8617/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8617/",
    "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": "<20200704095914.17344-2-david.plowman@raspberrypi.com>",
    "date": "2020-07-04T09:59:12",
    "name": "[libcamera-devel,1/3] libcamera: Add ColourCorrectionMatrix control",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "9ddc59ebb20186645f6619daeac950b7ee2b4351",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8617/mbox/",
    "series": [
        {
            "id": 1082,
            "url": "https://patchwork.libcamera.org/api/series/1082/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1082",
            "date": "2020-07-04T09:59:11",
            "name": "ColourCorrectionMatrixControl",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1082/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8617/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8617/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 9F079BD792\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat,  4 Jul 2020 09:59:27 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6494C603AA;\n\tSat,  4 Jul 2020 11:59:27 +0200 (CEST)",
            "from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com\n\t[IPv6:2a00:1450:4864:20::42e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id E1CD1603AA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat,  4 Jul 2020 11:59:24 +0200 (CEST)",
            "by mail-wr1-x42e.google.com with SMTP id z2so13012854wrp.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 04 Jul 2020 02:59:24 -0700 (PDT)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tz10sm11477681wrm.21.2020.07.04.02.59.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 04 Jul 2020 02:59:24 -0700 (PDT)"
        ],
        "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=\"fOxGU8Jd\"; 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=cdAGZtHKtZqwU2zD4B5mvtMuoo6AbqD0SlgJ9r60fco=;\n\tb=fOxGU8Jd4SOH1lOX2753RO4Tr8aR47xFD5pSkybL02EKMiG/A0YiIw96gJUt7o8KBZ\n\t65ZhDxRmQjJfrd07SjU5XGd2+v77zCmtCC8dQB9oneUECt0Bg07WOnQyUJ3i97OhYr3f\n\txv5Y6UHUoxX3WhcYU16xqF8D2OUITRRz+Vlu49uq0MoMSY4MT/rqFVq1jhJt9jLGmAvF\n\tOSIwL4+6AZYpExWZhGmZq62e04ZLHb5B3cI8IjcKroAqP+eoF6Ei4GbX2clWxGupPLm8\n\tS6HUVcLTzOMlO3XeRqoLnQDTsVC8rG5kpZPZo1R3cggEcbRbClVts+m4d9HljsE/8hyQ\n\tLvMA==",
        "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=cdAGZtHKtZqwU2zD4B5mvtMuoo6AbqD0SlgJ9r60fco=;\n\tb=CHVVjYq3kv1SReWISsvuHcmCPbXwW2TiVxSaonwambgTNycT9oTxF+huObjYrGqsVU\n\tiOQ11+5R/w+WJiE6iq2L2/zv+YU+bwvYpfgpU1zy9h6MD9Q/7pz2Wu5q6HSBmy7BoC4U\n\t9VfReZj5dWvdMGZLVX4o4Z+Tw6X3+IaYZfdDIT2gTN5g6m6gftWChosVUqsHRpUc8sKL\n\tBfk3B/f10yyM1QbrVB8a6/vv/9noxFg7JR6CiO9Tx/0z275s0F1Mn/JtsXXrGuzMM/rZ\n\tEGAdi0LwTNwilHf8LXdW1sS1vXhlxe0w5webwZLA2tqxtAZdjQBnTEalzO6No8dKLzsI\n\tOjFQ==",
        "X-Gm-Message-State": "AOAM533swGk2Gr189uQVBI7qfCoRd/cW5ZBpV0qXnVd/J5e/sHdOKKuK\n\tJoga48QvYdhbsl6mr4vkeBut5n9iojk=",
        "X-Google-Smtp-Source": "ABdhPJzAW6bvYNpVPBhWz3I5e8T9Hm2KplLB2ugoBn30L0sF2JbTfnoS83ZB/5r9iKM6bPUfQbAqrg==",
        "X-Received": "by 2002:adf:f60a:: with SMTP id\n\tt10mr32264539wrp.64.1593856764412; \n\tSat, 04 Jul 2020 02:59:24 -0700 (PDT)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat,  4 Jul 2020 10:59:12 +0100",
        "Message-Id": "<20200704095914.17344-2-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20200704095914.17344-1-david.plowman@raspberrypi.com>",
        "References": "<20200704095914.17344-1-david.plowman@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 1/3] libcamera: Add ColourCorrectionMatrix\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>",
        "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": "This control is principally for returning, in the image metadata, the\nCCM (Colour Correction Matrix) used by the imaging pipeline. By which\nwe mean the 3x3 matrix that is applied to the camera RGB pixels after\nsubtraction of black levels and white-balancing, but before any gamma\ntransformation.\n\nSome implementations may also choose to let an application set\nexplicit colour matrices, using this as a control.\n\nSigned-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/libcamera/control_ids.yaml | 12 ++++++++++++\n 1 file changed, 12 insertions(+)",
    "diff": "diff --git a/src/libcamera/control_ids.yaml b/src/libcamera/control_ids.yaml\nindex 8c3e4c7..23c3f06 100644\n--- a/src/libcamera/control_ids.yaml\n+++ b/src/libcamera/control_ids.yaml\n@@ -251,4 +251,16 @@ controls:\n         higher than anyone could reasonably want. Negative values are\n         not allowed. Note also that sharpening is not applied to raw\n         streams.\n+\n+  - ColourCorrectionMatrix:\n+      type: float\n+      description: |\n+        The 3x3 matrix that converts camera RGB to sRGB within the\n+        imaging pipeline. This should describe the matrix that is used\n+        after pixels have been white-balanced, but before any gamma\n+        transformation. The 3x3 matrix is stored in conventional reading\n+        order in an array of 9 floating point values.\n+\n+      size: [9]\n+\n ...\n",
    "prefixes": [
        "libcamera-devel",
        "1/3"
    ]
}