{"id":25260,"url":"https://patchwork.libcamera.org/api/patches/25260/?format=json","web_url":"https://patchwork.libcamera.org/patch/25260/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/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":"<20251127023739.179652-24-bryan.odonoghue@linaro.org>","date":"2025-11-27T02:37:38","name":"[v5,23/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/people/175/?format=json","name":"Bryan O'Donoghue","email":"bryan.odonoghue@linaro.org"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/25260/mbox/","series":[{"id":5617,"url":"https://patchwork.libcamera.org/api/series/5617/?format=json","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/25260/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/25260/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 311ECC32EF\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 27 Nov 2025 02:38:36 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A88BB60C6B;\n\tThu, 27 Nov 2025 03:38:35 +0100 (CET)","from mail-wm1-x333.google.com (mail-wm1-x333.google.com\n\t[IPv6:2a00:1450:4864:20::333])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F165D60C6B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 27 Nov 2025 03:38:31 +0100 (CET)","by mail-wm1-x333.google.com with SMTP id\n\t5b1f17b1804b1-4779adb38d3so1790785e9.2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 26 Nov 2025 18:38:31 -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.30\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 26 Nov 2025 18:38:30 -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=\"u6ytNMQX\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=linaro.org; s=google; t=1764211111; x=1764815911;\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=Fl7bKsKAlYLaLttSHKhj1oGaJ2+iNv6A2IYhlzS7gvI=;\n\tb=u6ytNMQXW9qdyoRT2fDSTXdVvTy2KyTcoZtY3jBGgGYsl7lYEmeTUCniYQqPo9gQpn\n\tAIEn5MkF4+/YTIMpDC8sc9ockt6mHZbprUSGvPFe+4+VcmCY70iIbAlyMzmaHPLO4pBP\n\tPzrsz7oZrZgLpJArEVq1al7LOHFaJolHeZc3KUsic5JUeEaDvmyfFI7F4PaBQ2Dgln7C\n\tN3v+K+aE0sJhjKBFjSaAXXKBXN+JPcNJE0S80P5o5WfoAODuWD6BkYpCWdxj465gYW/7\n\td7ku9h0JFyO4F/e+6tSQIhK1g2YmnGVGksLFuLlio9oB0BplQmoPNXt7X3/hH30avNa2\n\tMcxg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20230601; t=1764211111; x=1764815911;\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=Fl7bKsKAlYLaLttSHKhj1oGaJ2+iNv6A2IYhlzS7gvI=;\n\tb=caInulDHt1y3rvjOoQeA3OAsgkf3+XG43whEJXdLWwbF9DPsz7Yf5mAaA6MpFuyLXW\n\tS8ZLUBac27j2VBpWDKtpd9wKcQ8wSrawiOSQu5uixO59mIqzgZPGFwLBSh2Wt+E1ZfHq\n\ti5+HOf6aR2Dd6yFM+OzgXZkcalzBCFEo4rKXtBFcrh3zeP6nHLpDg1yQ2vVQb/+PO+cv\n\tbOnZLWonE1SY1ZowzJRZmnxIVTpMot36z2zAp0Dn67WEC1k/10rx4PaDMhcwFYn8FmuU\n\tYvlRsOe0TIMnpQ6zvbV5/bhPYS5j0tqxjcXWrDkgpmIKZuCwQ2frqbq1iilBJl5rO3l0\n\tGn4A==","X-Gm-Message-State":"AOJu0YwiSANd6KXgUylH6bFKv2DXSuovdGly2CyztLt2ixuD8w4HoJhO\n\tII2rHHt4M8TUg5PUGEyWcmKbZuVljCiMoul78e0z5hUiAMvmN0NjIEJoCfuukYClutz2TBOqfm2\n\tNROujDjw=","X-Gm-Gg":"ASbGncthv5dWtpPivGIzyLbtVfS/KXJ5RDFXaYmHLBwnUp4m1HNELAMx2TYNAQqtBSu\n\tuCM9qIH6QVIoLpCgdPpjzfBpiCxk6Wde0ZXFLkVwpt9sfspYj27KfsjnbfD39/xG/1ToL9Y5nnE\n\tpC24f3Y/DYO9nxKiHeN4Gj8Y7t6TlJBggZdESXz4VU5oPH2Jkg29npnplfpt4FHppI5Zb4tWumC\n\tbxgJGwGXBz3oYfUOALNEFgmdJBHptMihbfoz9oa0SBrsMJ8MVFPNneBb6R+mq+z5jqZWK/5NFlD\n\tmWp1tgDIbmKbUsUbKJsVZt0s3Y8BE5apEHdgADo9OLiSJzPs6LWJm9/WHvfoKZO9YGxFEtjGJ2T\n\tjWGOXT7dRUXmCQ74kZba24/5WtNkRVI/VTeTLCfEKsSXudsDD9Blay7aoIwLjaUqZ5EObv/SoJh\n\twMlyMPOj+1DC3YRhBE2Sos68Xsf90w4+fCUVkpiNsDdoLTbIxuSYxy7h4kyxsZn0gJcRc=","X-Google-Smtp-Source":"AGHT+IFWS1qhnIYVf+9qWA8K7OREBP+Ern4Z97yhUk3S2Ip30gG8x28Gh+RL9dJw4J2NDk86m2t19g==","X-Received":"by 2002:a05:600c:21cb:b0:477:acb7:7141 with SMTP id\n\t5b1f17b1804b1-4790f03337dmr25966475e9.3.1764211111296; \n\tWed, 26 Nov 2025 18:38:31 -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 23/24] ipa: software_isp: Call\n\tcreateSelfEnumeratingAlgorithm() to statically instantiate CCM algo","Date":"Thu, 27 Nov 2025 02:37:38 +0000","Message-ID":"<20251127023739.179652-24-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":"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":["v5","23/24"]}