From patchwork Wed Oct 15 01:22:18 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: 24651 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 AAE11C3264 for ; Wed, 15 Oct 2025 01:23:08 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 5911F60615; Wed, 15 Oct 2025 03:23:08 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="zMgs/uxJ"; dkim-atps=neutral Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 6FCF060609 for ; Wed, 15 Oct 2025 03:23:01 +0200 (CEST) Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-b3d50882cc2so1116953966b.2 for ; Tue, 14 Oct 2025 18:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1760491381; x=1761096181; 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=fMgE7+8U5Npv3E1fx1DNI5sebBAbDc9Ao7uNF2FproY=; b=zMgs/uxJoXVFHZSgAg6dDUQqguw+qSUZaIfylSeXQcOUHIabJkbPjRYiqbNaJ9lJWZ aW683Ke1hVKjTUj5x2/fjWM5G0pIveM6euxEn+B0y7O6BfXicjvuGsBw7lr/MRJgJ4cG yoU4zf8Gvr5oa1cyhXeGDLLHiR/4nKQTXsNYvpYCOG25gOCnteCde8DE9qcsEIp+olXO m8KxcWSr4gBbNJAb+VqpKU5zEhQI2HAT+sg+Ew562F7zjDCojCCuiNpfIJPToN1chGhH ORKpLQxS5yfQ9YkOiEhdVSNcYCN9VTp8NLp5uEWOKYUsmZmwoBfduT96xyWxBw+x5j3G 56Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760491381; x=1761096181; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fMgE7+8U5Npv3E1fx1DNI5sebBAbDc9Ao7uNF2FproY=; b=dJb7jLXYAW18rzDcLEXUaBqahY7pdkb9/m3ydvZybmhL2N3Z58HluK1FL+V2da1A+v +/suD+ZrI+vjKvIBjRDR45KTAINSUV750Mq8u67Sy4weBM4YlDvIkpIbMDRtztV7+afF cDUYEefh0GJvAQeCxILY6cn0jVPkYw4SaKHzPdpOEV3HQlaEq62m9ETIPsN8tAgRB50v 3o62bpfsnffFwFZ0Jv30N2eTpBkWtEQHjm67qA3S8M8PV05Q9Il4ahZxcc4pfFFDbHyS 53nOVSUj0BjQetuF5tkcOWIDz+rnKizLFIy8XzCOUR3mIeZo/EGUe0Xlt9g4dC9qLGKM xG6A== X-Gm-Message-State: AOJu0YzCHSwTG1lf3wy1nlQ8+0m14qZnU6khv7vE07CvIp2QcFJudD/2 NvAMnMBmonbAJdbHkni8aI6y6lKtNdM/zaQ6aX5NtIMj5HaokZQ1y9TdQ3yGInkBwVogXlh3rjM cnMZ9 X-Gm-Gg: ASbGncs6m9yQo8Z1Dd9kn3+aYGv3Y9Y+HXAxGYmxDyQDR6ZGVk5cIZ2cRsLQObMWvFY 0xreM5ZywBzUIUQKcW4n6/xYgtLxyvSs/d4aCdSggpz9JxBfc3cJwhp+HTFMc/VIDOVJlZtE6oI b9x4F95bREM5MT+LT7bUcTKVWrzlW8MecG8Jj8NSwHdfK26TXmtNkojxlEpl9AnDGsfu1fyq3QK EBGuHUG1lVwL7w6L8yd0UIFTEJw/f73GUvKOi7Tue/0RY0hNeJWgpDKgbGHKbDhpAHVumvFqDQE 5pMBukyquJTg/HUI699DGlCuKHC3FJpGJeug0/SOn+g7EJFRIx4K1vdAypmzK9WWjsb9VPAr/xq SG9T46CGLip7KjaRzar7Rozz9KVWkVqH65h9hIDB/9VLcAGEWdemVxgl3j9+ubDk8qsDXaQSCx/ hrUG/CQnyAFTqAYEoigagNkndXcLJsnA== X-Google-Smtp-Source: AGHT+IH6iuIkdswA+GTaULPvX+70X3GMBpNL0JZ0FmnDpSLo5BDKK14xS4OelHq8DIuHRNJEubeCSA== X-Received: by 2002:a17:907:1c23:b0:b3f:f207:b748 with SMTP id a640c23a62f3a-b50aa48d5e2mr2711962066b.10.1760491380652; Tue, 14 Oct 2025 18:23:00 -0700 (PDT) Received: from inspiron14p-linux.nxsw.local (188-141-3-146.dynamic.upc.ie. [188.141.3.146]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b5ccd7b202dsm98348466b.82.2025.10.14.18.22.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Oct 2025 18:23:00 -0700 (PDT) From: Bryan O'Donoghue To: libcamera-devel@lists.libcamera.org Cc: hdegoede@redhat.com, mzamazal@redhat.com, bryan.odonoghue@linaro.org, bod.linux@nxsw.ie, Kieran Bingham Subject: [PATCH v3 06/39] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Wed, 15 Oct 2025 02:22:18 +0100 Message-ID: <20251015012251.17508-7-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251015012251.17508-1-bryan.odonoghue@linaro.org> References: <20251015012251.17508-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 508ddddc..ea3f3f1c 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 03e0d784..1cd411f2 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 1b33ffa7..55e764b0 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