Show a patch.

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

{
    "id": 13283,
    "url": "https://patchwork.libcamera.org/api/patches/13283/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/13283/",
    "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": "<tencent_5C408D54796E0B7D2B1A0CD2EAA07C9D4709@qq.com>",
    "date": "2021-08-10T12:17:41",
    "name": "[libcamera-devel,RFC,v2,3/4] libcamera: framebuffer: Add the friend class CPU_ISP",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f4d853137924a3a78e874f274f27a2ef735b9564",
    "submitter": {
        "id": 88,
        "url": "https://patchwork.libcamera.org/api/people/88/?format=api",
        "name": "Siyuan Fan",
        "email": "siyuan.fan@foxmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/13283/mbox/",
    "series": [
        {
            "id": 2332,
            "url": "https://patchwork.libcamera.org/api/series/2332/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2332",
            "date": "2021-08-10T12:17:39",
            "name": "[libcamera-devel,RFC,v2,1/4] pipeline: isp: The software ISP-based pipeline handler",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/2332/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/13283/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/13283/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 F0989C3241\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 10 Aug 2021 12:18:00 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B1D476882A;\n\tTue, 10 Aug 2021 14:18:00 +0200 (CEST)",
            "from out203-205-221-164.mail.qq.com (out203-205-221-164.mail.qq.com\n\t[203.205.221.164])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 18FC068887\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 10 Aug 2021 14:17:57 +0200 (CEST)",
            "from localhost.localdomain ([123.126.82.8])\n\tby newxmesmtplogicsvrsza5.qq.com (NewEsmtp) with SMTP\n\tid 46D0AC53; Tue, 10 Aug 2021 20:17:45 +0800"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=foxmail.com header.i=@foxmail.com\n\theader.b=\"mEBvhadV\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com;\n\ts=s201512; t=1628597872;\n\tbh=EIqLODHjrEbAGuJ2JGkHGKc4vTVmI0zsqYyym2mcLZc=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References;\n\tb=mEBvhadVBRwG8SvphRFPfUc7aLmIRsn5UT1VG6udOfCJEbFETTc+lAD2HHW1+dIKZ\n\tsoVHML0jx22SV7KJqvlqCTksPTZUiH8FMFWgudmBMoFCejRGZdVHQY3y+GxALuCoqz\n\twAASlEcfCa4mTaWfM3Da+RnfBP8CYSsvpAhha3cU=",
        "X-QQ-mid": "xmsmtpt1628597870tmcibvffj",
        "Message-ID": "<tencent_5C408D54796E0B7D2B1A0CD2EAA07C9D4709@qq.com>",
        "X-QQ-XMAILINFO": "NqN/wpVFVRYX/pYJZjhb+dU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devel@lists.libcamera.org",
        "Date": "Tue, 10 Aug 2021 13:17:41 +0100",
        "X-OQ-MSGID": "<20210810121742.11012-4-siyuan.fan@foxmail.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20210810121742.11012-1-siyuan.fan@foxmail.com>",
        "References": "<20210810121742.11012-1-siyuan.fan@foxmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [RFC PATCH v2 3/4] libcamera: framebuffer: Add\n\tthe friend class CPU_ISP",
        "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": "From: Fan Siyuan <siyuan.fan@foxmail.com>\n\n In order to fill in dstBuffer->metadata(), we need to add the friend class CPU_ISP.\n\nSigned-off-by: Fan Siyuan <siyuan.fan@foxmail.com>\n---\n include/libcamera/framebuffer.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/libcamera/framebuffer.h b/include/libcamera/framebuffer.h\nindex 28307890..9cc1b760 100644\n--- a/include/libcamera/framebuffer.h\n+++ b/include/libcamera/framebuffer.h\n@@ -61,6 +61,7 @@ private:\n \tLIBCAMERA_DISABLE_COPY_AND_MOVE(FrameBuffer)\n \n \tfriend class V4L2VideoDevice; /* Needed to update metadata_. */\n+\tfriend class CPU_ISP;\n \n \tstd::vector<Plane> planes_;\n \n",
    "prefixes": [
        "libcamera-devel",
        "RFC",
        "v2",
        "3/4"
    ]
}