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:
parent
1c877bd868
commit
75df3c7139
8 changed files with 12 additions and 13 deletions
|
@ -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_);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue