Show a patch.

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

{
    "id": 15762,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15762/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15762/",
    "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": "<20220503155725.1168826-2-foss+libcamera@0leil.net>",
    "date": "2022-05-03T15:57:25",
    "name": "[libcamera-devel,2/2] libipa: camera_sensor_helper: Add OV5675 helper",
    "commit_ref": "5efb6c8e2acdc2dc9edf1f22f6c2a5818062b69e",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6ceca04feb2602537b2fef75fdc36c084fd88eae",
    "submitter": {
        "id": 120,
        "url": "https://patchwork.libcamera.org/api/1.1/people/120/?format=api",
        "name": "Quentin Schulz",
        "email": "foss+libcamera@0leil.net"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15762/mbox/",
    "series": [
        {
            "id": 3086,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3086/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3086",
            "date": "2022-05-03T15:57:24",
            "name": "[libcamera-devel,1/2] libcamera: camera_sensor: Add OV5675 sensor properties",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/3086/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15762/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15762/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 934F1C326C\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  3 May 2022 15:57:55 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 818186564B;\n\tTue,  3 May 2022 17:57:54 +0200 (CEST)",
            "from relay10.mail.gandi.net (relay10.mail.gandi.net\n\t[IPv6:2001:4b98:dc4:8::230])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6C96265642\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  3 May 2022 17:57:52 +0200 (CEST)",
            "(Authenticated sender: foss@0leil.net)\n\tby mail.gandi.net (Postfix) with ESMTPSA id CB496240015;\n\tTue,  3 May 2022 15:57:51 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1651593474;\n\tbh=0v+V5spnf96ABemg8U3CQqu8+33/YuEDLGluW052vIo=;\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:Cc:\n\tFrom;\n\tb=rMLA34ncTwotYqL7DZpU1O+ZaHToysk4FneuMi6RNlIJTpPLjUTQ11hfAcS+w66W/\n\tZVQSPsvxy03zlRa6EsscbaMFpNMwgRgwudaEFWNeKgtk6W+8/irEOz/P/+rTZaiJ+w\n\tYg9UsxMQawAkDdrnZo9g/08c/yx1dzWHQrzGKaTHwNGFyxrKhgKvGMe4dg8rNiuBZ+\n\t+7V/NturgcvZiFmJebazwqwFqwMegb4S0XnOxA+uk0kZV0qQDIPvlmj6uF2QezJw1T\n\t5sC28bkEBe+9oEO6ZQJGalDW8jFT1TvJNpRHejm5iYq4LtaJljjZGmrxcGonP3nyHV\n\tvyypYMwOcBz6A==",
        "To": "",
        "Date": "Tue,  3 May 2022 17:57:25 +0200",
        "Message-Id": "<20220503155725.1168826-2-foss+libcamera@0leil.net>",
        "X-Mailer": "git-send-email 2.35.1",
        "In-Reply-To": "<20220503155725.1168826-1-foss+libcamera@0leil.net>",
        "References": "<20220503155725.1168826-1-foss+libcamera@0leil.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] libipa: camera_sensor_helper: Add\n\tOV5675 helper",
        "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": "Quentin Schulz via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Quentin Schulz <foss+libcamera@0leil.net>",
        "Cc": "libcamera-devel@lists.libcamera.org",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "From: Quentin Schulz <quentin.schulz@theobroma-systems.com>\n\nThe OV5675 is an OmniVision sensor with a linear gain model, expressed\nin 1/128 steps.\n\nCc: Quentin Schulz <foss+libcamera@0leil.net>\nSigned-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>\n---\n src/ipa/libipa/camera_sensor_helper.cpp | 11 +++++++++++\n 1 file changed, 11 insertions(+)",
    "diff": "diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp\nindex c098e48c..0f156137 100644\n--- a/src/ipa/libipa/camera_sensor_helper.cpp\n+++ b/src/ipa/libipa/camera_sensor_helper.cpp\n@@ -429,6 +429,17 @@ public:\n };\n REGISTER_CAMERA_SENSOR_HELPER(\"ov5670\", CameraSensorHelperOv5670)\n \n+class CameraSensorHelperOv5675 : public CameraSensorHelper\n+{\n+public:\n+\tCameraSensorHelperOv5675()\n+\t{\n+\t\tgainType_ = AnalogueGainLinear;\n+\t\tgainConstants_.linear = { 1, 0, 0, 128 };\n+\t}\n+};\n+REGISTER_CAMERA_SENSOR_HELPER(\"ov5675\", CameraSensorHelperOv5675)\n+\n class CameraSensorHelperOv5693 : public CameraSensorHelper\n {\n public:\n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}