Patch Detail
Show a patch.
GET /api/1.1/patches/25331/?format=api
{ "id": 25331, "url": "https://patchwork.libcamera.org/api/1.1/patches/25331/?format=api", "web_url": "https://patchwork.libcamera.org/patch/25331/", "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": "<20251202134544.662446-23-bryan.odonoghue@linaro.org>", "date": "2025-12-02T13:45:42", "name": "[v6,22/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/1.1/people/175/?format=api", "name": "Bryan O'Donoghue", "email": "bryan.odonoghue@linaro.org" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/25331/mbox/", "series": [ { "id": 5631, "url": "https://patchwork.libcamera.org/api/1.1/series/5631/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5631", "date": "2025-12-02T13:45:20", "name": "Add GLES 2.0 GPUISP to libcamera", "version": 6, "mbox": "https://patchwork.libcamera.org/series/5631/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/25331/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/25331/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 902F0C32FB\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 2 Dec 2025 13:46:32 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 107A560F78;\n\tTue, 2 Dec 2025 14:46:32 +0100 (CET)", "from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com\n\t[IPv6:2a00:1450:4864:20::32e])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 23F0360F39\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 2 Dec 2025 14:46:25 +0100 (CET)", "by mail-wm1-x32e.google.com with SMTP id\n\t5b1f17b1804b1-477b91680f8so49634725e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 02 Dec 2025 05:46:25 -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-47926f0ec69sm19383375e9.1.2025.12.02.05.46.23\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 02 Dec 2025 05:46:23 -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=\"sJWCZyuF\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1764683184; x=1765287984;\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=dTywnjywTYFDNqkP0cnk9UpWXHvyZGmzqAChiiWsJt8=;\n\tb=sJWCZyuFavvW0Kj84F0MHIKhQ+bh+8S+BQEeLCLDgLCy7kT2z2r7H9GPki7VGTfxNe\n\tqsOxJy8IpxTn1GlNBLR7EEVfqFbBzZL1dP3nme3VeNA6zEneDM5li8h5xSMhUNGyZ4sA\n\t45OTBv2MT3wqmobnvNv6Ps83G0C+sQ4T4PW4ZZ+//WuR0ukQSpoLt9H8tWivu91J6DHT\n\tgZrOD+VwkolZmHM003m58v5rpO3ZOyh31+Gtn4xJ98WEvBx+h0ekWQB36h3bHgnkZ7gX\n\te7BJ/sErc+WHGXVZUdgcrTRShY/cMhizzPcWUSVOvDXvC/V+uswsE3amm/yYsA7kzsah\n\tuhyA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1764683184; x=1765287984;\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=dTywnjywTYFDNqkP0cnk9UpWXHvyZGmzqAChiiWsJt8=;\n\tb=lRf4J3F9u8pRGL7OmeJw65EXBIQo4jZSSWLt0GDbPgLuKZeAFsWVen3qMWa6tqrYEL\n\tJOdrPddaUP5zZ04uXcgxRZ60aq775UyCt62Drgv2jCUE/Q5MPcKqTUKJBgrxyVPzstk6\n\t+R0J/5QzoEvlOOQNjnr4HWxt8pi+SxgiIAnUzX5St+3C9Xpcsvwi3S1wy6WFOD3xudzA\n\tNDQXoYDI2EYOBBuedRMPVKPJtmK31K9O1Sv/ildhaVASR2YM6ZTJEtxm45AQ1agKiJvu\n\tndjUZsyCTnzsWZ2dlzMVA6QhRtHhXFBJaEZZXZqr/frov0fAngwBBPXffH6k9lNaekqK\n\tM1tg==", "X-Gm-Message-State": "AOJu0Yzpy9ZrlMkmfL/+rkSCK+mI+OZY3sHEXhdL45oqEz4OmUvnqXmJ\n\t2kHCpyB9CydnlmzKGHu603ImTKoxdgoSZKVSWt21zEe0YmRP8vYEwPUuK3eTKKH0bI7D3qffcKm\n\t9EnjJ", "X-Gm-Gg": "ASbGncsIHuk8XGbcsuF/KZTV9xizlBbEz1fFcIhacZhx+MNH3mXc7GPiXw02UknFila\n\t3u5uSvQpKQgPgvwIvtv8r8Nqj4CkWWtzJ27j7joblF7sorFvVrhTJeDtphEEG/xBD90gTJwPBaz\n\t0agGgVEX6CU6tAOQJcP67qQl6RTalQNz9y3v8cGTYhaZnzemuWwIY4meNkL25PiW3FGjx6nC4P+\n\tgFgYfAv1E01zl8cZAmbB/hTHx8i7xsM7ajKNGR5+m06pcqFJCS5p+KYy864dPgjQ80O90UT3ct7\n\t+1AeJIUlZmnZtahbDvNkLoau8ehWsNln5umgkw/ccYaMbbVj/E2M7CpLETg0ixOBu9+wdGbSeQe\n\tHaOQFy0xIAbLGyMd67MBTFCErBJG5fDfG7bJjxF+fi5b2x/ilblMoL9+dLsRrOkuYBSjovz2ELq\n\t2kQalSn8xi8XAZCfr3uBCoNgH9nop9TBERFvPrlP7UD6oK8boTvugj7tI8nGhvLfPUxkfU/90AL\n\tIRvcA==", "X-Google-Smtp-Source": "AGHT+IFIBgfDaKUq8XjdGVLzL9SE3d8U512DKUNvxIYCVaM2buY37PYIgMcH0VakUrgLKPAt8jYzAw==", "X-Received": "by 2002:a05:600c:474a:b0:477:b0b9:3137 with SMTP id\n\t5b1f17b1804b1-477c10c8886mr407852965e9.1.1764683184382; \n\tTue, 02 Dec 2025 05:46:24 -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 v6 22/24] libcamera: software_isp: lut: Change default Gamma\n\tto 1.0/2.2", "Date": "Tue, 2 Dec 2025 13:45:42 +0000", "Message-ID": "<20251202134544.662446-23-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20251202134544.662446-1-bryan.odonoghue@linaro.org>", "References": "<20251202134544.662446-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": [ "v6", "22/24" ] }