Show a patch.

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

{
    "id": 27336,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/27336/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/27336/",
    "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": "<20260708-libipa-algorithms-v5-29-0759d0359f52@ideasonboard.com>",
    "date": "2026-07-08T15:51:11",
    "name": "[v5,29/36] ipa: libipa: lsc: Document LscDescriptor::sensorSize usage",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f2fd6853fad3ab1b5bc7f2e5dda4dce9df35efee",
    "submitter": {
        "id": 143,
        "url": "https://patchwork.libcamera.org/api/1.1/people/143/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo.mondi@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/27336/mbox/",
    "series": [
        {
            "id": 6048,
            "url": "https://patchwork.libcamera.org/api/1.1/series/6048/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=6048",
            "date": "2026-07-08T15:50:42",
            "name": "ipa: libipa: Introduce libipa algorithms",
            "version": 5,
            "mbox": "https://patchwork.libcamera.org/series/6048/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/27336/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/27336/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 C1ECCC3330\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed,  8 Jul 2026 15:51:54 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 27FB5660F6;\n\tWed,  8 Jul 2026 17:51:54 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5865F660AB\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed,  8 Jul 2026 17:51:21 +0200 (CEST)",
            "from [192.168.1.182] (93-46-82-201.ip106.fastwebnet.it\n\t[93.46.82.201])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6E8253FF5;\n\tWed,  8 Jul 2026 17:50:31 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"sf10ONKg\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1783525831;\n\tbh=l3IWqtX/3k/0xTkpngmJmTTxrkKv+Uf3ZsubdNM+OxY=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:From;\n\tb=sf10ONKgHbe23OqF9Nc6EI6oL3phy8XBTYNgpf1AP9909y3mtqSb0SnKeU/0JqwsH\n\tgn2XY0s9indGJJPoQQ5xcUdT0XN2sVhIj6thd6c416zfudMFDArSCm1/A3JMLFdkUB\n\tZv2WMIUL4QYp4U423tllqUtNL9WrSc7mQQjVUMbI=",
        "From": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>",
        "Date": "Wed, 08 Jul 2026 17:51:11 +0200",
        "Subject": "[PATCH v5 29/36] ipa: libipa: lsc: Document\n\tLscDescriptor::sensorSize usage",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-Id": "<20260708-libipa-algorithms-v5-29-0759d0359f52@ideasonboard.com>",
        "References": "<20260708-libipa-algorithms-v5-0-0759d0359f52@ideasonboard.com>",
        "In-Reply-To": "<20260708-libipa-algorithms-v5-0-0759d0359f52@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org, \n\tStefan Klug <stefan.klug@ideasonboard.com>",
        "Cc": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>",
        "X-Mailer": "b4 0.14.3",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=966;\n\ti=jacopo.mondi@ideasonboard.com; h=from:subject:message-id;\n\tbh=l3IWqtX/3k/0xTkpngmJmTTxrkKv+Uf3ZsubdNM+OxY=;\n\tb=owEBbQKS/ZANAwAKAXI0Bo8WoVY8AcsmYgBqTnHriNByfvEG9L+aX61mBJ4JYPPHXHVMKhCNa\n\tFeSDhJCITiJAjMEAAEKAB0WIQS1xD1IgJogio9YOMByNAaPFqFWPAUCak5x6wAKCRByNAaPFqFW\n\tPP4OD/9gZ6gK29OZ5QMSPG7jZ7pI8/OC/IENvR/f8WjI0R+LzvfPiSnxFYFzLgQbi7EWw66YBUq\n\to1zYfJfMUYZuWpFJmb5Is5VU46XKoIq5oEqOI1bErAfPsRngoBckVUT6ohlwTNZ5G2F3TeIRGUZ\n\tZR1wr85laohZtmBmNuK6/BCmYE/UiyqldibhRpwSV0WdJQ3zSKZFjv46QWnT9U386g3+BLIzrKQ\n\tJAPFb8K+oQx72P7+YdXN1UGJ/n3uWfnfQIaEgnzcnP4hAyubyjwBlV5jL9FSMlnPuih/QwWrbGi\n\tfhluHA8aN16lTwYhW1G670lxMuYmp0FrmymG7Xt2JXBJNm21LQzyLC8++WbKvUe4W2QdmaMSVPH\n\tqnOHFIdfd+l3EhaFGZX1xVazU4qv+qUILe6rhhAX/oSf5B4Gg9gB40TwReKZ9U9B8gqaDtdhisd\n\t1+Rdnhw8RkxI/pgq+ohXKl4y3aVeyxKLQTTRlEUjlDNDRPC0V7DNAbaauNFURVpzWVGkcca5LHW\n\taO+ZBTFXsa5VWGcV1lktP2DaKiR+QQyDYqTX40Ve0Kj61uED1w8g1JjoxtyiGVY5+g2g6tL9qnF\n\tAmSXFhW63pYBPcrdu1elw7CFtYJkaIPGexYOYQdObYnNLIO0SyqMDel/emNYTDC45D3UVZvVULS\n\tTwuamAuvvngyMfA==",
        "X-Developer-Key": "i=jacopo.mondi@ideasonboard.com; a=openpgp;\n\tfpr=72392EDC88144A65C701EA9BA5826A2587AD026B",
        "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": "Now that sensorSize_ has been removed from LscPolynomial and is\npassed to the Lsc algorithm through LscDescriptor document its intended\npurpose.\n\nSigned-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\n---\n src/ipa/libipa/lsc.cpp | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/src/ipa/libipa/lsc.cpp b/src/ipa/libipa/lsc.cpp\nindex 1d2f8eb1b41b..13b1b738106b 100644\n--- a/src/ipa/libipa/lsc.cpp\n+++ b/src/ipa/libipa/lsc.cpp\n@@ -179,6 +179,10 @@ namespace lsc {\n  *          k4: 0.0\n  * \\endcode\n  *\n+ * The LSC tables or the polynomial definition are generated at tuning time\n+ * using an image of known resolution which needs to be specified in\n+ * LscDescriptor::sensorSize.\n+ *\n  * At LscAlgorithm::configure() time the LSC tables are re-sampled on the\n  * sensor's crop rectangle in use to adapt them to the configuration in use for\n  * a streaming session. Polynomial LSC tables support re-sampling and can be\n",
    "prefixes": [
        "v5",
        "29/36"
    ]
}