Show a patch.

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

{
    "id": 13578,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/13578/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/13578/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20210831091800.22682-1-laurent.pinchart@ideasonboard.com>",
    "date": "2021-08-31T09:18:00",
    "name": "[libcamera-devel] ipa: libipa: histogram: Fix typo",
    "commit_ref": "2e4fc65f77309fd99225ab0b40c123f92eba13a8",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "569da38f45a0eeaf8cc56fedc7d3dc8a334d5805",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/13578/mbox/",
    "series": [
        {
            "id": 2426,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2426/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2426",
            "date": "2021-08-31T09:18:00",
            "name": "[libcamera-devel] ipa: libipa: histogram: Fix typo",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2426/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/13578/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/13578/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 F163DBDC71\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 31 Aug 2021 09:18:24 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4793B6916A;\n\tTue, 31 Aug 2021 11:18:24 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AC60960288\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 31 Aug 2021 11:18:22 +0200 (CEST)",
            "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 369523D7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 31 Aug 2021 11:18:22 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"OqMSsjCi\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1630401502;\n\tbh=y9d7Hk9YvIpGhmWc80jwOxoAMlZK7tFWaiVQMqaxr14=;\n\th=From:To:Subject:Date:From;\n\tb=OqMSsjCicRDY7p2EHK3xsih934kc3jnt3swPR9UOFmFbq8AgSsRUAL37pK0PrFnQ/\n\tSmN9AUUw279lHWxDfeZCHZ8wtcvgaz92pvNxmux4Nq935YEW12ckk3RziDKrczv63p\n\tHy6xhaM/ZcnIKnmIqMJlA+wlEwMxVHNlOFebU5SE=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 31 Aug 2021 12:18:00 +0300",
        "Message-Id": "<20210831091800.22682-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] ipa: libipa: histogram: Fix typo",
        "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>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "\"weighted\", derived from the verb \"to weight\", comes from Middle English\nweight, weiȝte, weght, wight, from Old English wiht, ġewiht, from\nProto-Germanic *wihtiz, from Proto-Indo-European *weǵʰ-. In none of\nthose does the t come before the h.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/ipa/libipa/histogram.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/ipa/libipa/histogram.cpp b/src/ipa/libipa/histogram.cpp\nindex fb1eb2a2f0b1..4d94571f903a 100644\n--- a/src/ipa/libipa/histogram.cpp\n+++ b/src/ipa/libipa/histogram.cpp\n@@ -139,7 +139,7 @@ double Histogram::interQuantileMean(double lowQuantile, double highQuantile) con\n \t\tdouble freq = (cumulative_[bin + 1] - cumulative_[bin])\n \t\t\t* (std::min(p_next, highPoint) - lowPoint);\n \n-\t\t/* Accumulate weigthed bin */\n+\t\t/* Accumulate weighted bin */\n \t\tsumBinFreq += bin * freq;\n \t\t/* Accumulate weights */\n \t\tcumulFreq += freq;\n",
    "prefixes": [
        "libcamera-devel"
    ]
}