{"id":25540,"url":"https://patchwork.libcamera.org/api/1.1/patches/25540/?format=json","web_url":"https://patchwork.libcamera.org/patch/25540/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/1.1/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20251212002937.3118-26-bryan.odonoghue@linaro.org>","date":"2025-12-12T00:29:36","name":"[v8,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=json","name":"Bryan O'Donoghue","email":"bryan.odonoghue@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/25540/mbox/","series":[{"id":5657,"url":"https://patchwork.libcamera.org/api/1.1/series/5657/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5657","date":"2025-12-12T00:29:11","name":"Add GLES 2.0 GPUISP to libcamera","version":8,"mbox":"https://patchwork.libcamera.org/series/5657/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/25540/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25540/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 9E065BD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 12 Dec 2025 00:34:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5457661925;\n\tFri, 12 Dec 2025 01:34:42 +0100 (CET)","from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com\n\t[IPv6:2607:f8b0:4864:20::42d])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AB77A6191A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 12 Dec 2025 01:34:40 +0100 (CET)","by mail-pf1-x42d.google.com with SMTP id\n\td2e1a72fcca58-7aa9be9f03aso567502b3a.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 11 Dec 2025 16:34:40 -0800 (PST)","from inspiron14p-linux (p99250-ipoefx.ipoe.ocn.ne.jp.\n\t[153.246.134.249]) by smtp.gmail.com with ESMTPSA id\n\t41be03b00d2f7-c0c26eb0f6bsm3317282a12.14.2025.12.11.16.34.36\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 11 Dec 2025 16:34:38 -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=\"y4b8f3hM\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1765499679; x=1766104479;\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=y4b8f3hMPlnuUEPuVPgZVaCwwP6o8mPwbm6dn9T8QFLKzfYnyiU65JlCTdWOu5IBGg\n\tRyCIn2AIaFKnWBpJ31KBnLFslG1iJnXJ9JyIs1wtfX9Nij6MTPWaoox3rpIlrdczRSPH\n\t8gEbbqB75ySGDQT6j8ybpjY2B+qDNitR1s1ww5K457WguUX4hDIhGu4WE/s9fCvA7D9v\n\tQWQjCzCCxSTuD51KjxM+spnWb8vDrX4rzRKaRKExVmY84r6Sv9V4bgypcsdoHjiluR77\n\trVN904VlwxuFQR0AfHxlBLpPIV8rv6f8i7hE5QC7GRuRJi0PgwLw/bUDT6IjnN6mOMZk\n\t3WSg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1765499679; x=1766104479;\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=wdVK/vsQG5IQzFqZNBucMq8c7KVgB4DM5Letjo3zFTHbS3271JT2N8dfrmDyU28FAs\n\tjL5IVapGN6atmba9uDeE6oFd1sWO6BeLt7oMQA9ioefSt723YcMsG7lAZo9nsZhvy7wV\n\toSxo+tTBr7FIvNo9mxC4ok5P8vK87V7vuw0xnEsEnGgR/kVE7rC7iFYgflS9kijie+0Y\n\tWgEd7jAbnvSgmfYfajJZL/OJ51oR5CmSlkJfuYoubePOB8dmbV42nYADRBnmfv1wiMlG\n\tp7YAp1RrblOFF5Qwx/q0jd3KL4zcI3RfLUmilIdT5YoavXoXbjnoDSlKJ3CxBNOLouYq\n\tFz0g==","X-Gm-Message-State":"AOJu0Yzuov4HqOsaopL+YwOWAAx1wq7w6U0T0RXFa33MrClpsNuufA/Y\n\t2Ha37QG9p+oeLXLxpZCRD6NOYSr7yqd5IcvYOg90jqjAeCs2ZYCZAKp0xIa+z9Vz6Aj9FuSJYgW\n\tU/BAz","X-Gm-Gg":"AY/fxX74YxfQb0bNAmuHApZqX9SzD1tOmWByuwS/iDeUwFQlAnXu/Ff865s5CnHQ5+V\n\tm+9LAiUoHErSCIvlUlyFu8LbszMsxC2tKGauw35t28kLELwq+TDIyruaBBxoA8vw6zfGW6dpYvJ\n\tppa9f0CT4kxvwgxvAL9+Ebfpqxxph9zPvWxPvgdWPNbVDY8CqT6/Z8ftKRd+VffvMbShsiMOE9n\n\t96ghiqfBCr0DGrzfQwjyvOiLR7WiPanQlFwJnL66q0fVJANuvwJQFEPed9ajOOW9nuf23egjVpV\n\talaIT73aspX2B7WT6lZm3nTyP7zQ2Yw85QmWGRAHoQ0nNE4SdjnVd434tApailjBX6WwY2TOkRf\n\t8euc99wIPcfU3wPNLSM82L0eRnECBzS7UTfFPLA5P/S7s2FR4uY4OhIp0BAG8dkFeFAguuwLBfX\n\tjWFxvuEB2ObYDwMEKEIJBFJyxrGwRHmuKIkMa8mchxLju9I3Tdn/RTKfBW0W82bOwaegnv6w==","X-Google-Smtp-Source":"AGHT+IH/meynhM/ohq1MTMkGDS8PZlwnsRYSr9mdOVbCjFcTh+2Rku+9kyCwccadSPR15KVJabT6hA==","X-Received":"by 2002:a05:6a20:12c1:b0:2ea:41f1:d54a with SMTP id\n\tadf61e73a8af0-369afa01494mr317739637.55.1765499679020; \n\tThu, 11 Dec 2025 16:34:39 -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 v8 25/26] libcamera: software_isp: lut: Change default Gamma\n\tto 1.0/2.2","Date":"Fri, 12 Dec 2025 00:29:36 +0000","Message-ID":"<20251212002937.3118-26-bryan.odonoghue@linaro.org>","X-Mailer":"git-send-email 2.52.0","In-Reply-To":"<20251212002937.3118-1-bryan.odonoghue@linaro.org>","References":"<20251212002937.3118-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":["v8","25/26"]}