{"id":25330,"url":"https://patchwork.libcamera.org/api/1.1/patches/25330/?format=json","web_url":"https://patchwork.libcamera.org/patch/25330/","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":"<20251202134544.662446-22-bryan.odonoghue@linaro.org>","date":"2025-12-02T13:45:41","name":"[v6,21/24] ipa: software_isp: Call createSelfEnumeratingAlgorithm() to statically instantiate CCM algo","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"456124d7e5a2ae1cec72fff163a10b5a08f1577e","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/25330/mbox/","series":[{"id":5631,"url":"https://patchwork.libcamera.org/api/1.1/series/5631/?format=json","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/25330/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25330/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 AD677C32F9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  2 Dec 2025 13:46:30 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 1508160F4C;\n\tTue,  2 Dec 2025 14:46:30 +0100 (CET)","from mail-wm1-x335.google.com (mail-wm1-x335.google.com\n\t[IPv6:2a00:1450:4864:20::335])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BF4F560F4A\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  2 Dec 2025 14:46:23 +0100 (CET)","by mail-wm1-x335.google.com with SMTP id\n\t5b1f17b1804b1-477bf34f5f5so36310245e9.0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 02 Dec 2025 05:46:23 -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.21\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 02 Dec 2025 05:46:21 -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=\"zKbi9ftg\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1764683183; x=1765287983;\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=2pApn0Ftt225wj2OFxj2PTyD+pMbuHYXyYVVwJZOq28=;\n\tb=zKbi9ftgeS/1jICA++DQn41GDdcwfUk4UEwAW2+DV2RIYsLitCdwdv90MHonsCq5mX\n\tg6W0Cxb5yRAi3l/ACCJ7Bi8hgDfB7M9YkzOd07V9ft2Ln4UDUVM2LgRyQ/SriFEd6THd\n\tjvq9EhLmkiinnG5qILTYqpVxOlBjeX6aQix0UzNzjEa4XregNu4gOKielLpS6YxyHQ4Z\n\t5QQbjwDbsFC4KsdWDB1hDky17QbF2FuPoZOkIhsqatJKuIhqKng9JtMMEC0yIoGUMqD8\n\tP4QPtWvAp5iS/rHUatvpf+hQvUQ0Mhif1oJka9BQew5tapMlbb9WuGtJSTIaN69PLqUy\n\t7m4g==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1764683183; x=1765287983;\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=2pApn0Ftt225wj2OFxj2PTyD+pMbuHYXyYVVwJZOq28=;\n\tb=SJ2VCn4WlVMoGIaAdQ4o4Uq7cxFORpHHh9UDJine4xQcqVV4jb2ZL1uc2T6Ods9Iwl\n\tdg9TyQFUa52+Hf4xR+r1Zd70Nu2iTy4KvthxS0ilJwzUmYCxVdHtN+rOMWFZEXWxC1rY\n\trsl4VxeZNJt0ppLOlddN7i1LCJgqvJYIik1yr//vKUrFhehk8HTiPRhFKKSNd+0xHrIY\n\tRChsIA+VbRZaHlCC4QLc4yABNSOB11xeQpGGkvH39fFVlqj09Ub7XGFCz3S9simTtIMi\n\tcAO5GZP9FKOjqgLDuKy5WF0iL8FPIWS1oVIVoW2gpk2UruisYauPTWYB+WYn4rTloHOp\n\tl2qQ==","X-Gm-Message-State":"AOJu0YwIfDtgSKYhaQRRsiPNo2MyB8Z/xvaWm2vsLveWiEcZahS7Q+lP\n\tUrQ2h8u/8EQWJgox3eMtygPbRHaV+qceGk3UU6pF8DT3g0SUKp3usR4HY2Ew3iCEoPgLbx8OH6m\n\tHLGfP","X-Gm-Gg":"ASbGncvt8KyP5Yq/M7GLKvYfXhzkIzSPCpjiNBdJb+jdLlcaR/noYIvpb+1GJsSGVve\n\tj/x+R9NjJs+OSpTKivGnCJIcULJ2a/UxxSvdtynXv0Wh7QbwWw6LHEf1jBoG0Z0+Sh7ElBjlhmX\n\t/ouz7UsB6G+mh2A0LBzcC8W3le14JO/hc84gilt4wtxDUbXHOKwPjfrCEhIP3O+UXgc77IGHRQp\n\tW23UrmidCqStwuCFkw4udcImpBqf8+q7uj1YRuTgrCkzrAXVb2PfryxJdTDACmHlMEvUUYR9kqH\n\t3dM1UQhGWqg3Z9IArLQgsOWaPnAi7aBWnL/QUGFDF/k+ItBowOaSHLV4ycBJhhUPFk+FMxHk14A\n\tWiioMPjsxJm0lFFNrQDq0+/5tFd+noyu5cOzuLYoQ9DjGzUkAXtbsaRPnZUEaH3vWUwnjVmtAAk\n\tvWaPmo6OY85JxrHhf/CWG8p+q/ZW1ByNQCqM6gJ/1PSYm9APvhToyi2FSBpnu8qRj5BCM=","X-Google-Smtp-Source":"AGHT+IFf6xQq/tyvhXWJOEo+JfLCumsebumw+TzJABkXHArLxJru2YWSdJ0D54o7vXcWQpf/EPQ6Cg==","X-Received":"by 2002:a05:600c:4591:b0:475:e067:f23d with SMTP id\n\t5b1f17b1804b1-47904b1fac9mr286816615e9.25.1764683183106; \n\tTue, 02 Dec 2025 05:46:23 -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 21/24] ipa: software_isp: Call\n\tcreateSelfEnumeratingAlgorithm() to statically instantiate CCM algo","Date":"Tue,  2 Dec 2025 13:45:41 +0000","Message-ID":"<20251202134544.662446-22-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":"Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>\n---\n src/ipa/simple/soft_simple.cpp | 6 ++++++\n 1 file changed, 6 insertions(+)","diff":"diff --git a/src/ipa/simple/soft_simple.cpp b/src/ipa/simple/soft_simple.cpp\nindex 2bbe271d9..d5474bb7a 100644\n--- a/src/ipa/simple/soft_simple.cpp\n+++ b/src/ipa/simple/soft_simple.cpp\n@@ -137,6 +137,12 @@ int IPASoftSimple::init(const IPASettings &settings,\n \tif (ret)\n \t\treturn ret;\n \n+\tif (context_.gpuIspEnabled && !data->contains(\"ccm\")) {\n+\t\tret = createSelfEnumeratingAlgorithm(context_, std::string(\"Ccm\"));\n+\t\tif (ret)\n+\t\t\treturn ret;\n+\t}\n+\n \t*ccmEnabled = context_.ccmEnabled;\n \n \tparams_ = nullptr;\n","prefixes":["v6","21/24"]}