Message ID | 20250824-b4-v0-5-2-gpuisp-v2-a-v2-21-96f4576c814e@linaro.org |
---|---|
State | New |
Headers | show
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 [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id 418CFC32BB for <parsemail@patchwork.libcamera.org>; Sun, 24 Aug 2025 00:49:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id A10E4692E7; Sun, 24 Aug 2025 02:49:24 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="VS1yPQTr"; dkim-atps=neutral Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 975E569316 for <libcamera-devel@lists.libcamera.org>; Sun, 24 Aug 2025 02:48:55 +0200 (CEST) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-45a1b0c52f3so19685065e9.3 for <libcamera-devel@lists.libcamera.org>; Sat, 23 Aug 2025 17:48:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755996535; x=1756601335; darn=lists.libcamera.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=FimEPcJfqzD/y1F93vPgTSYDNNrnSqgquL7dYkKKJUw=; b=VS1yPQTrC6xuBgjsyi+f7D4JaAEdh9WdFAncor6nQMSx6d/R7M3Sj/WfgHpPiWe8Mm JonUZe45I18XaShWq95vN7AHX/U6zXhgaxdiNBn/a3/OYnIbqss/huxrcevEOjCBCzl7 jN2JuOtZwiszIwfJFokcNlo82iklpBCqCgaYfs7PGZpNc4L0gq64Pj104y8kkilvjTiu l9DTdN8zDETp4zJJhrg72iccoZxmf7z8v6/ywh5KUxVFzFrEdhdquu9SXZF8dYEF63kX CHO30iCSsPG8fModEBBpqMTf901SDG1Hp2l1XqbcmzgqXGfiW7rGG5nR2sbwqwkuXDC/ u8Qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755996535; x=1756601335; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FimEPcJfqzD/y1F93vPgTSYDNNrnSqgquL7dYkKKJUw=; b=SNmjDefMwSv4/U45eYj3YJJ8m3qmKFXAtPr9E4+VlhcgHqrBiBu5zQMPcJ6flto+bF jQ2xZhUR68ru713xphqnXOuMTTnj8+VqqBHVnChn4fVBjd9CSyJQICLiuncQFVCuuKnD cFp4/BRyp0NU3BFFvzxgoGs58N/GdbI4BEgu0qzBSBGWvxUjQ6ltFLVWRReZNjmOX+St xB2KHSGIbTstTL76VekmSsfO+BVvLfHPL6l2OscV4mzNcULajqz0OYEVhJtEcQE9O9LT V0swmmucST0Bk3S5mMIrTGmUludvU6wQQDQE9SyVrbkjinDaaKI8DgUBW7jTc22MMzkt ofDA== X-Gm-Message-State: AOJu0YyjYxKOxTsohw5FFkywE9uBBYAvhZrseP4nbWhn9RefMuaRRkb3 hDiUjqoeO7Re4ZU6nxCGVtHrnaJg5EZdhlP2XHOj2+oThTZHBYkfwIqnYgGJtrCqOTI= X-Gm-Gg: ASbGncslB2e5iqPGwa5nAIIAX20vQSUYwVmIcD8vJ6S3MsgStWOfe5oTmfcaEu9pEtA +0McnylGIfgBJ1YUtIYWKmC69O5OuTxVJotRR2bCydkST+w1HlSq7/9j0VIItL0bPmnaJhBtVz9 r9gHwAec1cUQUgOqCZfpBhoiCjHc893yT5PeuzL+nOzbJvxEDY2NfHaTf0xI91RnEVLLePfZUQh fx0YhsACFW13/3VtDVzmngE+h8/gzqmNtgTk03rkZsGgxZTLKZq9kB4LIRHO9cRLZzZEgep9H9U 8YRVhVgaNeWd3LfPcamOCwYcyafTD3N8xmAGTVtYfvBDJRaUTgWPd9i61p38Ble5fo0ndCV8UQW 7Bcp1bePd0fkjdqs+fDj/frA/36Az5n3WvZ4nEr2PCG1mCltcL2OHeq1pQDrhkjXV6QEPagQbVz Iv2igbcFHjOkSTww9BttGr X-Google-Smtp-Source: AGHT+IHe0dCIocEFZ0kfskr8azRIrOjjn1C1YYbJTyf/O+7KQSyulc9X2xgwkMpge2pM7VxHB9E2aA== X-Received: by 2002:a05:600c:3b8e:b0:459:e3f8:92ec with SMTP id 5b1f17b1804b1-45b57557becmr36421655e9.10.1755996535092; Sat, 23 Aug 2025 17:48:55 -0700 (PDT) Received: from [192.168.0.13] (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45b4e1d530esm69347225e9.0.2025.08.23.17.48.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Aug 2025 17:48:54 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Date: Sun, 24 Aug 2025 01:48:33 +0100 Subject: [PATCH v2 21/37] libcamera: software_isp: lut: Make gain corrected CCM in lut.cpp available in debayer params MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-21-96f4576c814e@linaro.org> References: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-0-96f4576c814e@linaro.org> In-Reply-To: <20250824-b4-v0-5-2-gpuisp-v2-a-v2-0-96f4576c814e@linaro.org> To: libcamera-devel@lists.libcamera.org Cc: Bryan O'Donoghue <bryan.odonoghue@linaro.org> X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=850; i=bryan.odonoghue@linaro.org; h=from:subject:message-id; bh=FFU0e6b+jOj1EF4GO7A3Vo/viyRB9130uJ8dhYJoGyU=; b=owEBbQKS/ZANAwAKASJxO7Ohjcg6AcsmYgBoqmFgFRHltipt+AIMA5OD1Iv9tBOxJrZzyftaE hXtF8IJ3bqJAjMEAAEKAB0WIQTmk/sqq6Nt4Rerb7QicTuzoY3IOgUCaKphYAAKCRAicTuzoY3I OpVKD/9NB0l5VrAP/EG7NRnnjLVByFVh4b9spzYee/tfAitFlYxb8oNz0+0R5Q4bvAOTQWT+Uw2 I1tsoFaWjqJ+hipxSCa3fHl2peGIH60dwRLjzD3H5IHNgZTgmmy6DNgCG8n5WoKE+wO49J6IQbr 1XYnSCC7eAAMLjYXvtr3EbuYyE9VUBvUCQGnYKWMwxKU8bMLwR2REYmMcaQm9EPlv37lJm6tF4+ yqRO4oIh1PZTKfb2ae0ry+EM2WPMj9CTZo+E79ClaUhwnl8G1buhCLgTu1VVCxKBf8YVcTVQSK/ 0S8HXaPha1a7dwH9eEJAFg3mQ5XDP+Q8/sithaOdOXIjVQ5F/PLDTAWbCXWYA+k3rwVGG9u8Sf8 bC4g2WZlAIyNGEQ8/t7ax6DT/AO7Zw+GJrA62pFaDxCXNQDDLAf8UjW8+R7lIN0ZfMqfPMroB04 qYNk9eCY9vVuQuSNaK4IzXIDz2/xkyLgFEHZAvAaAZn9kH+5jAsbwo/Srfuo09UXHYskALS025l NAjUh/I4kJULOsM0z5ooPNrMqZnE2X90bLa0eOSg6ODOY8vXMyuCSQZDPNWtHKTwxBgex25iSaZ 71fLgC4KggdIVDkrCUBP5/TXOj+8eLSaFQ3CD44dFYO0OB+dKxRmdgFCvwz0rleuotGegZ3vX2l zoctv5XOhUYpAOg== X-Developer-Key: i=bryan.odonoghue@linaro.org; a=openpgp; fpr=E693FB2AABA36DE117AB6FB422713BB3A18DC83A 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>, <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>, <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> |
Series |
|
Related |
show
|
diff --git a/src/ipa/simple/algorithms/lut.cpp b/src/ipa/simple/algorithms/lut.cpp index d1d5f727129ea3cfc04c31c357cee54689e6d23b..a161adb1a489a0cfe29253ccc14e5fee91fbf7d5 100644 --- a/src/ipa/simple/algorithms/lut.cpp +++ b/src/ipa/simple/algorithms/lut.cpp @@ -126,6 +126,7 @@ void Lut::prepare(IPAContext &context, auto &red = params->redCcm; auto &green = params->greenCcm; auto &blue = params->blueCcm; + params->ccm = ccm; for (unsigned int i = 0; i < DebayerParams::kRGBLookupSize; i++) { red[i].r = ccmValue(i, ccm[0][0]); red[i].g = ccmValue(i, ccm[1][0]);
There is another CCM calculated in this algorithm callback, this time based on the LUT. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- src/ipa/simple/algorithms/lut.cpp | 1 + 1 file changed, 1 insertion(+)