Show a patch.

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

{
    "id": 26378,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26378/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26378/",
    "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": "<20260327-ov08d10-v1-1-b08eec3e1d21@emfend.at>",
    "date": "2026-03-27T11:22:22",
    "name": "libcamera: libipa: camera_sensor: Add OmniVision OV08D10 sensor properties",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "631202eb1a31010d84304efed6305379df926a3f",
    "submitter": {
        "id": 134,
        "url": "https://patchwork.libcamera.org/api/1.1/people/134/?format=api",
        "name": "Matthias Fend",
        "email": "matthias.fend@emfend.at"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26378/mbox/",
    "series": [
        {
            "id": 5853,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5853/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5853",
            "date": "2026-03-27T11:22:22",
            "name": "libcamera: libipa: camera_sensor: Add OmniVision OV08D10 sensor properties",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5853/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26378/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26378/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 5E976BE086\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 27 Mar 2026 11:22:26 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9442E62CC6;\n\tFri, 27 Mar 2026 12:22:25 +0100 (CET)",
            "from lx20.hoststar.hosting (lx20.hoststar.hosting [168.119.41.54])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 52DC9627A4\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 27 Mar 2026 12:22:24 +0100 (CET)",
            "from 194-208-226-106.tele.net ([194.208.226.106]:49451\n\thelo=[127.0.1.1]) by lx20.hoststar.hosting with esmtpsa (TLS1.3) tls\n\tTLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93)\n\t(envelope-from <matthias.fend@emfend.at>)\n\tid 1w65Gh-000D84-8W; Fri, 27 Mar 2026 12:22:23 +0100"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=emfend.at header.i=@emfend.at\n\theader.b=\"DwbrNY3q\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=emfend.at;\n\ts=mail;\n\th=Cc:To:Message-Id:Content-Transfer-Encoding:Content-Type:\n\tMIME-Version:Subject:Date:From:Sender:Reply-To:Content-ID:Content-Description\n\t:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tIn-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:\n\tList-Post:List-Owner:List-Archive;\n\tbh=WE3nS8bAanvRo2NsjyhGvytb0Bvd6k34EIIGgbP0Q3k=;\n\tb=DwbrNY3qC1UpuT13VCrmmbGvEA\n\toznQ/R+rm0q4TKJ0wx9TUA7GbzXJ3tvcRWuH4PYNaZUV8DxnA1jRNBKUn8PPvqhMgoyCfzE1pUBPr\n\tf+lmaj8+napfzFTZrGdjH6eXHryVcOQcRqSmo6aXl9Nybqo7YuliUdl9+anlPBYUUlEs=;",
        "From": "Matthias Fend <matthias.fend@emfend.at>",
        "Date": "Fri, 27 Mar 2026 12:22:22 +0100",
        "Subject": "[PATCH] libcamera: libipa: camera_sensor: Add OmniVision OV08D10\n\tsensor properties",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260327-ov08d10-v1-1-b08eec3e1d21@emfend.at>",
        "X-B4-Tracking": "v=1; b=H4sIAG1oxmkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n\tvPSU3UzU4B8JSMDIzMDYyNz3fwyA4sUQwNdA3OL5FRLC5Mki0QTJaDqgqLUtMwKsEnRsbW1AEf\n\tEQX9ZAAAA",
        "X-Change-ID": "20260327-ov08d10-078ce984b8a4",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Matthias Fend <matthias.fend@emfend.at>",
        "X-Mailer": "b4 0.14.2",
        "X-Spam-Score": "",
        "X-Spam-Bar": "",
        "X-Spam-Report": "",
        "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": "Provide the OmniVision OV08D10 camera sensor properties and registration\nwith libipa for the gain code helpers.\n\nSigned-off-by: Matthias Fend <matthias.fend@emfend.at>\n---\n src/ipa/libipa/camera_sensor_helper.cpp           | 10 ++++++++++\n src/libcamera/sensor/camera_sensor_properties.cpp | 13 +++++++++++++\n 2 files changed, 23 insertions(+)\n\n\n---\nbase-commit: 4937f5489b799e1ce5b0856cc34549abacb1f19a\nchange-id: 20260327-ov08d10-078ce984b8a4\n\nBest regards,",
    "diff": "diff --git a/src/ipa/libipa/camera_sensor_helper.cpp b/src/ipa/libipa/camera_sensor_helper.cpp\nindex e3e3e535541384ba862ba2045114a69db7efff34..4d7e5b01004c707b9871da69ad1139bb79f2402d 100644\n--- a/src/ipa/libipa/camera_sensor_helper.cpp\n+++ b/src/ipa/libipa/camera_sensor_helper.cpp\n@@ -653,6 +653,16 @@ public:\n };\n REGISTER_CAMERA_SENSOR_HELPER(\"imx708\", CameraSensorHelperImx708)\n \n+class CameraSensorHelperOv08d10 : public CameraSensorHelper\n+{\n+public:\n+\tCameraSensorHelperOv08d10()\n+\t{\n+\t\tgain_ = AnalogueGainLinear{ 1, 0, 0, 128 };\n+\t}\n+};\n+REGISTER_CAMERA_SENSOR_HELPER(\"ov08d10\", CameraSensorHelperOv08d10)\n+\n class CameraSensorHelperOv2685 : public CameraSensorHelper\n {\n public:\ndiff --git a/src/libcamera/sensor/camera_sensor_properties.cpp b/src/libcamera/sensor/camera_sensor_properties.cpp\nindex b217363d872a7cee81fbf50242e13cf0f6819da5..0e346edac66c7b85650b0e7c30496f1f10ab445e 100644\n--- a/src/libcamera/sensor/camera_sensor_properties.cpp\n+++ b/src/libcamera/sensor/camera_sensor_properties.cpp\n@@ -325,6 +325,19 @@ const CameraSensorProperties *CameraSensorProperties::get(const std::string &sen\n \t\t\t\t.hblankDelay = 3\n \t\t\t},\n \t\t} },\n+\t\t{ \"ov08d10\", {\n+\t\t\t.unitCellSize = { 1120, 1120 },\n+\t\t\t.testPatternModes =  {\n+\t\t\t\t{ controls::draft::TestPatternModeOff, 0 },\n+\t\t\t\t{ controls::draft::TestPatternModeCustom1, 1 },\n+\t\t\t},\n+\t\t\t.sensorDelays = {\n+\t\t\t\t.exposureDelay = 2,\n+\t\t\t\t.gainDelay = 2,\n+\t\t\t\t.vblankDelay = 2,\n+\t\t\t\t.hblankDelay = 2\n+\t\t\t},\n+\t\t} },\n \t\t{ \"ov2685\", {\n \t\t\t.unitCellSize = { 1750, 1750 },\n \t\t\t.testPatternModes = {\n",
    "prefixes": []
}