Message ID | 20251015012251.17508-19-bryan.odonoghue@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 0300DC3332 for <parsemail@patchwork.libcamera.org>; Wed, 15 Oct 2025 01:23:25 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 611F06064E; Wed, 15 Oct 2025 03:23:25 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="W66EphNg"; dkim-atps=neutral Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id DAFA060637 for <libcamera-devel@lists.libcamera.org>; Wed, 15 Oct 2025 03:23:13 +0200 (CEST) Received: by mail-ej1-x62c.google.com with SMTP id a640c23a62f3a-b3c2c748bc8so861289266b.2 for <libcamera-devel@lists.libcamera.org>; Tue, 14 Oct 2025 18:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760491393; x=1761096193; darn=lists.libcamera.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=7VylC0Pj9hF3uzfbXgbdY4KAaZJ9ni0tnMpPWJG5Yjo=; b=W66EphNglBsBYWlUUwyyfxwKxaz4XPHruLP2HQKtTjuUfN7YUekFtGp5hopADOyPqR CfyS4phveMOINouk9rDBGYt0aUxY1Evw1gPGbVh/nNsSu99NdOC+sN0r9o+j5KlFUPqH LIcQJbp4BFfNGnUoDgPEicj/BCIVtlsF9bMDOSI7pHQPVEb7NjFCw/KsaRLhuRRF3K0p Xy7981HIDjAtZjH7aHY5mqSK4PM3/tZ/zd/AP1jCoGyAZHM+GSXOarE0bH5xyNXdfqGQ wIcdw0J/dv3cYewSvnAttd+BJH4thvtdPqcwIGuFPeEPelBzhu3VmzedLwXC3eYhPbsn aSTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760491393; x=1761096193; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7VylC0Pj9hF3uzfbXgbdY4KAaZJ9ni0tnMpPWJG5Yjo=; b=wbGHm+BkuTB8VATxnvv8aFeeZx3MZaYtYa7haf4FU5vNRQyijZ2vkiYZzdEfMqIJ1J qEkkgrRUjKWN8nQuYrz7KZ4oaSgMztJhjNDIdjIlGrhjC57emfS3GCC2Jgkm2vzLqPA4 6NXHPfjnBEsw2G7i5X020aaPovBvvTmq5akK3zjl5Hz6EnbGHm/PGffxDtr4v2N6LQDs X7jHNUR+gyldNo7JDF9/BsdJE3f0iugDH2VY1hIZ7gIXWCjI5AozEFlARcEXLT4cXQeU Dn2Q7otxuwHt3/TF+kc8tGWUOD8412Ebr0UNFYKjZg/zK3DUuZEMGqXJsXtmqIyOJvvP NCgw== X-Gm-Message-State: AOJu0YyqvGcbgZrhwGNKAU/p/KpyBsFMVPEIVJcNtItjqgWyrHPVZQDN TzD87nNdl1827+hlW9mqm60dnAj2CjzznqrP9y2mQ2NjVqaPDyjW56YtfSIdq/oLDv17C+rjN+2 WyAnT X-Gm-Gg: ASbGnctzEgqe+11yj+oNsHX2cpoRaVijJZwkuJwGgoccHw95TM4DuVEzqFWiP8Gtz2S GgzZ3b0GMUyleHLIBP1yBXx8JC8MukJBpo8gRtfaQocqdelv4+C74ioe8Nb39dCF6/O14KwTMc7 m5hmNMmqvdMqQcPBFZ4Dd4mEZDi2oMeCT9G5PMlPovtiYiULxJGuTMf/xZEHBJqvebfYBb6IZSh xfiRlBnFR2L1n2jTRWI+g/yekaCDTXHNetzsh4HLeZvF3dEy+Eg3+BOJV539XiTka0LXQD2bmUo 8MieP1pP3IBAVGFVv00rocRBJ9Fpt35VIJ2OjzgVCUvQBUn9TtFRxUX8LxqiSApQ2mnzoPCsKnh QXB8Xxv5B8xmW3wARkvT19QzouOgagTm425A/XkPFFqCL1hUiG+dDVnE6NHNalPPeF/8ftx4ohh 399Am4SgWtnV/rGQCxV4R5iBjt4mykwx3ofEbO7K// X-Google-Smtp-Source: AGHT+IEwps0RudDqvNIThqZ9YZtlZ91bUk5gs1m0+6jVWHr8sQFeX7o20/5mWBH/sorSI8YPHaVMdQ== X-Received: by 2002:a17:907:d1d:b0:b50:34b6:621e with SMTP id a640c23a62f3a-b50a70cb821mr2668823066b.0.1760491393121; Tue, 14 Oct 2025 18:23:13 -0700 (PDT) Received: from inspiron14p-linux.nxsw.local (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b5ccd7b202dsm98348466b.82.2025.10.14.18.23.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Oct 2025 18:23:12 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> To: libcamera-devel@lists.libcamera.org Cc: hdegoede@redhat.com, mzamazal@redhat.com, bryan.odonoghue@linaro.org, bod.linux@nxsw.ie Subject: [PATCH v3 18/39] libcamera: software_isp: debayer: Extend DebayerParams struct to hold a copy of per-frame CCM values Date: Wed, 15 Oct 2025 02:22:30 +0100 Message-ID: <20251015012251.17508-19-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251015012251.17508-1-bryan.odonoghue@linaro.org> References: <20251015012251.17508-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>, <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/include/libcamera/internal/software_isp/debayer_params.h b/include/libcamera/internal/software_isp/debayer_params.h index 217cd5d9..56803195 100644 --- a/include/libcamera/internal/software_isp/debayer_params.h +++ b/include/libcamera/internal/software_isp/debayer_params.h @@ -13,6 +13,8 @@ #include <array> #include <stdint.h> +#include "libcamera/internal/matrix.h" + namespace libcamera { struct DebayerParams { @@ -49,6 +51,11 @@ struct DebayerParams { CcmLookupTable greenCcm; CcmLookupTable blueCcm; LookupTable gammaLut; + + /* + * Per frame CCM values as calcualted by the IPA + */ + Matrix<float, 3, 3> ccm; }; } /* namespace libcamera */
Add an element to the DebayerParams structure to capture the calculated CCM. This allows us to pass the CCM into the eGL Debayer shader later on. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> --- include/libcamera/internal/software_isp/debayer_params.h | 7 +++++++ 1 file changed, 7 insertions(+)