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

@ -192,7 +192,7 @@ void IPARkISP1::processEvent(const RkISP1Event &event)
const rkisp1_stat_buffer *stats =
reinterpret_cast<rkisp1_stat_buffer *>(
mappedBuffers_.at(bufferId).maps()[0].data());
mappedBuffers_.at(bufferId).planes()[0].data());
updateStatistics(frame, stats);
break;
@ -203,7 +203,7 @@ void IPARkISP1::processEvent(const RkISP1Event &event)
rkisp1_params_cfg *params =
reinterpret_cast<rkisp1_params_cfg *>(
mappedBuffers_.at(bufferId).maps()[0].data());
mappedBuffers_.at(bufferId).planes()[0].data());
queueRequest(frame, params, event.controls);
break;