summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa')
-rw-r--r--src/ipa/ipu3/ipu3.cpp4
-rw-r--r--src/ipa/raspberrypi/raspberrypi.cpp4
-rw-r--r--src/ipa/rkisp1/rkisp1.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/ipa/ipu3/ipu3.cpp b/src/ipa/ipu3/ipu3.cpp
index 0ed0a6f1..c925cf64 100644
--- a/src/ipa/ipu3/ipu3.cpp
+++ b/src/ipa/ipu3/ipu3.cpp
@@ -422,7 +422,7 @@ void IPAIPU3::processEvent(const IPU3Event &event)
return;
}
- Span<uint8_t> mem = it->second.maps()[0];
+ Span<uint8_t> mem = it->second.planes()[0];
const ipu3_uapi_stats_3a *stats =
reinterpret_cast<ipu3_uapi_stats_3a *>(mem.data());
@@ -436,7 +436,7 @@ void IPAIPU3::processEvent(const IPU3Event &event)
return;
}
- Span<uint8_t> mem = it->second.maps()[0];
+ Span<uint8_t> mem = it->second.planes()[0];
ipu3_uapi_params *params =
reinterpret_cast<ipu3_uapi_params *>(mem.data());
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_);
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;