From patchwork Tue Aug 18 14:05:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 27844 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 52E85C3338 for ; Tue, 18 Aug 2026 14:06:11 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 7B3FE68305; Tue, 18 Aug 2026 16:06:10 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (2048-bit key; unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.b="IUbRXLvq"; dkim=pass (2048-bit key; unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="Ju/ZuoCe"; dkim-atps=neutral Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 2DDC668305 for ; Tue, 18 Aug 2026 16:06:04 +0200 (CEST) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 67IE0mjg292879 for ; Tue, 18 Aug 2026 14:06:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= JJW5ojuOXBE2OX7wazqLPTyUetrSIGmVm152XimyfME=; b=IUbRXLvq0IPjgZ5u IVo3UBAbGKTLfUWrZdnJ+XHVrBNVMNk7VE1gTRFYM/PurelgCrWIfkEYZnJJAKFv Ka1PqPCVKkGUI7oRH4lQytMVycXEsIl+oJNvg2sCuOPdXCg6I/+1eHE73MBqfxWJ iIy83xIOsJyWpUlZI5HZ4NPPSf/t3rGyjFSMuVAkuTAkGxs7Z1zrSFKrnTSwNUDs 0tFO6ceAf0SLPc8hpbQidvg1WRVfkEugP2mYPjagw0ahPBhpuVk/jZRAADwDHpvj wWJ4+j3RI4myaSSRL8ESBSmBzSeivik9QnQLlzR+R0nMLg1HaaEjQzlPkitDY7Ij 3xobsQ== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4g4resg45s-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 18 Aug 2026 14:06:02 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-51ebdfceddcso51759631cf.3 for ; Tue, 18 Aug 2026 07:06:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1787061962; x=1787666762; darn=lists.libcamera.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=JJW5ojuOXBE2OX7wazqLPTyUetrSIGmVm152XimyfME=; b=Ju/ZuoCepw5Mve20GoV9uuKF2cSHLDmHTrKzbyCPmSZnDw02S1Rf7Y0EW8TY3W/c1c y6jUcFor9cUxQ9/TlnQ48NMeUu22bSDwLsVmu+bpInh0RF4IAMtUkY4zgnuKD8/UPdFy fLOcinIWfE3jQ8Sxmf5HywbDb8bgInXHLh/cPeYXSIWcxeKvQzZTBav/oL0vKeRyrQcU 6EcFxwK/tr/MGWifnIEdPym8FEbutOfA6I3zpNmYPqU0an0YBzILPZdKXpWJ0ssK4jL6 Dm+83pep5TNLJ5nveOkifH0h8ggJft7LqE5HcQLWj7+RmXmDxRiAbmhXta7hm6YK/n1v 0B0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787061962; x=1787666762; h=content-transfer-encoding:content-type: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 :content-type; bh=JJW5ojuOXBE2OX7wazqLPTyUetrSIGmVm152XimyfME=; b=W1B8l6+a40PdvBEJVd1IvWJqMJ+ig5VY+8bQ3DbSHeV2IRyTC53v3umSyWSGFCd7KI fWFtr/J+cSRUzBbRLI8rHzwmZhzDwKKPWf9GYDdEFx4kVSGxykoeTc0EgRN8Sz/WvCKP SRjaoRFNAtEM4vHYC8yRdhqFl1WZrAjrWLVYi015YtcvQ/0lgovrETcE8w1XIWrhw5YS oFwIcARE9gy8IqammDwN2iQyIc9LRuo2r3ZtRsj5FekH7o4gKd9IEEhnaYM5ma7/EJHI +5gbyPpzyjLFTwb6xmWQotn9rXIZoqM7uL+ZGhIzcvmsy4dfLEz0/90oYtjCxSzTwifK bdsw== X-Gm-Message-State: AOJu0YzNxdtqUnrgO3d6pDgsJAWcT03MFdxZrNabCzIRPNc5et+AJHzi 6pFIoAkKUumGn2hLawA4A8HLbHLzaSrR4bWKQhnYwkjCPeRw2Xm4jkrKUcIOfcr/Hwzndlp/YmM HmnMA9l43KThxYdhI9OBtLbRk2SaSxNo2N9Ai2Q09ONu9CEDkAm/yh/z0i4Lm9b/S6Venu1zDI8 FBy4etLrst X-Gm-Gg: AR+sD10kI+L5y4A//QszB2Da5pbfsxFD9wfn6e9EDe0xAJaNmWwrQ97fr2x+gBOtckS wlSFeu7mWwb9dpVzzRh2ZDTAm5eSDvxZcZ6xtemVBJjoMfriHgzfzIgu23T706dSNueDo5Olod2 XahIUZIt4ls7oQv/U76jtv5OP9m2/cGcGY/douaIfQkf7/OH8LqvW+0Q+ziwvJEcwD5/W6hQFyI WOz370eDyZXmIdPnc/hgGGOcmppFVqOHzvTMY77V5Lz7vwGWx78krRIaVq95vICjcEcQ8rE0FFx PTAAjouPN2xoJr+wqPHVto29mRNopYwRLnmuwuHj6X55Ovwh0Ekl0o9vvGrIBmVaGnMwXlKou7k eYFrGRNtKVfP/8i+BMks/DfStn14ECqIvP2oQrSS/uSAsS8MmIxyxpZxSDXoXtwWwYDWDO+pbB+ b5UY3/vA2XIxDOJOU= X-Received: by 2002:ac8:7f8b:0:b0:51b:f40b:2fb3 with SMTP id d75a77b69052e-52d8530e04emr334308791cf.9.1787061961259; Tue, 18 Aug 2026 07:06:01 -0700 (PDT) X-Received: by 2002:ac8:7f8b:0:b0:51b:f40b:2fb3 with SMTP id d75a77b69052e-52d8530e04emr334307551cf.9.1787061960599; Tue, 18 Aug 2026 07:06:00 -0700 (PDT) Received: from shalem (2001-1c00-0c32-7800-5bfa-a036-83f0-f9ec.cable.dynamic.v6.ziggo.nl. [2001:1c00:c32:7800:5bfa:a036:83f0:f9ec]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6a3d85a30b7sm1874967a12.30.2026.08.18.07.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Aug 2026 07:05:59 -0700 (PDT) From: Hans de Goede To: libcamera-devel@lists.libcamera.org Cc: Jacopo Mondi , =?utf-8?q?Niklas_S=C3=B6?= =?utf-8?q?derlund?= , Loic Poulain , Hans de Goede , =?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= Subject: [PATCH v9 7/8] ipa: softisp: Rename ipa::soft namespace to ipa::softisp Date: Tue, 18 Aug 2026 16:05:47 +0200 Message-ID: <20260818140548.179663-8-johannes.goede@oss.qualcomm.com> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260818140548.179663-1-johannes.goede@oss.qualcomm.com> References: <20260818140548.179663-1-johannes.goede@oss.qualcomm.com> MIME-Version: 1.0 X-Authority-Analysis: v=2.4 cv=Ne/WEWD4 c=1 sm=1 tr=0 ts=6a8466ca cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=Sv0fKeRqtYgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_glEPmIy2e8OvE2BGh3C:22 a=P1BnusSwAAAA:8 a=EUspDBNiAAAA:8 a=S-_Sen47HszD1NjcceEA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=D0XLA9XvdZm18NrgonBM:22 X-Proofpoint-GUID: GHPrMlXs3L6RV3fVNpdRUZEsx8NQK5C1 X-Proofpoint-ORIG-GUID: GHPrMlXs3L6RV3fVNpdRUZEsx8NQK5C1 X-Proofpoint-Spam-Info: AW1haW4tMjYwODE4MDEwMyBTYWx0ZWRfX7gJBWRZLmp9g jt2XEElyQuwJYGEfyW1BUKZs8FjjXojzxcxyrEpzIbPeG8Cj43r4i4cxJ0NB6GcnpCWNg8vBmcq SKL/w2nLlY342QIZ9ytnWmdbJeC7PFs= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwODE4MDEwMyBTYWx0ZWRfX6LJnKPI6jjZP WqvEpNsMBn0TeP0u3xd+7Y0TbJMArWiLoNnbymrVMTdrhiKkZeNEtwLoB9KUF3989OOPsyLFeQx /7Ydg3/quPIbvB0rU9r7eFLkfgqRRS8o3MEyRnjYmncVJ1W2hYTR8MvuMNqufK97+Fn1V73sMtz bG7wX2Pey1RKekEOBDQUbbfsaVFjYBPGkgsAAd7ZErSxxeJMugYTNhrD5MMzy+w0yKMbyKRuZ3V k8BnhRR9A2nU/esQAFbyyXc6feM85J8JLyZz8Hs1QXsjHXfmshJzFJwUhzLmzj7Q70bEBbmolxU VJlMhyxFVmKk3ko3Dd8otk49bG/7VdLnpUqGf3jEbDpUupIRZ3WnoLLwFGXgrYsbz/fpKjVgxSp +t9NZlFee0FMF8LHjqLnN0jRhVLKWhMdHW39WFFoJFaYrT/f3xDYfWvqJTlLwChkNucvL+L7R46 Bmd1PnY9i8lyXgdUJTw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293, Aquarius:18.0.1176, Hydra:6.1.134, FMLib:17.12.100.49 definitions=2026-08-18_02,2026-08-18_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 priorityscore=1501 malwarescore=0 suspectscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2608180103 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" Rename ipa::soft namespace to ipa::softisp to match the softisp IPA name. Reviewed-by: Jacopo Mondi Reviewed-by: Barnabás Pőcze Signed-off-by: Hans de Goede --- Changes in v7: - New patch in v7 of this patch-series --- include/libcamera/internal/software_isp/software_isp.h | 4 ++-- include/libcamera/ipa/softisp.mojom | 2 +- src/ipa/softisp/algorithms/adjust.cpp | 4 ++-- src/ipa/softisp/algorithms/adjust.h | 4 ++-- src/ipa/softisp/algorithms/agc.cpp | 4 ++-- src/ipa/softisp/algorithms/agc.h | 4 ++-- src/ipa/softisp/algorithms/algorithm.h | 4 ++-- src/ipa/softisp/algorithms/awb.cpp | 4 ++-- src/ipa/softisp/algorithms/awb.h | 4 ++-- src/ipa/softisp/algorithms/blc.cpp | 4 ++-- src/ipa/softisp/algorithms/blc.h | 4 ++-- src/ipa/softisp/algorithms/ccm.cpp | 4 ++-- src/ipa/softisp/algorithms/ccm.h | 4 ++-- src/ipa/softisp/ipa_context.cpp | 4 ++-- src/ipa/softisp/ipa_context.h | 4 ++-- src/ipa/softisp/module.h | 4 ++-- src/ipa/softisp/softisp.cpp | 8 ++++---- src/libcamera/pipeline/simple/simple.cpp | 2 +- src/libcamera/software_isp/software_isp.cpp | 4 ++-- 19 files changed, 38 insertions(+), 38 deletions(-) diff --git a/include/libcamera/internal/software_isp/software_isp.h b/include/libcamera/internal/software_isp/software_isp.h index 2363a91c8..64c77e65c 100644 --- a/include/libcamera/internal/software_isp/software_isp.h +++ b/include/libcamera/internal/software_isp/software_isp.h @@ -65,7 +65,7 @@ public: int configure(const StreamConfiguration &inputCfg, const std::vector> &outputCfgs, - const ipa::soft::IPAConfigInfo &configInfo); + const ipa::softisp::IPAConfigInfo &configInfo); int exportBuffers(const Stream *stream, unsigned int count, std::vector> *buffers); @@ -101,7 +101,7 @@ private: DmaBufAllocator dmaHeap_; bool ccmEnabled_; - std::unique_ptr ipa_; + std::unique_ptr ipa_; std::deque queuedInputBuffers_; std::deque queuedOutputBuffers_; }; diff --git a/include/libcamera/ipa/softisp.mojom b/include/libcamera/ipa/softisp.mojom index 66cf311b3..55b6e4d7f 100644 --- a/include/libcamera/ipa/softisp.mojom +++ b/include/libcamera/ipa/softisp.mojom @@ -4,7 +4,7 @@ * \todo Document the interface and remove the related EXCLUDE_PATTERNS entry. */ -module ipa.soft; +module ipa.softisp; import "include/libcamera/ipa/core.mojom"; diff --git a/src/ipa/softisp/algorithms/adjust.cpp b/src/ipa/softisp/algorithms/adjust.cpp index 52eb81d76..56e2cf0e8 100644 --- a/src/ipa/softisp/algorithms/adjust.cpp +++ b/src/ipa/softisp/algorithms/adjust.cpp @@ -17,7 +17,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { constexpr float kDefaultContrast = 1.0f; constexpr float kDefaultSaturation = 1.0f; @@ -129,6 +129,6 @@ void Adjust::process([[maybe_unused]] IPAContext &context, REGISTER_IPA_ALGORITHM(Adjust, "Adjust") -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/adjust.h b/src/ipa/softisp/algorithms/adjust.h index 49c1f26c3..1acf7cdf1 100644 --- a/src/ipa/softisp/algorithms/adjust.h +++ b/src/ipa/softisp/algorithms/adjust.h @@ -15,7 +15,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { constexpr float kDefaultGamma = 2.2f; @@ -45,6 +45,6 @@ private: void applySaturation(Matrix &ccm, float saturation); }; -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/agc.cpp b/src/ipa/softisp/algorithms/agc.cpp index 72f000628..63b41544c 100644 --- a/src/ipa/softisp/algorithms/agc.cpp +++ b/src/ipa/softisp/algorithms/agc.cpp @@ -19,7 +19,7 @@ namespace libcamera { LOG_DEFINE_CATEGORY(IPASoftIspExposure) -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { /* * The number of bins to use for the optimal exposure calculations. @@ -194,6 +194,6 @@ void Agc::process(IPAContext &context, REGISTER_IPA_ALGORITHM(Agc, "Agc") -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/agc.h b/src/ipa/softisp/algorithms/agc.h index 112d9f5a1..369446192 100644 --- a/src/ipa/softisp/algorithms/agc.h +++ b/src/ipa/softisp/algorithms/agc.h @@ -11,7 +11,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { class Agc : public Algorithm { @@ -28,6 +28,6 @@ private: void updateExposure(IPAContext &context, IPAFrameContext &frameContext, double exposureMSV); }; -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/algorithm.h b/src/ipa/softisp/algorithms/algorithm.h index 41f631703..53db01c9d 100644 --- a/src/ipa/softisp/algorithms/algorithm.h +++ b/src/ipa/softisp/algorithms/algorithm.h @@ -13,10 +13,10 @@ namespace libcamera { -namespace ipa::soft { +namespace ipa::softisp { using Algorithm = libcamera::ipa::Algorithm; -} /* namespace ipa::soft */ +} /* namespace ipa::softisp */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/awb.cpp b/src/ipa/softisp/algorithms/awb.cpp index 84f01b832..55fd326fc 100644 --- a/src/ipa/softisp/algorithms/awb.cpp +++ b/src/ipa/softisp/algorithms/awb.cpp @@ -18,7 +18,7 @@ namespace libcamera { LOG_DEFINE_CATEGORY(IPASoftIspAwb) -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { /* * \todo Replace it with a proper Lux algorithm @@ -159,6 +159,6 @@ void Awb::process(IPAContext &context, [[maybe_unused]] const uint32_t frame, REGISTER_IPA_ALGORITHM(Awb, "Awb") -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/awb.h b/src/ipa/softisp/algorithms/awb.h index 37893932b..c92bdbfd5 100644 --- a/src/ipa/softisp/algorithms/awb.h +++ b/src/ipa/softisp/algorithms/awb.h @@ -20,7 +20,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { class SoftIspAwbStats; @@ -59,6 +59,6 @@ private: AwbAlgorithm> awbAlgo_; }; -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/blc.cpp b/src/ipa/softisp/algorithms/blc.cpp index fca76f442..e35aabc35 100644 --- a/src/ipa/softisp/algorithms/blc.cpp +++ b/src/ipa/softisp/algorithms/blc.cpp @@ -15,7 +15,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { LOG_DEFINE_CATEGORY(IPASoftIspBL) @@ -119,6 +119,6 @@ void BlackLevel::process(IPAContext &context, REGISTER_IPA_ALGORITHM(BlackLevel, "BlackLevel") -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/blc.h b/src/ipa/softisp/algorithms/blc.h index 2933ff1ff..1d602927f 100644 --- a/src/ipa/softisp/algorithms/blc.h +++ b/src/ipa/softisp/algorithms/blc.h @@ -14,7 +14,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { class BlackLevel : public Algorithm { @@ -37,6 +37,6 @@ private: std::optional definedLevel_; }; -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/ccm.cpp b/src/ipa/softisp/algorithms/ccm.cpp index 58e17bbeb..039074494 100644 --- a/src/ipa/softisp/algorithms/ccm.cpp +++ b/src/ipa/softisp/algorithms/ccm.cpp @@ -12,7 +12,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { LOG_DEFINE_CATEGORY(IPASoftIspCcm) @@ -79,6 +79,6 @@ void Ccm::process([[maybe_unused]] IPAContext &context, REGISTER_IPA_ALGORITHM(Ccm, "Ccm") -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/algorithms/ccm.h b/src/ipa/softisp/algorithms/ccm.h index 27f11bcbd..2a2030a41 100644 --- a/src/ipa/softisp/algorithms/ccm.h +++ b/src/ipa/softisp/algorithms/ccm.h @@ -19,7 +19,7 @@ namespace libcamera { -namespace ipa::soft::algorithms { +namespace ipa::softisp::algorithms { class Ccm : public Algorithm { @@ -45,6 +45,6 @@ private: CcmAlgorithm> ccmAlgo_; }; -} /* namespace ipa::soft::algorithms */ +} /* namespace ipa::softisp::algorithms */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/ipa_context.cpp b/src/ipa/softisp/ipa_context.cpp index 3f94bbebf..0c7cbbf78 100644 --- a/src/ipa/softisp/ipa_context.cpp +++ b/src/ipa/softisp/ipa_context.cpp @@ -13,7 +13,7 @@ * \brief Context and state information shared between the algorithms */ -namespace libcamera::ipa::soft { +namespace libcamera::ipa::softisp { /** * \struct IPASessionConfiguration @@ -99,4 +99,4 @@ namespace libcamera::ipa::soft { * \brief Black level used for the gamma table computation */ -} /* namespace libcamera::ipa::soft */ +} /* namespace libcamera::ipa::softisp */ diff --git a/src/ipa/softisp/ipa_context.h b/src/ipa/softisp/ipa_context.h index bccf95775..2eed32f88 100644 --- a/src/ipa/softisp/ipa_context.h +++ b/src/ipa/softisp/ipa_context.h @@ -24,7 +24,7 @@ namespace libcamera { -namespace ipa::soft { +namespace ipa::softisp { struct IPASessionConfiguration { struct { @@ -91,6 +91,6 @@ struct IPAContext { bool ccmEnabled = false; }; -} /* namespace ipa::soft */ +} /* namespace ipa::softisp */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/module.h b/src/ipa/softisp/module.h index b5d99ba08..b7f79aadf 100644 --- a/src/ipa/softisp/module.h +++ b/src/ipa/softisp/module.h @@ -20,11 +20,11 @@ namespace libcamera { -namespace ipa::soft { +namespace ipa::softisp { using Module = ipa::Module; -} /* namespace ipa::soft */ +} /* namespace ipa::softisp */ } /* namespace libcamera */ diff --git a/src/ipa/softisp/softisp.cpp b/src/ipa/softisp/softisp.cpp index 111325d7d..b3f0d3fa6 100644 --- a/src/ipa/softisp/softisp.cpp +++ b/src/ipa/softisp/softisp.cpp @@ -36,12 +36,12 @@ LOG_DEFINE_CATEGORY(IPASoftIsp) using namespace std::literals::chrono_literals; -namespace ipa::soft { +namespace ipa::softisp { /* Maximum number of frame contexts to be held */ static constexpr uint32_t kMaxFrameContexts = 16; -class IPASoftIsp : public ipa::soft::IPASoftIspInterface, public Module +class IPASoftIsp : public ipa::softisp::IPASoftIspInterface, public Module { public: IPASoftIsp() @@ -333,7 +333,7 @@ std::string IPASoftIsp::logPrefix() const return "IPASoftIsp"; } -} /* namespace ipa::soft */ +} /* namespace ipa::softisp */ /* * External IPA module interface @@ -347,7 +347,7 @@ const struct IPAModuleInfo ipaModuleInfo = { IPAInterface *ipaCreate() { - return new ipa::soft::IPASoftIsp(); + return new ipa::softisp::IPASoftIsp(); } } /* extern "C" */ diff --git a/src/libcamera/pipeline/simple/simple.cpp b/src/libcamera/pipeline/simple/simple.cpp index e26f438d9..02a98f594 100644 --- a/src/libcamera/pipeline/simple/simple.cpp +++ b/src/libcamera/pipeline/simple/simple.cpp @@ -1603,7 +1603,7 @@ int SimplePipelineHandler::configure(Camera *camera, CameraConfiguration *c) if (data->converter_) { return data->converter_->configure(inputCfg, outputCfgs); } else { - ipa::soft::IPAConfigInfo configInfo; + ipa::softisp::IPAConfigInfo configInfo; configInfo.sensorControls = data->sensor_->controls(); return data->swIsp_->configure(inputCfg, outputCfgs, configInfo); } diff --git a/src/libcamera/software_isp/software_isp.cpp b/src/libcamera/software_isp/software_isp.cpp index d1fe02a2e..f29f78c98 100644 --- a/src/libcamera/software_isp/software_isp.cpp +++ b/src/libcamera/software_isp/software_isp.cpp @@ -136,7 +136,7 @@ SoftwareIsp::SoftwareIsp(PipelineHandler *pipe, const CameraSensor *sensor, debayer_->inputBufferReady.connect(this, &SoftwareIsp::inputReady); debayer_->outputBufferReady.connect(this, &SoftwareIsp::outputReady); - ipa_ = pipe->createIPA(0, 0); + ipa_ = pipe->createIPA(0, 0); if (!ipa_) { LOG(SoftwareIsp, Error) << "Creating IPA for software ISP failed"; @@ -285,7 +285,7 @@ uint32_t SoftwareIsp::preferredInputStride(const PixelFormat &inputFormat, const */ int SoftwareIsp::configure(const StreamConfiguration &inputCfg, const std::vector> &outputCfgs, - const ipa::soft::IPAConfigInfo &configInfo) + const ipa::softisp::IPAConfigInfo &configInfo) { ASSERT(ipa_ && debayer_);