From patchwork Thu Nov 20 23:20:03 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: 25107 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 69734C3330 for ; Thu, 20 Nov 2025 23:20:39 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id BC67D60AA4; Fri, 21 Nov 2025 00:20:38 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="DDzeo4/p"; 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 9674D609D8 for ; Fri, 21 Nov 2025 00:20:36 +0100 (CET) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-477aa218f20so9419365e9.0 for ; Thu, 20 Nov 2025 15:20:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1763680836; x=1764285636; 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=DDzeo4/pOIXugP/GUf6LjT/arPQrELZRExaaudwmk7kjtpfeiMWP37NPrupABF1OGo 7EVCOludgWMr9Yiy3XUr7pRnDbVVT/ujMJBYYPCBdZxqdVS847+EKL6PGF6XVvmqmQcV Wx7bm8TWq753/YR5wHjEy+xlPbqMMx7iYOI4l9WRYi/7L/MwGPW49z4UooOgAButkcoD 1QsFs2u1jzHghcZ36qfHQtRAc+WN/cJUQAGsewyT25bN8DL8F5alc5iQXHy8PG3pgQcl NobFb/S1HAn6WpzgK6M80HioUq7nnTHHV6FyaTh7BqzuhjjTE5oNLLEj0n30xG/8Zxok l3iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763680836; x=1764285636; 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=uCqpKArMsVKd0fYIKkow0+LYTWHDbucVETCuanPmiaEDC0pF9FQWOg4UM+nydV4OsL L1piHea+Xe4mQA3TvmpzLRi1qNDydeael7NjJ7g18mDjln1x5xbS+AEoKWDmbRbMx0GS KmsGiwsdYIPZZXKRqsW+zYn/0M4MfiQV/5myB+ww/dI7Z6SQUC7Jn4vGsFTqdUUK8W/Y 7DejSMFbkqBCQ6paF7X3FCYtkFdQrdBokllOoWyCnwH3h2jShDOFlD/qAhRXDgSb/z3q 6xkRLC/qvYLOlAaSbhZTPs0SisFWjXzafEN9sgLJ15zrLOI2MGLrBlv9hCwueiYjGbUF VIXQ== X-Gm-Message-State: AOJu0YyUFvGawEb/04SjzvK6NB+OkAq7PF8OJVpQ3pbCMa8HFdIGxkZm adhhSEeJlIOazntLgTOSkdcOtY7AI0upikZkcEmdAeJNqXR6ApFzYi2llAujXOczquT/apC2kaH ZgCMiEdY= X-Gm-Gg: ASbGncshuqg2L+paaBcrzucnFaP9sB/PzfV/i6DHt0UjwlX3laJ68RkXHmUmmVhKxIA CaVzEStspXZHtZacFCAQqprGVqmkD0yLwYfwruHgGWHcKdSxp5xdiMg8hTM1ATP10PggppCBQZo /5PNXlv5rd9zGxPzWcn7FA4XLF6dJGouVKmz7a11A+RtNPAMf5xrpMyIKltabBrgwllm6zs/yP+ axevR+IoVDq9kaRxFtHqS9vwfs6HDV/4vP63P2vcMlO2QZEp4F12litqfwwQ2SDIu8oeG3JRs0A 2Zbkj+WqHR2qBlKsa0jzvPwR9xZNqdnZILntkPLMBfoQbuzNwmM1NN8FeT7ZYmdR7O7brNV2PaF 7iHxeKZ7K4Rklg09tVgvL9aj9L+n46BabTh9xuum635auyhtQj6jp6juWjPtpcixL2/Rlr2CaFS ZElaIyqbFIWDyZE3dw7gXyXcz3TrRfzsscDqUAjM1LwJo57+WyiwzhZAd9IbWJsngsERAh8ZIHv lOzHw== X-Google-Smtp-Source: AGHT+IF9rK9Byr0DBWUsbMfjJ0TN4UbGYQ42EIEyBy+IRGRCGPE+LYpACAugeoUtGY0M5tHfuljXPw== X-Received: by 2002:a05:600c:4e87:b0:46d:a04:50c6 with SMTP id 5b1f17b1804b1-477c01ebc76mr3109625e9.30.1763680835918; Thu, 20 Nov 2025 15:20:35 -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-477bf3af0ecsm11618415e9.9.2025.11.20.15.20.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Nov 2025 15:20:35 -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 06/22] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Thu, 20 Nov 2025 23:20:03 +0000 Message-ID: <20251120232019.3590-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.51.2 In-Reply-To: <20251120232019.3590-1-bryan.odonoghue@linaro.org> References: <20251120232019.3590-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