{"id":23355,"url":"https://patchwork.libcamera.org/api/patches/23355/?format=json","web_url":"https://patchwork.libcamera.org/patch/23355/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20250510141220.54872-4-hdegoede@redhat.com>","date":"2025-05-10T14:12:15","name":"[v2,3/8] libcamera: swstats_cpu: Move header to libcamera/internal/software_isp","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"92ef165d438969aea50b1ce9374777edeefbadb0","submitter":{"id":102,"url":"https://patchwork.libcamera.org/api/people/102/?format=json","name":"Hans de Goede","email":"hdegoede@redhat.com"},"delegate":null,"mbox":"https://patchwork.libcamera.org/patch/23355/mbox/","series":[{"id":5169,"url":"https://patchwork.libcamera.org/api/series/5169/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=5169","date":"2025-05-10T14:12:12","name":"libcamera: Add swstats_cpu::processFrame() and atomisp pipeline handler","version":2,"mbox":"https://patchwork.libcamera.org/series/5169/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/23355/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/23355/checks/","tags":{},"headers":{"Return-Path":"<libcamera-devel-bounces@lists.libcamera.org>","X-Original-To":"parsemail@patchwork.libcamera.org","Delivered-To":"parsemail@patchwork.libcamera.org","Received":["from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 1DAB5C3226\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 10 May 2025 14:12:42 +0000 (UTC)","from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id CD99D68B61;\n\tSat, 10 May 2025 16:12:41 +0200 (CEST)","from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 0AB1868B57\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 10 May 2025 16:12:39 +0200 (CEST)","from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com\n\t(ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-687-zzoDqCRkMQK6CKGP0QCtfg-1;\n\tSat, 10 May 2025 10:12:35 -0400","from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n\t(mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com\n\t[10.30.177.93])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (2048 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTPS id B1C401956089; Sat, 10 May 2025 14:12:34 +0000 (UTC)","from localhost.localdomain (unknown [10.45.224.58])\n\tby mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTP id 1CCE91800371; Sat, 10 May 2025 14:12:32 +0000 (UTC)"],"Authentication-Results":"lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"h8VQG1XP\"; dkim-atps=neutral","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1746886358;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding:\n\tin-reply-to:in-reply-to:references:references;\n\tbh=AbKkicayOj7sgCdQrbol3r40YsFZSRqcbYhMBoYvJko=;\n\tb=h8VQG1XPXiBZ322P4mneBDgyLiB0QZG9FQeh7gUJ3bjNIqSurpvcwcU19sXdpI/kMgDTwT\n\tGVMRztWtnR3CefbUxb92f4S4GGwQl8kbo6Hzp5xnOjeEw/bLnwoCav9m7LALdMOw4ANuyx\n\tpMZjrzV7DEk9F0+NMpr0Du35msKa50A=","X-MC-Unique":"zzoDqCRkMQK6CKGP0QCtfg-1","X-Mimecast-MFC-AGG-ID":"zzoDqCRkMQK6CKGP0QCtfg_1746886354","From":"Hans de Goede <hdegoede@redhat.com>","To":"libcamera-devel@lists.libcamera.org","Cc":"Milan Zamazal <mzamazal@redhat.com>, Hans de Goede <hdegoede@redhat.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>","Subject":"[PATCH v2 3/8] libcamera: swstats_cpu: Move header to\n\tlibcamera/internal/software_isp","Date":"Sat, 10 May 2025 16:12:15 +0200","Message-ID":"<20250510141220.54872-4-hdegoede@redhat.com>","In-Reply-To":"<20250510141220.54872-1-hdegoede@redhat.com>","References":"<20250510141220.54872-1-hdegoede@redhat.com>","MIME-Version":"1.0","X-Scanned-By":"MIMEDefang 3.4.1 on 10.30.177.93","X-Mimecast-Spam-Score":"0","X-Mimecast-MFC-PROC-ID":"HCfEzcB_-Aq3xRawNOqEsI8GY7eJ-vC_5gX22NN7nQY_1746886354","X-Mimecast-Originator":"redhat.com","Content-Transfer-Encoding":"8bit","content-type":"text/plain; charset=\"US-ASCII\"; x-default=true","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","Errors-To":"libcamera-devel-bounces@lists.libcamera.org","Sender":"\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"},"content":"Move the swstats_cpu.h file to include/libcamera/internal/software_isp/\nso that it can be used outside the src/libcamera/software_isp/ directory.\n\nReviewed-by: Milan Zamazal <mzamazal@redhat.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\n---\n include/libcamera/internal/software_isp/meson.build             | 1 +\n .../libcamera/internal}/software_isp/swstats_cpu.h              | 0\n src/libcamera/software_isp/debayer_cpu.h                        | 2 +-\n src/libcamera/software_isp/swstats_cpu.cpp                      | 2 +-\n 4 files changed, 3 insertions(+), 2 deletions(-)\n rename {src/libcamera => include/libcamera/internal}/software_isp/swstats_cpu.h (100%)","diff":"diff --git a/include/libcamera/internal/software_isp/meson.build b/include/libcamera/internal/software_isp/meson.build\nindex 508ddddc..ea3f3f1c 100644\n--- a/include/libcamera/internal/software_isp/meson.build\n+++ b/include/libcamera/internal/software_isp/meson.build\n@@ -4,4 +4,5 @@ libcamera_internal_headers += files([\n     'debayer_params.h',\n     'software_isp.h',\n     'swisp_stats.h',\n+    'swstats_cpu.h',\n ])\ndiff --git a/src/libcamera/software_isp/swstats_cpu.h b/include/libcamera/internal/software_isp/swstats_cpu.h\nsimilarity index 100%\nrename from src/libcamera/software_isp/swstats_cpu.h\nrename to include/libcamera/internal/software_isp/swstats_cpu.h\ndiff --git a/src/libcamera/software_isp/debayer_cpu.h b/src/libcamera/software_isp/debayer_cpu.h\nindex 926195e9..89a89893 100644\n--- a/src/libcamera/software_isp/debayer_cpu.h\n+++ b/src/libcamera/software_isp/debayer_cpu.h\n@@ -18,9 +18,9 @@\n #include <libcamera/base/object.h>\n \n #include \"libcamera/internal/bayer_format.h\"\n+#include \"libcamera/internal/software_isp/swstats_cpu.h\"\n \n #include \"debayer.h\"\n-#include \"swstats_cpu.h\"\n \n namespace libcamera {\n \ndiff --git a/src/libcamera/software_isp/swstats_cpu.cpp b/src/libcamera/software_isp/swstats_cpu.cpp\nindex 5e4246a9..aa5654dc 100644\n--- a/src/libcamera/software_isp/swstats_cpu.cpp\n+++ b/src/libcamera/software_isp/swstats_cpu.cpp\n@@ -9,7 +9,7 @@\n  * CPU based software statistics implementation\n  */\n \n-#include \"swstats_cpu.h\"\n+#include \"libcamera/internal/software_isp/swstats_cpu.h\"\n \n #include <libcamera/base/log.h>\n \n","prefixes":["v2","3/8"]}