summaryrefslogtreecommitdiff
path: root/src/ipa/rkisp1
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/rkisp1
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/rkisp1')
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipa/rkisp1/rkisp1.cpp b/src/ipa/rkisp1/rkisp1.cpp
index 046816e0..bf2c13b6 100644
--- a/src/ipa/rkisp1/rkisp1.cpp
+++ b/src/ipa/rkisp1/rkisp1.cpp
@@ -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;