Message ID | 20250824-b4-v0-5-2-gpuisp-v2-a-v2-15-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 9035FBEFBE for <parsemail@patchwork.libcamera.org>; Sun, 24 Aug 2025 00:49:13 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 0719D6931E; Sun, 24 Aug 2025 02:49:13 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Oofoy4rY"; dkim-atps=neutral Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 4CA70692EE for <libcamera-devel@lists.libcamera.org>; Sun, 24 Aug 2025 02:48:50 +0200 (CEST) Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-45a20c51c40so26179885e9.3 for <libcamera-devel@lists.libcamera.org>; Sat, 23 Aug 2025 17:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1755996530; x=1756601330; 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=SMWDZ4MJuPXVA2G1K9zH3SmhxZIzo1z4f+u27tyrFZE=; b=Oofoy4rYcu31zTrlCnTlGTZts7agRn74NSATEKZz3DB+VC81j2NW0bkZGb7No0N8v8 vr0vsSABvPtGRi04F9tKxTVhhw9W+jMFP1ZG4Y4x9DLcRV1lccKaeJUO+X8uXTBADBLn oD0caCuE/Sek8ZxMNL5L/LUMz42oUJanNsYJbZV5vnuKHKg8oI+MiI98/u1u+wdWu5Kz yR+qbutrm/lgP4xycTKC6bKQr0B3xVuX/0trr5Y5+n5lvhdQiW3FtlBlnMVyiuwgnet0 LEDAK+laow6ap6bIYSIr7AqU7WIcdzZW//e9ZWnQXJhGby9jIxsI/RcDdTJPk+F7X+G8 7dpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755996530; x=1756601330; 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=SMWDZ4MJuPXVA2G1K9zH3SmhxZIzo1z4f+u27tyrFZE=; b=V3vutvQBmP7R8V1mZRR5dVcLQDMnxi2RzlVsukeyo6r33G4PeYDc6/TMGSFAyEgRSZ HfJnQ5zowlqTi8b6WaVZ5TAVBcYmL5VL+TqUF5wa5+xrXR1Q4H3KmtDLHE9LEBpmYTlJ rBdjjaKRM/Z1BEncYk7GewSesC7XHo9yjrdPIMd4PHVFcF9+gPxGqbuXoZG5sDjJXWHG avPtLJon5axoA4mtU9D1pLM8XxeWcgbDp96TXHXComap+4VaRvG8SiDEengIIg3pN5du hfbpPN0kf2zrQA9kvWxfrIpeYsrc04azg4+NVzCsN6cV3uxjqMUN01dh4/b1T6A2rpxv intw== X-Gm-Message-State: AOJu0Ywu343RategeYY7RiQFRDICdSJpyq87hY7kYVIZ70HSJpMaAVcX LUYoGqSrMrGn5EPvFZyRUKKNNVkF0oRcgJVclDIb6Tu2K5DKpDKbPVumm5xBNjs/HoBSPLEC4+o 2xvNvc0M= X-Gm-Gg: ASbGncvA59nluyjdLEiaIaT/qY5XQEVZ35muoKWcrt6k9DY1Hdfiw/EVbZOoLELd3t3 YCYmktC6COUTf/P3RbH65xWpBDR5MZrdkvqmT4GCzcnGPlOKx2mzBrJl0L2bnB+QQube8+SC2oK /qbQylh1FbFaytMdwYidDd2KMb8H2RmRXwp5EQ5kbMnJiZSHKhWdo0aJiLGIkSD2UcouHqn2Qa7 gFF5TgwCMG69NZDERYhcnvoO0/CMdc0yzypp3U00fLl9l6sjHdBvWe3+c5lAudw7Miq/U2rXJoP aqwFFrDrTW6sC9couQEn/EuIoJRCk8OvrARjYBKy8wP9IJB86Y+EoetEkRRiARTPq8xydac52BK c4zFqgwn56fN8zJIKs8f+hRYJW4YyJ+7Z0q4YyPTvvIYqqGdVAGmV3S0UiR7bYaXHIY9LWp3Jhh 6Fw6ZYC3nps1CeV4ajQvwImlkUPTPh/qg= X-Google-Smtp-Source: AGHT+IFdEvE15/RXGs2tqt7jleznRXW764t5PT2K6yMPXaYbJKhe1WVAtZUIrKd0HkTa1rKXbaIp6A== X-Received: by 2002:a05:600c:3b8e:b0:459:d780:3604 with SMTP id 5b1f17b1804b1-45b5723940bmr37219165e9.3.1755996529774; Sat, 23 Aug 2025 17:48:49 -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.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Aug 2025 17:48:49 -0700 (PDT) From: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Date: Sun, 24 Aug 2025 01:48:27 +0100 Subject: [PATCH v2 15/37] libcamera: software_isp: debayer: Extend DebayerParams struct to hold a copy of per-frame CCM values 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-15-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=1110; i=bryan.odonoghue@linaro.org; h=from:subject:message-id; bh=F4c1tKZ+llqElLc+ASOjQlC6+Ixm9DDO+1Juxv+Cekk=; b=owEBbQKS/ZANAwAKASJxO7Ohjcg6AcsmYgBoqmFf2mTkmUPz3755wLpRPr7zg2dr47wUv1OVF UeYo1IHFXeJAjMEAAEKAB0WIQTmk/sqq6Nt4Rerb7QicTuzoY3IOgUCaKphXwAKCRAicTuzoY3I OiIyD/9eJlkeTvdwi630hj2yJKTAJ4vPeDSS3VJV4vai61LgASy7mT51FJEPvMAvDi46HdD2byU WiakYL4IXQtywvY07C6ItEBuWkJgOXkF96DVnpCedUVQ2nH57F0/HVi7lDxWf4yTamG5SPjrfT2 N0DAFZ0JtwZqVuWsxskzimthZlNi5WGqs/eVZSlqj/Einy4CcbnXI0+y1dsc4IkLT8fkBY/WUEu ICd1matWrznkAXwzq85MTP5TJ6IbWH3s6KzimrljJK2hLHsbX3bMSIOI4/w4c9sZbxkx7Anbr8U y0ZnZsnTUirsm5j4nBOMPmyoH+b9laEcqhnzvBmK67Yz1ZilzutmJDD0Jr+9nggidPMbQfyF0I+ mFjgv9yFw2JWZpPFaL/hx9icm2kpuCLtUlR0N8Pk1SsQAEZA38COQYersliHQ8NLz7gaRYBwy6u h67HGTCJAxzTLvfm/UWrEufJNI41LnVBjf1hlL58z+HAe8Pz6dsSHXgtgZGXzhcwSAr4cVg8NJj 7e6TifgiD/zqAGceEp6Fvt4dtShOVYQ6kwmZ6mBeXMC6wsMWhMprwxIihva4As20PMkX0VwH2Jg LBEdEnHUc5Ea2KbM/XXCE3fGbj138CCb9g6gHkTOBK1yg1JV6Ci/9v2aKtTJycOGikSBlquXzu6 vGwHobgfbHuVf7g== 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/include/libcamera/internal/software_isp/debayer_params.h b/include/libcamera/internal/software_isp/debayer_params.h index 217cd5d92ab9e146a4e196d04e94f0cedcb58dec..56803195eb5faba287e95fbd92648373239185ff 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(+)