From patchwork Thu Dec 11 23:22:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bryan O'Donoghue X-Patchwork-Id: 25500 Return-Path: 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 CF28AC3257 for ; Thu, 11 Dec 2025 23:23:35 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7B32561634; Fri, 12 Dec 2025 00:23:35 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="h/6wY3Ty"; dkim-atps=neutral Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 97C9A6162E for ; Fri, 12 Dec 2025 00:23:33 +0100 (CET) Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-7f0db5700b2so569792b3a.0 for ; Thu, 11 Dec 2025 15:23:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1765495412; x=1766100212; 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=qhu6ljAZBcMcHeBpfyYPkJ64VVf1ScQqCoYCholms4U=; b=h/6wY3Tysl5KwrcHObAW0LWimt9MLbkQCC/2IwUSaZF6Dm/F1MF4Sd0Oc7qtfDwfVP LYH2tqV8yuS9Bum6Dq7yb82ajMQ+xVh5Xll0MT3ELt/Dy0Qtf87fMLu6Ik0MpxzH0D5H 7sK32k/hkhNw5wwqGXTbPYBI48hscUNxnvHvy5ra3/hE6QH7NDUnBGA4MkLe2eOMzYvA 2Ye7MoX2tjSGd+tJGAl/UDcSDhacswjKhmSGLdpZS/E7d9lyOBphqyIyLRy2G2SBjJAP /IAN30vEJkY5rgj7cadkc7Th1Wifw1jr4xzxPdBcZ7WnIt3c4IAmR6TDUf/8r1m65usc Bglg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765495412; x=1766100212; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=qhu6ljAZBcMcHeBpfyYPkJ64VVf1ScQqCoYCholms4U=; b=uTThv5TC+cJV9bAEMNkMorv8qzDoj05x+Xk+chcWKbU0DajH/PQWV0qHTdmSoliY6n tuak2kiPKabj2/lLq4quc3l8VXLDEH2vvgzlIENIzK2sGIDJXE59ZdDL7EXKnIyhBQDL 0Osx/ystDtx3WZiMUPOczYxjKrH7wjmPn15wLaeTc34dbjXmbiJeHx2+Lcju8nhILuHs OYREFo84zDQwaB0MW40eyw2CY3Ye6G60RMlyNZg2QRVQG3Om3/FS2wG4cBCyxPjhtBRi EtcKfPRMkCKylp+ODMfXsStuL1D9DNp82Bnm4yElj/5Fb5/OwtqiVMBVDkh5JQJHAgRE e0Sg== X-Gm-Message-State: AOJu0Yx4aMGgtdI9hHBsPv2i8c1I28tiKcqjsTQYmbqMaCjMInelROHZ CUHB7lsrDCCrRimuVp7LhEO8eA6yu7whVwe+0uuDIwtmTxVnwmsy7mgoZkbEx23fM5AzJhtWu3+ 09OU6 X-Gm-Gg: AY/fxX79Tvm179SDSWzTVn+bPs8P4dlaBg71N6nfS1NvlmJ6xP2ngwoD3fzZJU+2wkb /7WM7FeoUKsVQd8c77cfIYflaqxtXZJnQT9p04gp88CHHM5JZ+RE01oGvL75srQmiU+lqpv8Dya SOIUAAnI8CO3P35qs7JL2FA8FBOK2Z2rUfDBy9LMM+/4rXqwO9Wuq8uc4UUZalHVikmSC3IknzU /5Pmqj99bSp2UEBPgJb6oRoXkNFSRY3zm8Zed/Ga74lERsWw/M7PqwokXjqFCDpEZvRZX3pPqM0 PHRfjHxI0z9aHES9cYoaz2IHIFK5fC0mLaGuF53A/cT5gBdL9n6PXUf8bO4IXi1fllXMEPRu50m KSKl29uqPmRtccQ38pFs8WT/38lsO/un4a5iqAwxihN1UZrKTljHmtfsb+dPj4petVypwvNk8Nq qYtOuXxbOzf3+7pG62VkgwAMb2+P/5hZQYm/ZD/k+WQvXLsD3DSzicp+WmOoKttQ== X-Google-Smtp-Source: AGHT+IFXQC7Vqk464NoHUefqVR350DPTyteISckTy0/nwHwaiEhE/nmdTYGlbm8JVaajRRDD5Fh/UA== X-Received: by 2002:a05:6a00:6c95:b0:7ac:6c3e:e918 with SMTP id d2e1a72fcca58-7f667446ce0mr168999b3a.11.1765495411962; Thu, 11 Dec 2025 15:23:31 -0800 (PST) Received: from inspiron14p-linux (M106185144161.v4.enabler.ne.jp. [106.185.144.161]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7f4c4ab52aasm3399933b3a.38.2025.12.11.15.23.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Dec 2025 15:23:31 -0800 (PST) From: Bryan O'Donoghue To: libcamera-devel@lists.libcamera.org Cc: pavel@ucw.cz, Hans de Goede , Milan Zamazal , Kieran Bingham , Bryan O'Donoghue Subject: [PATCH v5 06/20] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Thu, 11 Dec 2025 23:22:31 +0000 Message-ID: <20251211232246.31330-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251211232246.31330-1-bryan.odonoghue@linaro.org> References: <20251211232246.31330-1-bryan.odonoghue@linaro.org> MIME-Version: 1.0 X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Hans de Goede Move the swstats_cpu.h file to include/libcamera/internal/software_isp/ so that it can be used outside the src/libcamera/software_isp/ directory. Reviewed-by: Milan Zamazal Reviewed-by: Kieran Bingham Signed-off-by: Hans de Goede Signed-off-by: Bryan O'Donoghue --- include/libcamera/internal/software_isp/meson.build | 1 + .../libcamera/internal}/software_isp/swstats_cpu.h | 0 src/libcamera/software_isp/debayer_cpu.h | 2 +- src/libcamera/software_isp/swstats_cpu.cpp | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) rename {src/libcamera => include/libcamera/internal}/software_isp/swstats_cpu.h (100%) diff --git a/include/libcamera/internal/software_isp/meson.build b/include/libcamera/internal/software_isp/meson.build index 508ddddca..ea3f3f1c1 100644 --- a/include/libcamera/internal/software_isp/meson.build +++ b/include/libcamera/internal/software_isp/meson.build @@ -4,4 +4,5 @@ libcamera_internal_headers += files([ 'debayer_params.h', 'software_isp.h', 'swisp_stats.h', + 'swstats_cpu.h', ]) diff --git a/src/libcamera/software_isp/swstats_cpu.h b/include/libcamera/internal/software_isp/swstats_cpu.h similarity index 100% rename from src/libcamera/software_isp/swstats_cpu.h rename to include/libcamera/internal/software_isp/swstats_cpu.h diff --git a/src/libcamera/software_isp/debayer_cpu.h b/src/libcamera/software_isp/debayer_cpu.h index 03e0d7843..1cd411f26 100644 --- a/src/libcamera/software_isp/debayer_cpu.h +++ b/src/libcamera/software_isp/debayer_cpu.h @@ -19,9 +19,9 @@ #include "libcamera/internal/bayer_format.h" #include "libcamera/internal/global_configuration.h" +#include "libcamera/internal/software_isp/swstats_cpu.h" #include "debayer.h" -#include "swstats_cpu.h" namespace libcamera { diff --git a/src/libcamera/software_isp/swstats_cpu.cpp b/src/libcamera/software_isp/swstats_cpu.cpp index 1b33ffa71..55e764b0a 100644 --- a/src/libcamera/software_isp/swstats_cpu.cpp +++ b/src/libcamera/software_isp/swstats_cpu.cpp @@ -9,7 +9,7 @@ * CPU based software statistics implementation */ -#include "swstats_cpu.h" +#include "libcamera/internal/software_isp/swstats_cpu.h" #include