From patchwork Wed Jun 11 01:32:13 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: 23509 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 81B6AC3240 for ; Wed, 11 Jun 2025 01:33:10 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id F30D368DC7; Wed, 11 Jun 2025 03:33:09 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="WULPefFA"; dkim-atps=neutral Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 42ECD68DC1 for ; Wed, 11 Jun 2025 03:33:08 +0200 (CEST) Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3a503d9ef59so5107691f8f.3 for ; Tue, 10 Jun 2025 18:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1749605587; x=1750210387; 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=L/duYbXv1BA3H2N9W3j9KShAgwApfhVdHPX7dEdaCvk=; b=WULPefFAPe0ySUKSNwZknHQkGRcVmwGmTnkyI+BGvcypEkPdD70QYwPPIfPmZ1Ueji nGO8Jj8d3KQ12NJu4dwED1dOmFRn1dm8/2LPQdMnkAZozt+apbgqiEogqmgpxie1HpiE 7CxpZdDU0BSaY6ZrcPQDXD3jeWvVRHYnsf1Vq/S92oub8dq2jQAMD6DLB3ctlkkl9sGa ES4po0l9DoauOpvibgjfh3Two1etYH4QgJi20GQ5y90nxV5D635n5keMi5lJAk3JLwSI 4eoN17Y0WH/OVQHVFCFUdmYkWD603IN8/nP4EVxa5HzWYe0gDYqI+lCRXqpOolGS1EjF vt/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1749605587; x=1750210387; 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=L/duYbXv1BA3H2N9W3j9KShAgwApfhVdHPX7dEdaCvk=; b=w2VCXwEhdf95XkgaT1Ytilf4ur6aaXhTqjt7rE1LSZq4TUL/HrtbBN7s3f7Z+5GE7A oGm82Prl803eII2cpvB3u/soX4Ks8hxcJ4gxMMFtq5WMZLN8WseCTFUpr1YUPO8OwhDA oyjvxcMmiwQY0bWI5q/Wdkx1NnnhT4n9vbEivVa+9r5EW9A2xpKolgi6NW3HdIfdd26R W//v85snkwbZriRjl/Qn4t0QEkZ/eYVA26uzQyas3Pogqq7S6zT/Bj/DPPR6zA2zNLRr TOt0Tiy0yd2ee0+J278sPW28AgV+l6GTGHlHFclfPRa9MlAmzqNLY2YyGzbYmeZLnxVB hv/Q== X-Gm-Message-State: AOJu0YwkPTEvpBJKvaNjy/enxxyzHfWA1NHNbAfJGDOlNeXwIC4qnbd+ OeIXoGgbhrBFgj2i85/yPCHIse5OEQ+69XhG6LsVQWy1IFbs6mrLW8WfuKzsDWQia7fgcHqCysG 64o0L4Wg= X-Gm-Gg: ASbGncv4PR2Gy+xmWZftMdydhhe7Poso5u4FHsKcCVV6yLAC5/k2jtnF9+QmeDKv6Oc g2Y2fBTJEEImDXfryMNOeQ5x6T14K9zuezaCqeN+rqy3O2xJ2oZnBKzEgP4RRynjng4Uwe1bxf/ TKV8mkRrJd/VTZPXm36OlZuk+LMnbAKzjhIoOoiyzT21vZysL2DTNqk3KL40sbo03XtivTLCo7P jNs0z+H3PY31haMXMzTlze0ZnpymbVEbnMDmF5OSfL1TbF5MFVb4zhPmVvrajyhd22w6PlEPJy4 GmBPAnFljTLZsyMYhM81s4n7QxsSo1bafhsCc10YKemYaLEBRV0bAPMCxlC91wmW70eYD6tOJE7 SBrA8TeBJBuSUQ6Hef1WnR0wxU8z773aeQjBxkcv03Q== X-Google-Smtp-Source: AGHT+IFf7JJfUTZPHZ/wA1YedgM42Yg2oErmEEiVKYHmZ2EwY18CUq9lq78BKRolruQaH4oAnoK7MA== X-Received: by 2002:a05:6000:2006:b0:3a4:d8f2:d9d with SMTP id ffacd0b85a97d-3a55881dafbmr820700f8f.38.1749605587627; Tue, 10 Jun 2025 18:33:07 -0700 (PDT) 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-4532514138asm5680625e9.3.2025.06.10.18.33.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jun 2025 18:33:06 -0700 (PDT) From: Bryan O'Donoghue To: libcamera-devel@lists.libcamera.org Cc: Hans de Goede , Milan Zamazal , Kieran Bingham , Bryan O'Donoghue Subject: [PATCH 03/35] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp Date: Wed, 11 Jun 2025 02:32:13 +0100 Message-ID: <20250611013245.133785-4-bryan.odonoghue@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250611013245.133785-1-bryan.odonoghue@linaro.org> References: <20250611013245.133785-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 926195e9..89a89893 100644 --- a/src/libcamera/software_isp/debayer_cpu.h +++ b/src/libcamera/software_isp/debayer_cpu.h @@ -18,9 +18,9 @@ #include #include "libcamera/internal/bayer_format.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 5e4246a9..aa5654dc 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