summaryrefslogtreecommitdiff
path: root/src/ipa/raspberrypi/raspberrypi.cpp
diff options
context:
space:
mode:
authorHirokazu Honda <hiroh@chromium.org>2021-08-31 06:02:24 +0900
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-08-31 15:18:53 +0300
commit75df3c71397ffdd61568b19157d327284c6d3a7f (patch)
tree74df82545181d39c013df535d1ea7fad57344dd1 /src/ipa/raspberrypi/raspberrypi.cpp
parent1c877bd8684d8e7743310d0b124ce0f9bf3aee79 (diff)
libcamera: mapped_framebuffer: Rename maps() to planes()
MappedFrameBuffer::maps() returns planes_. This renames the function name to planes(). Signed-off-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/raspberrypi/raspberrypi.cpp')
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp
index 7215b205..047123ab 100644
--- a/src/ipa/raspberrypi/raspberrypi.cpp
+++ b/src/ipa/raspberrypi/raspberrypi.cpp
@@ -936,7 +936,7 @@ void IPARPi::prepareISP(const ipa::RPi::ISPConfig &data)
*/
auto it = buffers_.find(data.embeddedBufferId);
ASSERT(it != buffers_.end());
- embeddedBuffer = it->second.maps()[0];
+ embeddedBuffer = it->second.planes()[0];
}
/*
@@ -1043,7 +1043,7 @@ void IPARPi::processStats(unsigned int bufferId)
return;
}
- Span<uint8_t> mem = it->second.maps()[0];
+ Span<uint8_t> mem = it->second.planes()[0];
bcm2835_isp_stats *stats = reinterpret_cast<bcm2835_isp_stats *>(mem.data());
RPiController::StatisticsPtr statistics = std::make_shared<bcm2835_isp_stats>(*stats);
helper_->Process(statistics, rpiMetadata_);