Show a patch.

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

{
    "id": 17456,
    "url": "https://patchwork.libcamera.org/api/patches/17456/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/17456/",
    "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": "<20220929072323.7400-2-naush@raspberrypi.com>",
    "date": "2022-09-29T07:23:20",
    "name": "[libcamera-devel,v2,1/4] libcamera: bayer_format: Add unpacked mono 12-bit format to the conversion table",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "6010dca1877ff7e6c886cad765d9344a29d5bf8b",
    "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/17456/mbox/",
    "series": [
        {
            "id": 3512,
            "url": "https://patchwork.libcamera.org/api/series/3512/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3512",
            "date": "2022-09-29T07:23:19",
            "name": "imx296 colour tuning",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/3512/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/17456/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/17456/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 C24D9BD16B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Sep 2022 07:23:46 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 861196237B;\n\tThu, 29 Sep 2022 09:23:44 +0200 (CEST)",
            "from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com\n\t[IPv6:2a00:1450:4864:20::42d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 87913603DE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Sep 2022 09:23:43 +0200 (CEST)",
            "by mail-wr1-x42d.google.com with SMTP id u10so609055wrq.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Sep 2022 00:23:43 -0700 (PDT)",
            "from naush-laptop.localdomain ([93.93.133.154])\n\tby smtp.gmail.com with ESMTPSA id\n\tj6-20020a05600c1c0600b003b483000583sm3929805wms.48.2022.09.29.00.23.42\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 29 Sep 2022 00:23:42 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1664436224;\n\tbh=Esw+PKlMUhzQZjzyZlzUb+GCgSrKDjftt/ovMCu6bc8=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=324ugnX04Ax/5UF2Ql7Wbd2o3RfdWJhZEz2VO7q7c8UtEP+ub7IAolB1/8Qdj6Tie\n\tzb3OjZAFvVRr7EIuTFBaCCoa70IWKUrOQpbIo3y/sk8bOHmeIecVkp/1mxCSDvfmUa\n\tpir/jfu8Bwh4ZNSLGtoZ7OYNWkfOYjZQPdopfShNUjlgdoEPKLw1sPj6mHm1fvWuu9\n\tkcWUASB4jT4wiC21fnAla8PgvYtnJoRIw2wLrtzyiW8jH8Z8d5JZVnVfxpjfSwLg+N\n\tXCbiU3MHEnyNER0OAzcQQ+jXR+3GZDFI29uvulWK7H/9z9jmJVWt2J2QPq325ajIx9\n\ts3GrdN1aJ9PJw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date;\n\tbh=8wtxZwObFHA9ilu7XqVJV7T6C7uNmlcSOsuQirRslTk=;\n\tb=Ez/jS9LbNwSkAmL6znhVgzk0AxptHWkRigfYaWup2HFBbFJmiku5C7qBep893qSx1X\n\tvcc5HprH8/IAyoZXhxBeofAFlakuz4ExKrZ0goHjo6nrEKujwCsmbEorrPIHaAxdI8M2\n\tdrz2Z7MNlQ8Ac/yXDEM8mZpCn0Q3UubFs5TLAo9raOMX1sYxtDSSt0KOIuC1nO2SwD4u\n\tkLCCKr4sUM/4+y9Au97D01FFhgpaATOD8pygXQcNB07WSIDTkhpYUzn4FdY4SklHLSF7\n\tZZjPnJ7WWmvsOm5Ijd+YNHB+ZMa3KFq8pX9tXetoktg479IFlM+8et6QLYJVoXvn67TM\n\tg/sA=="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key; \n\tunprotected) header.d=raspberrypi.com\n\theader.i=@raspberrypi.com\n\theader.b=\"Ez/jS9Lb\"; dkim-atps=neutral",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n\t:subject:date;\n\tbh=8wtxZwObFHA9ilu7XqVJV7T6C7uNmlcSOsuQirRslTk=;\n\tb=O4AyDeoFeoCgNhMeV/hMHrGcQ6L7GF68LeAHJK6PJGqybru5s2VDPHNd9n2oOjo1Io\n\tEPhg7E2W8gmgcNsAqtapu8Swa4TOO35AaqBScXxO2M9KWRw7jek8jNgp5f8fTsX9fuX2\n\tcav1MlEsQMuP8ITiKPmX38XGXM32LyuVALUJCLyrzQ1TZUZs/rFX0xVJ1TY/1EnSNRS6\n\tloUX8lPP9xtkLId6tg1GfSWvBx3Xx6RCLqnkI/x/WpYDZgn9+RlTmQU/B9Cz79zxmlAQ\n\thRpdUSJKIR19+srsijqG/CRDiEMdwZnHOYTX0OxDY6+pAKAjsL2SrfgR26IG6lBFV7z5\n\tzdLw==",
        "X-Gm-Message-State": "ACrzQf2SirLdKwZ+HIvC+ClU1JEP8O2VtN08qlemZXSy+fTcB7AcJ7ps\n\tNYq62nvU9AGFhi53H7GxFgxJNrkT5DnIcQ==",
        "X-Google-Smtp-Source": "AMsMyM6pjCwfNR3gu8OPj7nJuR/vSU8z+RG3pl5CoN/D9CLRiAm4EmMWmF979Wg+0Vgwp0Xgsf2qKg==",
        "X-Received": "by 2002:a5d:47a6:0:b0:22a:3764:cdfa with SMTP id\n\t6-20020a5d47a6000000b0022a3764cdfamr1062261wrb.547.1664436223028; \n\tThu, 29 Sep 2022 00:23:43 -0700 (PDT)",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 29 Sep 2022 08:23:20 +0100",
        "Message-Id": "<20220929072323.7400-2-naush@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20220929072323.7400-1-naush@raspberrypi.com>",
        "References": "<20220929072323.7400-1-naush@raspberrypi.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v2 1/4] libcamera: bayer_format: Add\n\tunpacked mono 12-bit format to the conversion table",
        "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>",
        "From": "Naushir Patuck via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Naushir Patuck <naush@raspberrypi.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Add BayerFormat conversions for formats::R12 (12-bit unpacked) format.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\nReviewed-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/bayer_format.cpp | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/libcamera/bayer_format.cpp b/src/libcamera/bayer_format.cpp\nindex c2a52f4740d6..f27cc1662d25 100644\n--- a/src/libcamera/bayer_format.cpp\n+++ b/src/libcamera/bayer_format.cpp\n@@ -191,6 +191,7 @@ const std::unordered_map<unsigned int, BayerFormat> mbusCodeToBayer{\n \t{ MEDIA_BUS_FMT_SRGGB16_1X16, { BayerFormat::RGGB, 16, BayerFormat::Packing::None } },\n \t{ MEDIA_BUS_FMT_Y8_1X8, { BayerFormat::MONO, 8, BayerFormat::Packing::None } },\n \t{ MEDIA_BUS_FMT_Y10_1X10, { BayerFormat::MONO, 10, BayerFormat::Packing::None } },\n+\t{ MEDIA_BUS_FMT_Y12_1X12, { BayerFormat::MONO, 12, BayerFormat::Packing::None } },\n };\n \n } /* namespace */\n",
    "prefixes": [
        "libcamera-devel",
        "v2",
        "1/4"
    ]
}