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>
This commit is contained in:
Hirokazu Honda 2021-08-31 06:02:24 +09:00 committed by Laurent Pinchart
parent 1c877bd868
commit 75df3c7139
8 changed files with 12 additions and 13 deletions

View file

@ -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_);