Patch Detail
Show a patch.
GET /api/1.1/patches/25442/?format=api
{ "id": 25442, "url": "https://patchwork.libcamera.org/api/1.1/patches/25442/?format=api", "web_url": "https://patchwork.libcamera.org/patch/25442/", "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": "<20251210005354.44726-26-bryan.odonoghue@linaro.org>", "date": "2025-12-10T00:53:53", "name": "[v7,25/26] 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/25442/mbox/", "series": [ { "id": 5645, "url": "https://patchwork.libcamera.org/api/1.1/series/5645/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5645", "date": "2025-12-10T00:53:28", "name": "Add GLES 2.0 GPUISP to libcamera", "version": 7, "mbox": "https://patchwork.libcamera.org/series/5645/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/25442/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/25442/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 A1B02C3257\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 10 Dec 2025 00:55:20 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 586B1614A7;\n\tWed, 10 Dec 2025 01:55:20 +0100 (CET)", "from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com\n\t[IPv6:2607:f8b0:4864:20::42b])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 29501614A6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 10 Dec 2025 01:55:19 +0100 (CET)", "by mail-pf1-x42b.google.com with SMTP id\n\td2e1a72fcca58-7acd9a03ba9so6767303b3a.1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 09 Dec 2025 16:55:19 -0800 (PST)", "from inspiron14p-linux (p96936b06.osaknt01.ap.so-net.ne.jp.\n\t[150.147.107.6]) by smtp.gmail.com with ESMTPSA id\n\t41be03b00d2f7-bf6875cc8eesm16057762a12.16.2025.12.09.16.55.14\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 09 Dec 2025 16:55:16 -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=\"ppoGcx+3\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765328117; x=1765932917;\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=NauU1uWfSPSZd8EiGg8FTzmSYzjHvu/p8kn7jtnbOq8=;\n\tb=ppoGcx+3drTanGQTvIM5mmL5jrQxdNvfAeGIH/XKTRmUsRlPdf3OHTc0XNvCauuzK0\n\tJAHVC3dv3t5Z4djXVPx+jSpBSfLoaEek20Cy1R0dOTgM6qe8q7b35oO0f0k4rE8PxSmb\n\trIX/VkT7na6i91D/2o0dH1vEO+vPT27Xv4ASAPB57AuNh4M0iJcxRUJI35tRKuLIOI4c\n\t+0ahSCiZ3xhxKLFLW1dJyxxbbE33kJxSnpemqDXUA6BiTQbpjZ8q0sgkUIp3NLCLrKG4\n\tDM8kJjC3bQwRlTd77I6BzoviRypoVAnebpTJ42zKH6Q/26cS8xjGf0e99md774FHJiys\n\t3k9g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765328117; x=1765932917;\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=NauU1uWfSPSZd8EiGg8FTzmSYzjHvu/p8kn7jtnbOq8=;\n\tb=GUuy7qsNRgcvGrnjUPocD8iBVyg1cbTLnbxpL+T0vcLvsKG81rGxisRtiV3X4+Cq+y\n\tXlOkG2LG0mMCcP1NAG74xy2dIsXDJxzn1p0GQWNpddlqZQd5oK17SrMYFoHDbOIANRgE\n\tCyylzImGjha+riyBF2sOJxA2A2xj0urrM9FB1/l5u6tK6rtC1CzCKFiCg1ib8QN25yjQ\n\tcurvIMIep/+8Kdg9hqJPn9U0eTYptHY1p7Popp08kVEzNDRM4UyQCI56Fb28rE07XkET\n\tk02kYxAFMZBWEWZAvb63xrQh654+7E03mW6n4ciafQPpjhUNPnAdzWNZ39APpHgorI89\n\tOJvg==", "X-Gm-Message-State": "AOJu0YzHcKl10P7OyAXIkXQpD6XSFeaT5baxIyLCL/cE48BjnItFhlT5\n\tQwq1Rev3ec65m30UQIxzkYibzhYMEhRSn8Pfrzcxa3CNbH1HYMEhI0OZqVnNbi8cjebsWc53WKB\n\tllhb9", "X-Gm-Gg": "ASbGncucPOXR20djdvbWW+WgoiiKRnsyGKuuypyy5Ll6vfRYO0hoCg6QKBnkxNS/CK2\n\tZOCKBS0IPju7jB6Ihro00Fsr6xkpIjB1qsFTD7JJgUDkeg7R/QLg5m2PSZhSx1CxfwwMO8dwGuk\n\tEacUeZU6hH/rK4UnY7BbfquyCouY2FrtCwWEsr5ROv1rc38u7EOW34GonDLZmaTFwIxwmCR/K2k\n\tHfC9pRqKNRPhKq4pyiHs1MtuJRmkoEdKcLA0s3VzmMfJzKpzfSIuhRckiuWU1jDPFyOoqKKAlG1\n\tNSUtod/38i2tqPj9280AAwPIeWPCy9iOXfhlKYorMy6KIKGbs8AZYZcQfKEGhjsS0tsIqaWW/ga\n\tnZwq3smLJOkX/ojyY8xYlCTghh2NQoRRJMWq2v69jZuwUkiQrBy7YPc73LctBy2yAmkaIL2XxvA\n\tjzrcuZIomXhZ9WrPcvLEzCWyCL5bGiQOdI99LeXFCStV9lC/M3Jy9X1zNYS2YsP/WNEiuaPG8AK\n\tmc=", "X-Google-Smtp-Source": "AGHT+IHVZZwsP1tb5+PTWqnPvYS8APXQhj4+F1T8U0zmMdhF3F/BgWHbdud1pYcSX3XhlFjhZL3BvA==", "X-Received": "by 2002:a05:6a20:3ca1:b0:35d:bb66:5ce3 with SMTP id\n\tadf61e73a8af0-366e07de6f9mr512845637.12.1765328117463; \n\tTue, 09 Dec 2025 16:55:17 -0800 (PST)", "From": "Bryan O'Donoghue <bryan.odonoghue@linaro.org>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "pavel@ucw.cz, Bryan O'Donoghue <bryan.odonoghue@linaro.org>,\n\tHans de Goede <johannes.goede@oss.qualcomm.com>,\n\tMilan Zamazal <mzamazal@redhat.com>", "Subject": "[PATCH v7 25/26] libcamera: software_isp: lut: Change default Gamma\n\tto 1.0/2.2", "Date": "Wed, 10 Dec 2025 00:53:53 +0000", "Message-ID": "<20251210005354.44726-26-bryan.odonoghue@linaro.org>", "X-Mailer": "git-send-email 2.52.0", "In-Reply-To": "<20251210005354.44726-1-bryan.odonoghue@linaro.org>", "References": "<20251210005354.44726-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\nReviewed-by: Hans de Goede <johannes.goede@oss.qualcomm.com>\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\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 adf411768..618219b17 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": [ "v7", "25/26" ] }