From patchwork Thu Nov 27 02:22:38 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: 25220 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 34435C3260 for ; Thu, 27 Nov 2025 02:23:20 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id B45FB60AA8; Thu, 27 Nov 2025 03:23:19 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="VUxyWih1"; dkim-atps=neutral Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2DA3860AAE for ; Thu, 27 Nov 2025 03:23:16 +0100 (CET) Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-477aa218f20so1673925e9.0 for ; Wed, 26 Nov 2025 18:23:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1764210195; x=1764814995; 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=POEtUhiKDMucv1U75gLO1B2WYaDcFKD6qvD9bzHNOGM=; b=VUxyWih1qjzSxx2B9p3mtnAX+yEQcLuWcYbQd5pyTKEb8LiS/2G2i0xKGSwbsT80rk RsJRPrO2M8Uq77RBqrCmDZS01YA/v+a9UNZvJdWigaG9PF6ZFM3XwFs24YoIfZFFpd+Z gh1L8ujfrdt5x3UjwOlX1pFbECRdakn8fF+2AYFVDDfwMe7ErN2PDCkr+oFIlaw2DZtb 10H2iZecW19jsSob5kUy5vCVf0KPINqTSzwiTSTYIP0l3HHX5pRbD1fK2bmAM6W8VESc LpMxI7I3O8OZwDdw6HEyh8MckUGY7dVes84G9qxAINd1G2frnFQvJOMBZE43YbX4PM9T U3XQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764210195; x=1764814995; 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=POEtUhiKDMucv1U75gLO1B2WYaDcFKD6qvD9bzHNOGM=; b=U//n+ZxEACaxUnlIPUxmv+eMon1/N2NM1/U17wa6KFB0EyXdisN1PKh4RR+ic5tOZL EUZZewT0rjsAb6po02pWE0wE5KMjxhFOrdVR8R91QWqgBO/oJZuM98GTM/Bx9PAb336u j1yW1rax8l5UuSd4IACogHIX6IcL08JEsZXathvpGmaFybhsim+Q5wavxRYpKUn/eKjF 7b7z/1xP2PAqzD+ABL50+03b+Ah4hh7gUJiLTD0sr9r6j+8sPYFEvNDjbJdkr9d3w++s y+BthldE0e+aZDotq9uR8znyMbU6r0NVGguMJG0MwGvpkkGW4dHKQnktkyuxRnqQgcKh 7sBw== X-Gm-Message-State: AOJu0YzmYG7kteMlzvJ9IymuX70K+LFvrAAriHzx/eHWqoVL7HsDM+kR K2suFnBoHWb+fittH6AkHZXRmYsZVgArCBr2Gqr7Rmb1cAwW2yI3rL0bZapB5meJodLj0aiXtrb AcAlO/aQ= X-Gm-Gg: ASbGncsG3NSjXddyUjSYzN8vqoVto3pZle8XKXgouNHju3c+T71KiChtMZzxyW4heDI kN9pnFvE60GnLgTiJds6W3qxL9E6e32c+h0sLwjmzxCMtTRRC9aywizhmMUAKX+doQJgUq7Ru/v I9TS4UscJ5HbRT4+e6xkK+dLZI/BJ4JBChgXXO4H8vePc2J1CjkZ0ea5xuSEKdUgZxJ9Cs5yEz8 o2fPMMBsv20ddfPgmBAFFaAeTIZ5zCh0lktEo5WkZzWFr8yoYs8ZFgYaqhBAWTzMz6ZKdnLosA6 o97UuWWyiwHPUHxwmt4ekQ6UzBdB0cR5B/oyP1h8XLzlJMGLnH4ni/l27q+VLley8FRN9X811Zy zWH8D64zSBKvPvL6D4nV3atp1O0SCtaObL5LYIh+v8e+fGbrCJR9aTNLsmMf+P+BOH8PGmWPNbI GatRyEdyWs+6fF8a4vO3ltIFk5fTWY7TD3tCBXOTtNILKnX1vH2QbW6c17nNkHxxWCC/O6fOCzv cPQSA== X-Google-Smtp-Source: AGHT+IHFmQJXOwiv4Q4DtBecYvf9T95NFc4MY6cHvIOM/k/OgZd+K/2iGrzV4txRcVLTmMtgsys4Tg== X-Received: by 2002:a05:600c:358d:b0:477:55c9:c3ea with SMTP id 5b1f17b1804b1-477c01f0b32mr217320835e9.35.1764210195532; Wed, 26 Nov 2025 18:23:15 -0800 (PST) Received: from inspiron14p-linux.ht.home (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4790b0e21e8sm71549495e9.15.2025.11.26.18.23.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 18:23:14 -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 v2 06/22] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Thu, 27 Nov 2025 02:22:38 +0000 Message-ID: <20251127022256.178929-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251127022256.178929-1-bryan.odonoghue@linaro.org> References: <20251127022256.178929-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