Show a patch.

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

{
    "id": 12690,
    "url": "https://patchwork.libcamera.org/api/patches/12690/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12690/",
    "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": "<20210622134652.1279260-7-andrey.konovalov@linaro.org>",
    "date": "2021-06-22T13:46:49",
    "name": "[libcamera-devel,v5,6/9] qcam: viewfinder_gl: use SPDX-License-Identifier in bayer_8.* shaders",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "118765c61c015191ab828383a142f74cb260be53",
    "submitter": {
        "id": 25,
        "url": "https://patchwork.libcamera.org/api/people/25/?format=api",
        "name": "Andrey Konovalov",
        "email": "andrey.konovalov@linaro.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/12690/mbox/",
    "series": [
        {
            "id": 2168,
            "url": "https://patchwork.libcamera.org/api/series/2168/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2168",
            "date": "2021-06-22T13:46:43",
            "name": "qcam: viewfinder_gl: add RAW8, RAW10P and RAW12P formats",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/2168/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12690/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12690/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 BEBC5C321B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 22 Jun 2021 13:47:21 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7C4346893F;\n\tTue, 22 Jun 2021 15:47:21 +0200 (CEST)",
            "from mail-lj1-x233.google.com (mail-lj1-x233.google.com\n\t[IPv6:2a00:1450:4864:20::233])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F1E2B68932\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Jun 2021 15:47:19 +0200 (CEST)",
            "by mail-lj1-x233.google.com with SMTP id z22so30198584ljh.8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 22 Jun 2021 06:47:19 -0700 (PDT)",
            "from localhost.localdomain ([85.249.44.185])\n\tby smtp.googlemail.com with ESMTPSA id\n\tb19sm163125ljo.37.2021.06.22.06.47.18\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 22 Jun 2021 06:47:18 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"jyPp9hSA\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=AD9bhsFZXTGxwv2ObNbhoFmY7s5fGMRNgZRhCRXwJ6w=;\n\tb=jyPp9hSARzMsRglYFDOJHvipHrr1y7ptEZ+5soHbtVIs2ZxozKSuZ0K2QRkMZ67kRH\n\t8U957Di8ihezVmnp0LtExT3xrzuwcZnqiBZCQECyHPPcyA+Koa/i0kKHH8lEN37lqqL5\n\ttAQ2dGkZGcKrOhXOsR5+fvteO14UdHHl7seER90TVk5dAxJgIRsr7xexVamRfXsE6whi\n\tu2N5Hd6d33+1QFbYRYMpMs6mq7xat0UInSJmwvVS73GCc3ZdbgdZR+/hgUMB9EbccF1r\n\taNmxgNP7Nf36ReEJcntOBjZgCSm98UpkYen3eepr2hH7WhPgBdz7gN65TSxQk8JuY/Qn\n\t2EKQ==",
        "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=AD9bhsFZXTGxwv2ObNbhoFmY7s5fGMRNgZRhCRXwJ6w=;\n\tb=FcJy2gC5GnSMhr0QSUqjyWm0q7Xcn9OLg2HDYp+YHadSGtwDp+RHK5r1bF9bRu2C7P\n\tMkJ1jZflr9zaQXpazX0VCiWWly9bmZ2tL4vvdilEG6IwIeO7hMCCif1+evoRSsDGM56x\n\tSHaqTx8X3SQNEjuGBWzysoqB7z0XIisFgbg5CKRre5UuBXvNpMsrMbVL1uKOq8jL0unt\n\tjGlOu+Rp/aS6KFpD8EWp7BFEtXkPFnp3T8rxutSj9C8KXSFjW17xrUr5rtFfZGZLJJD7\n\tcR1fwbYIkqwU/+0HV8gTh9Cx91NnEuov24Rxfclux7HvGFfK20jWpkuDd7ray70ffzJT\n\td00A==",
        "X-Gm-Message-State": "AOAM533n15lgMfF8z/np3TTEF/zN8ZTEroF4uJeVJKwXRekeEK/lYWdq\n\ts6RbDQnb5cxsrgdjkfeSxlRo3N9/I2Kjfg==",
        "X-Google-Smtp-Source": "ABdhPJw6AOuSnotVAmkJdO48RDB41mvUag0oRpGzzZkcK4Tdj7pbiT5ZIKZ0fY261vhMUZIIyr1O2A==",
        "X-Received": "by 2002:a2e:7103:: with SMTP id m3mr3313972ljc.300.1624369639453;\n\tTue, 22 Jun 2021 06:47:19 -0700 (PDT)",
        "From": "Andrey Konovalov <andrey.konovalov@linaro.org>",
        "To": "libcamera-devel@lists.libcamera.org,\n\tlaurent.pinchart@ideasonboard.com",
        "Date": "Tue, 22 Jun 2021 16:46:49 +0300",
        "Message-Id": "<20210622134652.1279260-7-andrey.konovalov@linaro.org>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20210622134652.1279260-1-andrey.konovalov@linaro.org>",
        "References": "<20210622134652.1279260-1-andrey.konovalov@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v5 6/9] qcam: viewfinder_gl: use\n\tSPDX-License-Identifier in bayer_8.* shaders",
        "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": "morgan@casual-effects.com",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Signed-off-by: Andrey Konovalov <andrey.konovalov@linaro.org>\n---\n src/qcam/assets/shader/bayer_8.frag | 25 +------------------------\n src/qcam/assets/shader/bayer_8.vert | 25 +------------------------\n 2 files changed, 2 insertions(+), 48 deletions(-)",
    "diff": "diff --git a/src/qcam/assets/shader/bayer_8.frag b/src/qcam/assets/shader/bayer_8.frag\nindex 74a6322f..a7d65e1d 100644\n--- a/src/qcam/assets/shader/bayer_8.frag\n+++ b/src/qcam/assets/shader/bayer_8.frag\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n /*\n From http://jgt.akpeters.com/papers/McGuire08/\n \n@@ -8,30 +9,6 @@ Morgan McGuire\n This paper appears in issue Volume 13, Number 4.\n ---------------------------------------------------------\n Copyright (c) 2008, Morgan McGuire. All rights reserved.\n-\n-Redistribution and use in source and binary forms, with or without\n-modification, are permitted provided that the following conditions are\n-met:\n-\n-    * Redistributions of source code must retain the above copyright\n-      notice, this list of conditions and the following disclaimer.\n-\n-    * Redistributions in binary form must reproduce the above\n-      copyright notice, this list of conditions and the following\n-      disclaimer in the documentation and/or other materials provided\n-      with the distribution.\n-\n-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n-\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n \n //Pixel Shader\ndiff --git a/src/qcam/assets/shader/bayer_8.vert b/src/qcam/assets/shader/bayer_8.vert\nindex 3354860f..347c15f7 100644\n--- a/src/qcam/assets/shader/bayer_8.vert\n+++ b/src/qcam/assets/shader/bayer_8.vert\n@@ -1,3 +1,4 @@\n+/* SPDX-License-Identifier: BSD-2-Clause */\n /*\n From http://jgt.akpeters.com/papers/McGuire08/\n \n@@ -8,30 +9,6 @@ Morgan McGuire\n This paper appears in issue Volume 13, Number 4.\n ---------------------------------------------------------\n Copyright (c) 2008, Morgan McGuire. All rights reserved.\n-\n-Redistribution and use in source and binary forms, with or without\n-modification, are permitted provided that the following conditions are\n-met:\n-\n-    * Redistributions of source code must retain the above copyright\n-      notice, this list of conditions and the following disclaimer.\n-\n-    * Redistributions in binary form must reproduce the above\n-      copyright notice, this list of conditions and the following\n-      disclaimer in the documentation and/or other materials provided\n-      with the distribution.\n-\n-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n-\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n \n //Vertex Shader\n",
    "prefixes": [
        "libcamera-devel",
        "v5",
        "6/9"
    ]
}