Patch Detail
Show a patch.
GET /api/patches/15575/?format=api
{ "id": 15575, "url": "https://patchwork.libcamera.org/api/patches/15575/?format=api", "web_url": "https://patchwork.libcamera.org/patch/15575/", "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": "<20220328120336.10834-5-laurent.pinchart@ideasonboard.com>", "date": "2022-03-28T12:03:36", "name": "[libcamera-devel,4/4] libipa: camera_sensor_helper: Add IMX296 helper", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "552b3166e5dee595f26f2bd574dff3eb0fae3118", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/15575/mbox/", "series": [ { "id": 3008, "url": "https://patchwork.libcamera.org/api/series/3008/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3008", "date": "2022-03-28T12:03:32", "name": "IPA sensor helpers for IMX290 and IMX296", "version": 1, "mbox": "https://patchwork.libcamera.org/series/3008/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/15575/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/15575/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 5B0DDC3267\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Mar 2022 12:03:47 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E714C6563D;\n\tMon, 28 Mar 2022 14:03:46 +0200 (CEST)", "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 50FAB601F5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Mar 2022 14:03:43 +0200 (CEST)", "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id E6FAF299\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Mar 2022 14:03:42 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1648469027;\n\tbh=UKRPKOpzs+ZAu7vwYjGLZMBGJvET+VtGr3m73Iz7vy8=;\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:\n\tFrom;\n\tb=puyA9LxyL4kFP3hOkKdY8nC550MoCy5swTQUHZvpN3yamCDNPGPkImimAkDiNBlRx\n\tEm7KnoKAXn1XBI3n5bw5qYNYo00Au3QeLrd1ofqst0PStXFlZQXhacox8R+6wiEi8+\n\tutX8+llt8pxkLKHbSjdMAZdbrOFPbd+suju4cdrJJ33CwRs8HqJtL2LbZ0x52ljAaE\n\t138RzkdT5awwnnQ2Ae2WzL2oliLvw2BHZuDzw1nAVpRiNhZAUnLGiInDkPrNbDNQH3\n\tO4IVnn5FO/E3b0YkGq34C6HYGm19ZC+UTv/EDwteZF/s0ZDU0BY6SqAu9ULtJkLTlS\n\tGLfSgpzmlTgog==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1648469023;\n\tbh=UKRPKOpzs+ZAu7vwYjGLZMBGJvET+VtGr3m73Iz7vy8=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=A6n+HxSoMP5Ql0UJUVHkP9LN6Os6i4rANPW7qyfIGdz5XUXFpGt2kct+MdMJOoKvn\n\tW8HK0eVKkobvBaKbgAGs4+Eq3qAp7328JGgsGiggXhE3EsnwOa7tc12XNGWqW7/Ezo\n\tUgiJ0n2f5Z0WJGSoBQliljX/8AIA1ojEzo2Y53N4=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"A6n+HxSo\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 28 Mar 2022 15:03:36 +0300", "Message-Id": "<20220328120336.10834-5-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20220328120336.10834-1-laurent.pinchart@ideasonboard.com>", "References": "<20220328120336.10834-1-laurent.pinchart@ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH 4/4] libipa: camera_sensor_helper: Add\n\tIMX296 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": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "The IMX296 is a Sony sensor that expresses its gain in 0.1dB units. It\nthus maps to the exponential gain model.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.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 136b9f6bc3c5..0ec51f4e0753 100644\n--- a/src/ipa/libipa/camera_sensor_helper.cpp\n+++ b/src/ipa/libipa/camera_sensor_helper.cpp\n@@ -385,6 +385,17 @@ public:\n };\n REGISTER_CAMERA_SENSOR_HELPER(\"imx290\", CameraSensorHelperImx290)\n \n+class CameraSensorHelperImx296 : public CameraSensorHelper\n+{\n+public:\n+\tCameraSensorHelperImx296()\n+\t{\n+\t\tgainType_ = AnalogueGainExponential;\n+\t\tgainConstants_.exp = { 1.0, expGainDb(0.1) };\n+\t}\n+};\n+REGISTER_CAMERA_SENSOR_HELPER(\"imx296\", CameraSensorHelperImx296)\n+\n class CameraSensorHelperOv2740 : public CameraSensorHelper\n {\n public:\n", "prefixes": [ "libcamera-devel", "4/4" ] }