Patch Detail
Show a patch.
GET /api/patches/25255/?format=api
{ "id": 25255, "url": "https://patchwork.libcamera.org/api/patches/25255/?format=api", "web_url": "https://patchwork.libcamera.org/patch/25255/", "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": "<20251127023739.179652-19-bryan.odonoghue@linaro.org>", "date": "2025-11-27T02:37:33", "name": "[v5,18/24] libcamera: software_isp: lut: Change default Gamma to 1.0/2.2", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "f7ef2cca6548406f2f24e46a82b547e3594d63d5", "submitter": { "id": 175, "url": "https://patchwork.libcamera.org/api/people/175/?format=api", "name": "Bryan O'Donoghue", "email": "bryan.odonoghue@linaro.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/25255/mbox/", "series": [ { "id": 5617, "url": "https://patchwork.libcamera.org/api/series/5617/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5617", "date": "2025-11-27T02:37:15", "name": "Add GLES 2.0 GPUISP to libcamera", "version": 5, "mbox": "https://patchwork.libcamera.org/series/5617/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/25255/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/25255/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 55FCDC32E7\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 27 Nov 2025 02:38:26 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id B166E60AC8;\n\tThu, 27 Nov 2025 03:38:25 +0100 (CET)", "from mail-wm1-x336.google.com (mail-wm1-x336.google.com\n\t[IPv6:2a00:1450:4864:20::336])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 8E0B260B2C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Nov 2025 03:38:22 +0100 (CET)", "by mail-wm1-x336.google.com with SMTP id\n\t5b1f17b1804b1-477619f8ae5so1499555e9.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 26 Nov 2025 18:38:22 -0800 (PST)", "from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie.\n\t[188.141.3.146]) by smtp.gmail.com with ESMTPSA id\n\t5b1f17b1804b1-4790552c3c9sm58186345e9.0.2025.11.26.18.38.20\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 26 Nov 2025 18:38:20 -0800 (PST)" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"sOEYBu0X\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1764211102; x=1764815902;\n\tdarn=lists.libcamera.org; \n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:from:to:cc:subject:date\n\t:message-id:reply-to;\n\tbh=mmy0r+9dV3Qznnotmc5WkFhDt1dkOI+Qma0jEOM5Zrc=;\n\tb=sOEYBu0X7Yk8cwW9O6N74IB9YMYiqZrgU8ePCb3uuQdGNBjs2opRDJIKxhUBX0mn5D\n\tJD4VXIhM1CS49Gw523u8t3206tx3v+9AXn3vBO8ICc/LqAAAHQKALf7X/fsll1QxG6/g\n\tL+4FnDBtLu8tHd31qZ5rVMAlAEE/c5e/1xIvtqJg3HjA8ZGlCfgaCT6WL06gBoxvloHj\n\te2pR8gbcTLIaJo3Z8SxV0k+LScyq9Qi7fvldpPNvmSzuES25x2BYUETs3qEo9Cm+hcjH\n\tXyxt+hU3kVh0DJ329xt1/0E87TUZ78UryKsrsovYsWhXjOUx56inTOiQTpp2sm0PgzsJ\n\tY2ww==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1764211102; x=1764815902;\n\th=content-transfer-encoding:mime-version:references:in-reply-to\n\t:message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n\t:to:cc:subject:date:message-id:reply-to;\n\tbh=mmy0r+9dV3Qznnotmc5WkFhDt1dkOI+Qma0jEOM5Zrc=;\n\tb=Nfk5QrBnogRfqZW67T6bEm2wVuQkbytFYN5T1oXDDmAfrSpsQGK/83AETUWrUtbBYp\n\tGnUiglDPKTUhXPNbLnMaPMWD1kaJwxXGT7tJqVxJQGCARYQ1ee7G1i2bauDEQqnMGu9X\n\tclTbD9rb/pZw2FgCUi9BmlvTTrGydRnDmzLqAzSBjwkl07AhI0WxL6SI6bwUNOlgWC2h\n\toHCZFAQcZh3mWPVy15A4j9NFV05eK8I/b0CsX8vzBfX0AIBeSbHFl7F6Pd0mzVaGUclj\n\tYJ1riqJKRy4NRR2uYSEgWBYQ+6Bg9ueJ1HuwD9DfOb/6OelEvyT7hriAxMdkS5LZCQNw\n\tlF5A==", "X-Gm-Message-State": "AOJu0Yyt/XXP2oy/E/KJafDICA9VB3gexjC3JZpROWhGhTont1gNBm2I\n\tLzu5f0muvljIx2KDwYGm4sGMcE/t3t/WpUy6Z/8nQ+fbuArMVf8+F9olJLE3+gZcy7Isdkk9b0n\n\tuvmMqlOw=", "X-Gm-Gg": "ASbGncsMOC8KLGtaRbniUNIY1/xPY9VYxkHFI02Kvu0V1CV91wcfABXkAnShpNexyWx\n\tFQ/3h+UofyFwYk30Y2L5eBb15b0skrlYL47rRyPCoTW+2DdmUwEN/n/pxLf5hAI+AyZNWkBjLMr\n\tL9NCDjNKY24rHovPsBsHlEuTD3+NlHhd+kNpFeLzdQjuktp7CnryG06Rqsr4lSjAvrt28wBmQ6D\n\tR6Wo7QxpiFtodi/DzeU8PkcfzmYAOS/ppyINCGLl6kXxQNoMJErq+R+EcgpIYqAijtPxnFL1lnN\n\tE/1LIgkcUlcWZKrv/fLGg45r/PKFvhbRlNQ1ul/XNWedCD8+SsPY5GxX5ZKMa4VAJ6F7bVzcTCk\n\tu0IcPHIThGn2bjkUUVWGefNiBReWwfrMzGgWVnDmNdK2gN8jXPXepYZk3T5Sum2JvP5QugwoSJC\n\tDrQ2bMaorIByOOEOQJzYl8fADwUw/CBbfKFOTwgQ3A2zOfxHfMaTEcHu8PDVMt0dqHI+s=", "X-Google-Smtp-Source": "AGHT+IEXPrzlY66bN30ZDRqCDRhf/9TqdQJRBVcMeOHx8cbrDsqqmSbn8Uy+uTgcOXx7alLZRhjDMA==", "X-Received": "by 2002:a05:600c:a08:b0:477:7b16:5fa6 with SMTP id\n\t5b1f17b1804b1-477c0162e8emr207173305e9.3.1764211101890; \n\tWed, 26 Nov 2025 18:38:21 -0800 (PST)", "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "pavel@ucw.cz,\n\tBryan O'Donoghue <bryan.odonoghue@linaro.org>", "Subject": "[PATCH v5 18/24] libcamera: software_isp: lut: Change default Gamma\n\tto 1.0/2.2", "Date": "Thu, 27 Nov 2025 02:37:33 +0000", "Message-ID": "<20251127023739.179652-19-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.51.2", "In-Reply-To": "<20251127023739.179652-1-bryan.odonoghue@linaro.org>", "References": "<20251127023739.179652-1-bryan.odonoghue@linaro.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "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": "Change the default softisp Gamma from 0.5 to 1.0/2.2.\n\nSigned-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/ipa/simple/algorithms/lut.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp\nindex 9aaab54f1..7f223e812 100644\n--- a/src/ipa/simple/algorithms/lut.cpp\n+++ b/src/ipa/simple/algorithms/lut.cpp\n@@ -35,7 +35,7 @@ int Lut::configure(IPAContext &context,\n \t\t [[maybe_unused]] const IPAConfigInfo &configInfo)\n {\n \t/* Gamma value is fixed */\n-\tcontext.configuration.gamma = 0.5;\n+\tcontext.configuration.gamma = 1.0/2.2;\n \tcontext.activeState.knobs.contrast = std::optional<double>();\n \tupdateGammaTable(context);\n \n", "prefixes": [ "v5", "18/24" ] }