summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-07-12 15:43:57 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-08-04 11:20:37 +0100
commit623de9c6d0267e1431ca1473e8a7344d0f6db68f (patch)
tree34c214a63abcefc4262d94f9983f64383a8a3f91
parent9fb102d5e2176c70b9d09cb4095acf1f5f879a8f (diff)
Revert "DNI: Measure CIO2 Frame rate and sequences"
This reverts commit c35a2cd16cdd6355c1dfac0de4574b485f0753b7.
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index f677653b..76c3bb3d 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -1325,16 +1325,6 @@ void IPU3CameraData::cio2BufferReady(FrameBuffer *buffer)
request->metadata().set(controls::SensorTimestamp,
buffer->metadata().timestamp);
- static uint64_t lastFrameTimestamp = 0;
-
- double fps = buffer->metadata().timestamp - lastFrameTimestamp;
- fps = lastFrameTimestamp != 0 && fps ? 1000000000.0 / fps : 0.0;
- lastFrameTimestamp = buffer->metadata().timestamp;
-
- LOG(IPU3, Info)
- << "CIO2 Complete: Frame " << buffer->metadata().sequence
- << ": fps " << fps;
-
/* If the buffer is cancelled force a complete of the whole request. */
if (buffer->metadata().status == FrameMetadata::FrameCancelled) {
for (auto it : request->buffers()) {