From patchwork Tue Dec 2 13:31:37 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: 25292 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 8DE8BC3260 for ; Tue, 2 Dec 2025 13:32:16 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id EF3BE60C93; Tue, 2 Dec 2025 14:32:15 +0100 (CET) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="qF66u19D"; dkim-atps=neutral Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 839FF60C7E for ; Tue, 2 Dec 2025 14:32:08 +0100 (CET) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-42e2d52c24dso1414834f8f.1 for ; Tue, 02 Dec 2025 05:32:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1764682328; x=1765287128; 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=qF66u19DfG6asMCPOz1H7ZcVz2SJymH96CsdAHmDJ5vRf0gKm3y3NeSyQ2IXT84U36 g9kSjQeamLdYakFLJMJwL/lz+HkrS89ZtFLiRaErQocYbK96zQPlUOFf1I8mW4EHJ4mu qqFT+s0GQGCkxlWnrj+bRiHQh0Wc05Q9/zyGAaL3lSqEDbkAMPPvSsH7VWI5O2h392q/ YTJUsorFZAk8ncQit56ThBj4RH52fAf5HJxglPnx8I8JIGLCbMWiJyPOdOEFs/MDMcXN Suh0SatFSUM84NH6Ott8CAkIkx2aKm5mBkPrJBGOk+jYl8y9C65e4dnhZp/AtVe2Xh3F NcpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764682328; x=1765287128; 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=hJW3rrQO+8FLU8pi21IW0IXA34DDUx3/BmUUb45kTYK+AjYwbKqSkk0ghKv2Cgj7vV aV7g/ZCVHQH0Tf/sjWwQHddqmvtDXf005ugdXU0kdu8HqKpL1itbkTlvBBDwYsN8ehGz bxJNt6hPfNmFl8SMxCouAegN4AStSBFfknxuhT6JAND6TUJO0l5Ivc8mnEKxa8nUkuvw Y3XK/9av764e+l/RNYuZq8p1R6dxLAr2TavgDfhImUkaXMI3Y11mfbhZA3fXHN+cAWQn 7MIrJaOTzZIiQqm0iruAQgVwc2BB2SU4dlTsjcPWNWh4+IamRxmni5tIZyVLPV1324rc oS3Q== X-Gm-Message-State: AOJu0YyWZxzOKDKTYVNaE8F1I6ja3mCw4v2hMKTt2fq6P/mPryae1IiB JOIIfuUBkKkr5fjWS6R9ZloDSj881pBEv5CjTbP6bl8m0MSVPWP+yQY9VxhZhz3blodZwxbf4ti a+IdR X-Gm-Gg: ASbGncul9oQQZwmqErgNVbiZ0bkuxc37344j8S/YJmBLzhbkKiGsl2/KfAgWfzFz42I 7ii0k8BAk4HuzOcaSCqqRuG59kqQT83ipIABSLVAtdVKbaLQvwTzh/YexD8S2kEBoESpn+HiZzN b5fC1FyG+JPuSzdNa/2SdsGztrtcoWPyDdABKhpE8kjzJ3AeE/fZ82wglQ7ERHpHSfkpFdAy0yA 8ZsiR/nfoREd0QK1Uq3/05WYLBaxth7hKL8lHOrwPYD7m9jlPs107wiC/20B1GodlxaWnfNWaQo YZ2syKK9boykwRmwZN9yA+ksnWO46X3AGkUHRAbRMr9aUKni8S2Kgk8kuWXypqI3Iy0edw6e6FW LjiwvigLCssw48TFb260NO0ughKsH+L2ojlp2KomMqg5YmWVmQm+ZGLBpaQT/ni1n9xQ0XDqxPB 7AKx0J8sBUbVZq/F3TuEhBxfFNe+mHmJeYEkIitBAzPCQvum+qKt7cCBxkIqFvbKFnEMw= X-Google-Smtp-Source: AGHT+IGDz3/FKtRkosBgxifPRFtXISBln8FrjXcmWZ053ZC+pNeZzRXVHTjppCJrbz5292adk5+5mg== X-Received: by 2002:a05:6000:4006:b0:42b:3131:5433 with SMTP id ffacd0b85a97d-42cc1cbcfe1mr45464419f8f.26.1764682327815; Tue, 02 Dec 2025 05:32:07 -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 ffacd0b85a97d-42e1c5c30c4sm33363322f8f.9.2025.12.02.05.32.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Dec 2025 05:32:07 -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 v3 06/22] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Tue, 2 Dec 2025 13:31:37 +0000 Message-ID: <20251202133157.661407-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20251202133157.661407-1-bryan.odonoghue@linaro.org> References: <20251202133157.661407-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