Patch Detail
Show a patch.
GET /api/1.1/patches/11319/?format=api
{ "id": 11319, "url": "https://patchwork.libcamera.org/api/1.1/patches/11319/?format=api", "web_url": "https://patchwork.libcamera.org/patch/11319/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api", "name": "libcamera", "link_name": "libcamera", "list_id": "libcamera_core", "list_email": "libcamera-devel@lists.libcamera.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20210217100852.1542397-2-naush@raspberrypi.com>", "date": "2021-02-17T10:08:51", "name": "[libcamera-devel,2/3] pipeline: ipa: raspberrypi: Rename IPA Interface namespace to ipa::RPi", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "119fff7f463eb53d8cd78e14b7e28ad170b71ec0", "submitter": { "id": 34, "url": "https://patchwork.libcamera.org/api/1.1/people/34/?format=api", "name": "Naushir Patuck", "email": "naush@raspberrypi.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/11319/mbox/", "series": [ { "id": 1700, "url": "https://patchwork.libcamera.org/api/1.1/series/1700/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1700", "date": "2021-02-17T10:08:50", "name": "[libcamera-devel,1/3] pipeline: ipa: raspberrypi: Various fixups after IPAInterface changes", "version": 1, "mbox": "https://patchwork.libcamera.org/series/1700/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/11319/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/11319/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 3859EBD1F1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 17 Feb 2021 10:09:00 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EA169660F9;\n\tWed, 17 Feb 2021 11:08:58 +0100 (CET)", "from mail-wr1-x430.google.com (mail-wr1-x430.google.com\n\t[IPv6:2a00:1450:4864:20::430])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A799B602FA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Feb 2021 11:08:57 +0100 (CET)", "by mail-wr1-x430.google.com with SMTP id n6so16703110wrv.8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 17 Feb 2021 02:08:57 -0800 (PST)", "from naush-laptop.patuck.local ([88.97.76.4])\n\tby smtp.gmail.com with ESMTPSA id\n\tl38sm2132481wmp.19.2021.02.17.02.08.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 17 Feb 2021 02:08:56 -0800 (PST)" ], "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"m1olAB0G\"; dkim-atps=neutral", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=Ih66PSUudybURaOS8xx6g+qRRG+qJ22mtmV2vucmKWw=;\n\tb=m1olAB0GHA+my/XIuKirDf0TTnmwhiVOIZ2WCgsGTXy7euaipnmST5T4lGj2f2fUh6\n\tSnhmi6nQQyOcqfGa+/dPN+nzuPGiTUecFIrCiy6TyMBaTISFf0eANWef9zm/+RWtSBF9\n\tbGDgXsrV8mPW8m/WKMOUsTKRdavbtIEHDUH9JNGHneQsAe0TwZEVkK58VPzN1oY3LiAv\n\tjSnJAQOIRtV4Urx3V25cNr1zt5eml2K6IP9WNgdrorJaxefo8uVhL8rw8nFaRFDZcxgG\n\tcnkTRL+9kZs6fddcwZ47d2Hu2q8SzXpMKEZmZVwBTwgn1v4ouW3u0+r/O3yJUHJVsVal\n\tQJSQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=Ih66PSUudybURaOS8xx6g+qRRG+qJ22mtmV2vucmKWw=;\n\tb=LpzGDIk2OhynpagCdU/Xh1wK++2zI1OCKEQuUtF0jkdVrkOxFA1q3imGGe9aCNN7Ic\n\tNZBYs2obEN9QZ2aPO/RES0EOYvnkBbyHMQkhUmOQ4mPzvDTcAb0TqVCs0safJjiJT7Mg\n\tV7s+nbocZdFGd3sJRzBU9jasc6ZSYueqx274ZIN/I1KtCmKR62Ul+3B2iyrTHI7zyt/f\n\tdQHlNkQ4/JsV92+HzmfzpYrLPBjg7bhyqEyT+cG3QuP9F2EB+8IgYZx0c5i9IdfKWLK0\n\tZKKe80o2G0xIQfUlF7eF6YuiObtqPt1ET6rVQ9nSGxkDgY7huo6VPc901bc5Zbp92vb/\n\t1pgQ==", "X-Gm-Message-State": "AOAM531IBk9GDBnR1S8rd/UDlrtAT3HYL47zjjPSvDzJhuCEUSJjHB9m\n\tvghQgr4HSUH5u4OrHzKLzVwOOf8+Y1Fp+bbY", "X-Google-Smtp-Source": "ABdhPJyBul8cj558Vusnows5bCZo+z8awbDIiy9DTCvQUsubc/EkesHw8WPjNu5bq9x8kNNy/0BvWQ==", "X-Received": "by 2002:a5d:5910:: with SMTP id\n\tv16mr17884311wrd.304.1613556537034; \n\tWed, 17 Feb 2021 02:08:57 -0800 (PST)", "From": "Naushir Patuck <naush@raspberrypi.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Wed, 17 Feb 2021 10:08:51 +0000", "Message-Id": "<20210217100852.1542397-2-naush@raspberrypi.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20210217100852.1542397-1-naush@raspberrypi.com>", "References": "<20210217100852.1542397-1-naush@raspberrypi.com>", "MIME-Version": "1.0", "Subject": "[libcamera-devel] [PATCH 2/3] pipeline: ipa: raspberrypi: Rename\n\tIPA Interface namespace to ipa::RPi", "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>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "Rename the IPA interface namespace to ipa::RPi for consistency with\nthe libcamera::RPi namespace label.\n\nThere is no functional change in this commit.\n\nSigned-off-by: Naushir Patuck <naush@raspberrypi.com>\n---\n include/libcamera/ipa/raspberrypi.mojom | 2 +-\n src/ipa/raspberrypi/raspberrypi.cpp | 38 +++++++++---------\n .../pipeline/raspberrypi/raspberrypi.cpp | 40 +++++++++----------\n .../pipeline/raspberrypi/rpi_stream.cpp | 4 +-\n .../pipeline/raspberrypi/rpi_stream.h | 4 +-\n 5 files changed, 42 insertions(+), 46 deletions(-)", "diff": "diff --git a/include/libcamera/ipa/raspberrypi.mojom b/include/libcamera/ipa/raspberrypi.mojom\nindex 9c05cc68cceb..5a27b1e4fc2d 100644\n--- a/include/libcamera/ipa/raspberrypi.mojom\n+++ b/include/libcamera/ipa/raspberrypi.mojom\n@@ -1,6 +1,6 @@\n /* SPDX-License-Identifier: LGPL-2.1-or-later */\n \n-module ipa.rpi;\n+module ipa.RPi;\n \n import \"include/libcamera/ipa/core.mojom\";\n \ndiff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp\nindex 974f4ec63058..1226ea514521 100644\n--- a/src/ipa/raspberrypi/raspberrypi.cpp\n+++ b/src/ipa/raspberrypi/raspberrypi.cpp\n@@ -63,7 +63,7 @@ constexpr double defaultMaxFrameDuration = 1e6 / 0.01;\n \n LOG_DEFINE_CATEGORY(IPARPI)\n \n-class IPARPi : public ipa::rpi::IPARPiInterface\n+class IPARPi : public ipa::RPi::IPARPiInterface\n {\n public:\n \tIPARPi()\n@@ -76,24 +76,24 @@ public:\n \t~IPARPi()\n \t{\n \t\tif (lsTable_)\n-\t\t\tmunmap(lsTable_, ipa::rpi::MaxLsGridSize);\n+\t\t\tmunmap(lsTable_, ipa::RPi::MaxLsGridSize);\n \t}\n \n \tint init(const IPASettings &settings) override;\n-\tvoid start(const ipa::rpi::StartControls &data,\n-\t\t ipa::rpi::StartControls *result) override;\n+\tvoid start(const ipa::RPi::StartControls &data,\n+\t\t ipa::RPi::StartControls *result) override;\n \tvoid stop() override {}\n \n \tvoid configure(const CameraSensorInfo &sensorInfo,\n \t\t const std::map<unsigned int, IPAStream> &streamConfig,\n \t\t const std::map<unsigned int, ControlInfoMap> &entityControls,\n-\t\t const ipa::rpi::ConfigInput &data,\n-\t\t ipa::rpi::ConfigOutput *response, int32_t *ret) override;\n+\t\t const ipa::RPi::ConfigInput &data,\n+\t\t ipa::RPi::ConfigOutput *response, int32_t *ret) override;\n \tvoid mapBuffers(const std::vector<IPABuffer> &buffers) override;\n \tvoid unmapBuffers(const std::vector<unsigned int> &ids) override;\n \tvoid signalStatReady(const uint32_t bufferId) override;\n \tvoid signalQueueRequest(const ControlList &controls) override;\n-\tvoid signalIspPrepare(const ipa::rpi::ISPConfig &data) override;\n+\tvoid signalIspPrepare(const ipa::RPi::ISPConfig &data) override;\n \n private:\n \tvoid setMode(const CameraSensorInfo &sensorInfo);\n@@ -168,8 +168,8 @@ int IPARPi::init(const IPASettings &settings)\n \treturn 0;\n }\n \n-void IPARPi::start(const ipa::rpi::StartControls &data,\n-\t\t ipa::rpi::StartControls *result)\n+void IPARPi::start(const ipa::RPi::StartControls &data,\n+\t\t ipa::RPi::StartControls *result)\n {\n \tRPiController::Metadata metadata;\n \n@@ -291,8 +291,8 @@ void IPARPi::setMode(const CameraSensorInfo &sensorInfo)\n void IPARPi::configure(const CameraSensorInfo &sensorInfo,\n \t\t [[maybe_unused]] const std::map<unsigned int, IPAStream> &streamConfig,\n \t\t const std::map<unsigned int, ControlInfoMap> &entityControls,\n-\t\t const ipa::rpi::ConfigInput &ipaConfig,\n-\t\t ipa::rpi::ConfigOutput *result, int32_t *ret)\n+\t\t const ipa::RPi::ConfigInput &ipaConfig,\n+\t\t ipa::RPi::ConfigOutput *result, int32_t *ret)\n {\n \tif (entityControls.size() != 2) {\n \t\tLOG(IPARPI, Error) << \"No ISP or sensor controls found.\";\n@@ -344,7 +344,7 @@ void IPARPi::configure(const CameraSensorInfo &sensorInfo,\n \t\thelper_->GetDelays(exposureDelay, gainDelay);\n \t\tsensorMetadata = helper_->SensorEmbeddedDataPresent();\n \n-\t\tresult->params |= ipa::rpi::ConfigSensorParams;\n+\t\tresult->params |= ipa::RPi::ConfigSensorParams;\n \t\tresult->sensorConfig.gainDelay = gainDelay;\n \t\tresult->sensorConfig.exposureDelay = exposureDelay;\n \t\tresult->sensorConfig.vblank = exposureDelay;\n@@ -360,14 +360,14 @@ void IPARPi::configure(const CameraSensorInfo &sensorInfo,\n \tif (ipaConfig.lsTableHandle.isValid()) {\n \t\t/* Remove any previous table, if there was one. */\n \t\tif (lsTable_) {\n-\t\t\tmunmap(lsTable_, ipa::rpi::MaxLsGridSize);\n+\t\t\tmunmap(lsTable_, ipa::RPi::MaxLsGridSize);\n \t\t\tlsTable_ = nullptr;\n \t\t}\n \n \t\t/* Map the LS table buffer into user space. */\n \t\tlsTableHandle_ = std::move(ipaConfig.lsTableHandle);\n \t\tif (lsTableHandle_.isValid()) {\n-\t\t\tlsTable_ = mmap(nullptr, ipa::rpi::MaxLsGridSize, PROT_READ | PROT_WRITE,\n+\t\t\tlsTable_ = mmap(nullptr, ipa::RPi::MaxLsGridSize, PROT_READ | PROT_WRITE,\n \t\t\t\t\tMAP_SHARED, lsTableHandle_.fd(), 0);\n \n \t\t\tif (lsTable_ == MAP_FAILED) {\n@@ -432,7 +432,7 @@ void IPARPi::signalStatReady(uint32_t bufferId)\n \n \treportMetadata();\n \n-\tstatsMetadataComplete.emit(bufferId & ipa::rpi::MaskID, libcameraMetadata_);\n+\tstatsMetadataComplete.emit(bufferId & ipa::RPi::MaskID, libcameraMetadata_);\n }\n \n void IPARPi::signalQueueRequest(const ControlList &controls)\n@@ -440,7 +440,7 @@ void IPARPi::signalQueueRequest(const ControlList &controls)\n \tqueueRequest(controls);\n }\n \n-void IPARPi::signalIspPrepare(const ipa::rpi::ISPConfig &data)\n+void IPARPi::signalIspPrepare(const ipa::RPi::ISPConfig &data)\n {\n \t/*\n \t * At start-up, or after a mode-switch, we may want to\n@@ -451,7 +451,7 @@ void IPARPi::signalIspPrepare(const ipa::rpi::ISPConfig &data)\n \tframeCount_++;\n \n \t/* Ready to push the input buffer into the ISP. */\n-\trunIsp.emit(data.bayerBufferId & ipa::rpi::MaskID);\n+\trunIsp.emit(data.bayerBufferId & ipa::RPi::MaskID);\n }\n \n void IPARPi::reportMetadata()\n@@ -906,7 +906,7 @@ void IPARPi::queueRequest(const ControlList &controls)\n \n void IPARPi::returnEmbeddedBuffer(unsigned int bufferId)\n {\n-\tembeddedComplete.emit(bufferId & ipa::rpi::MaskID);\n+\tembeddedComplete.emit(bufferId & ipa::RPi::MaskID);\n }\n \n void IPARPi::prepareISP(unsigned int bufferId)\n@@ -1271,7 +1271,7 @@ void IPARPi::applyLS(const struct AlscStatus *lsStatus, ControlList &ctrls)\n \t\t.gain_format = GAIN_FORMAT_U4P10\n \t};\n \n-\tif (!lsTable_ || w * h * 4 * sizeof(uint16_t) > ipa::rpi::MaxLsGridSize) {\n+\tif (!lsTable_ || w * h * 4 * sizeof(uint16_t) > ipa::RPi::MaxLsGridSize) {\n \t\tLOG(IPARPI, Error) << \"Do not have a correctly allocate lens shading table!\";\n \t\treturn;\n \t}\ndiff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\nindex 8770ae66a21a..9dd4d112a907 100644\n--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp\n@@ -166,7 +166,7 @@ public:\n \tvoid handleState();\n \tvoid applyScalerCrop(const ControlList &controls);\n \n-\tstd::unique_ptr<ipa::rpi::IPAProxyRPi> ipa_;\n+\tstd::unique_ptr<ipa::RPi::IPAProxyRPi> ipa_;\n \n \tstd::unique_ptr<CameraSensor> sensor_;\n \t/* Array of Unicam and ISP device streams and associated buffers/streams. */\n@@ -778,8 +778,8 @@ int PipelineHandlerRPi::start(Camera *camera, ControlList *controls)\n \t\tdata->applyScalerCrop(*controls);\n \n \t/* Start the IPA. */\n-\tipa::rpi::StartControls ipaData;\n-\tipa::rpi::StartControls result;\n+\tipa::RPi::StartControls ipaData;\n+\tipa::RPi::StartControls result;\n \tif (controls)\n \t\tipaData.controls = *controls;\n \tdata->ipa_->start(ipaData, &result);\n@@ -1114,8 +1114,8 @@ int PipelineHandlerRPi::prepareBuffers(Camera *camera)\n \t * Pass the stats and embedded data buffers to the IPA. No other\n \t * buffers need to be passed.\n \t */\n-\tmapBuffers(camera, data->isp_[Isp::Stats].getBuffers(), ipa::rpi::MaskStats);\n-\tmapBuffers(camera, data->unicam_[Unicam::Embedded].getBuffers(), ipa::rpi::MaskEmbeddedData);\n+\tmapBuffers(camera, data->isp_[Isp::Stats].getBuffers(), ipa::RPi::MaskStats);\n+\tmapBuffers(camera, data->unicam_[Unicam::Embedded].getBuffers(), ipa::RPi::MaskEmbeddedData);\n \n \treturn 0;\n }\n@@ -1164,7 +1164,7 @@ void RPiCameraData::frameStarted(uint32_t sequence)\n \n int RPiCameraData::loadIPA()\n {\n-\tipa_ = IPAManager::createIPA<ipa::rpi::IPAProxyRPi>(pipe_, 1, 1);\n+\tipa_ = IPAManager::createIPA<ipa::RPi::IPAProxyRPi>(pipe_, 1, 1);\n \n \tif (!ipa_)\n \t\treturn -ENOENT;\n@@ -1188,7 +1188,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)\n \n \tstd::map<unsigned int, IPAStream> streamConfig;\n \tstd::map<unsigned int, ControlInfoMap> entityControls;\n-\tipa::rpi::ConfigInput ipaConfig;\n+\tipa::RPi::ConfigInput ipaConfig;\n \n \t/* Get the device format to pass to the IPA. */\n \tV4L2DeviceFormat sensorFormat;\n@@ -1211,7 +1211,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)\n \n \t/* Allocate the lens shading table via dmaHeap and pass to the IPA. */\n \tif (!lsTable_.isValid()) {\n-\t\tlsTable_ = dmaHeap_.alloc(\"ls_grid\", ipa::rpi::MaxLsGridSize);\n+\t\tlsTable_ = dmaHeap_.alloc(\"ls_grid\", ipa::RPi::MaxLsGridSize);\n \t\tif (!lsTable_.isValid())\n \t\t\treturn -ENOMEM;\n \n@@ -1231,7 +1231,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)\n \t}\n \n \t/* Ready the IPA - it must know about the sensor resolution. */\n-\tipa::rpi::ConfigOutput result;\n+\tipa::RPi::ConfigOutput result;\n \n \tipa_->configure(sensorInfo_, streamConfig, entityControls, ipaConfig,\n \t\t\t&result, &ret);\n@@ -1241,7 +1241,7 @@ int RPiCameraData::configureIPA(const CameraConfiguration *config)\n \t\treturn -EPIPE;\n \t}\n \n-\tif (result.params & ipa::rpi::ConfigSensorParams) {\n+\tif (result.params & ipa::RPi::ConfigSensorParams) {\n \t\t/*\n \t\t * Setup our delayed control writer with the sensor default\n \t\t * gain and exposure delays.\n@@ -1343,13 +1343,9 @@ void RPiCameraData::setIspControls(const ControlList &controls)\n \tif (ctrls.contains(V4L2_CID_USER_BCM2835_ISP_LENS_SHADING)) {\n \t\tSpan<const uint8_t> s =\n \t\t\tctrls.get(V4L2_CID_USER_BCM2835_ISP_LENS_SHADING).data();\n-\t\tbcm2835_isp_lens_shading ls =\n-\t\t\t*reinterpret_cast<const bcm2835_isp_lens_shading *>(s.data());\n-\t\tls.dmabuf = lsTable_.fd();\n-\n-\t\tControlValue c(Span<const uint8_t>{ reinterpret_cast<uint8_t *>(&ls),\n-\t\t\t\t\t\t sizeof(ls) });\n-\t\tctrls.set(V4L2_CID_USER_BCM2835_ISP_LENS_SHADING, c);\n+\t\tconst bcm2835_isp_lens_shading *ls =\n+\t\t\treinterpret_cast<const bcm2835_isp_lens_shading *>(s.data());\n+\t\tls->dmabuf = lsTable_.fd();\n \t}\n \n \tisp_[Isp::Input].dev()->setControls(&ctrls);\n@@ -1457,7 +1453,7 @@ void RPiCameraData::ispOutputDequeue(FrameBuffer *buffer)\n \t * application until after the IPA signals so.\n \t */\n \tif (stream == &isp_[Isp::Stats]) {\n-\t\tipa_->signalStatReady(ipa::rpi::MaskStats | static_cast<unsigned int>(index));\n+\t\tipa_->signalStatReady(ipa::RPi::MaskStats | static_cast<unsigned int>(index));\n \t} else {\n \t\t/* Any other ISP output can be handed back to the application now. */\n \t\thandleStreamBuffer(buffer, stream);\n@@ -1561,7 +1557,7 @@ void RPiCameraData::handleExternalBuffer(FrameBuffer *buffer, RPi::Stream *strea\n {\n \tunsigned int id = stream->getBufferId(buffer);\n \n-\tif (!(id & ipa::rpi::MaskExternalBuffer))\n+\tif (!(id & ipa::RPi::MaskExternalBuffer))\n \t\treturn;\n \n \t/* Stop the Stream object from tracking the buffer. */\n@@ -1693,9 +1689,9 @@ void RPiCameraData::tryRunPipeline()\n \t\t\t<< \" Bayer buffer id: \" << bayerId\n \t\t\t<< \" Embedded buffer id: \" << embeddedId;\n \n-\tipa::rpi::ISPConfig ispPrepare;\n-\tispPrepare.embeddedBufferId = ipa::rpi::MaskEmbeddedData | embeddedId;\n-\tispPrepare.bayerBufferId = ipa::rpi::MaskBayerData | bayerId;\n+\tipa::RPi::ISPConfig ispPrepare;\n+\tispPrepare.embeddedBufferId = ipa::RPi::MaskEmbeddedData | embeddedId;\n+\tispPrepare.bayerBufferId = ipa::RPi::MaskBayerData | bayerId;\n \tipa_->signalIspPrepare(ispPrepare);\n }\n \ndiff --git a/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp b/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\nindex 496dd36fabbc..f2430415d32d 100644\n--- a/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\n+++ b/src/libcamera/pipeline/raspberrypi/rpi_stream.cpp\n@@ -72,7 +72,7 @@ int Stream::getBufferId(FrameBuffer *buffer) const\n \n void Stream::setExternalBuffer(FrameBuffer *buffer)\n {\n-\tbufferMap_.emplace(ipa::rpi::MaskExternalBuffer | id_.get(), buffer);\n+\tbufferMap_.emplace(ipa::RPi::MaskExternalBuffer | id_.get(), buffer);\n }\n \n void Stream::removeExternalBuffer(FrameBuffer *buffer)\n@@ -80,7 +80,7 @@ void Stream::removeExternalBuffer(FrameBuffer *buffer)\n \tint id = getBufferId(buffer);\n \n \t/* Ensure we have this buffer in the stream, and it is marked external. */\n-\tASSERT(id != -1 && (id & ipa::rpi::MaskExternalBuffer));\n+\tASSERT(id != -1 && (id & ipa::RPi::MaskExternalBuffer));\n \tbufferMap_.erase(id);\n }\n \ndiff --git a/src/libcamera/pipeline/raspberrypi/rpi_stream.h b/src/libcamera/pipeline/raspberrypi/rpi_stream.h\nindex 701110d04bdb..f1ac715f4221 100644\n--- a/src/libcamera/pipeline/raspberrypi/rpi_stream.h\n+++ b/src/libcamera/pipeline/raspberrypi/rpi_stream.h\n@@ -32,13 +32,13 @@ class Stream : public libcamera::Stream\n {\n public:\n \tStream()\n-\t\t: id_(ipa::rpi::MaskID)\n+\t\t: id_(ipa::RPi::MaskID)\n \t{\n \t}\n \n \tStream(const char *name, MediaEntity *dev, bool importOnly = false)\n \t\t: external_(false), importOnly_(importOnly), name_(name),\n-\t\t dev_(std::make_unique<V4L2VideoDevice>(dev)), id_(ipa::rpi::MaskID)\n+\t\t dev_(std::make_unique<V4L2VideoDevice>(dev)), id_(ipa::RPi::MaskID)\n \t{\n \t}\n \n", "prefixes": [ "libcamera-devel", "2/3" ] }