summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-01-10 15:42:26 +0000
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-02-03 02:04:09 +0200
commitb71cd3358f6bb4f8f8efc7974c9d1acd131788bb (patch)
tree1fe3b5d8bfe42590beda411a184a9d8e54c9276f /src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
parent77259f7346abf0ba65057c7ecb02c96c85621e7c (diff)
libcamera: pipeline: raspberrypi: Do not mark the Embedded Data stream as external
Remove the code that marks the Embedded Data stream as external with the Unicam Image (RAW) stream. This was needed for legacy reasons when matching image and embedded buffers, but is not needed any more. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: David Plowman <david.plowman@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline/raspberrypi/raspberrypi.cpp')
-rw-r--r--src/libcamera/pipeline/raspberrypi/raspberrypi.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
index f920c8de..49af56ed 100644
--- a/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
+++ b/src/libcamera/pipeline/raspberrypi/raspberrypi.cpp
@@ -905,15 +905,6 @@ int PipelineHandlerRPi::configure(Camera *camera, CameraConfiguration *config)
<< format.toString();
return ret;
}
-
- /*
- * If a RAW/Bayer stream has been requested by the application,
- * we must set both Unicam streams as external, even though the
- * application may only request RAW frames. This is because we
- * match timestamps on both streams to synchronise buffers.
- */
- if (rawStream)
- data->unicam_[Unicam::Embedded].setExternal(true);
}
/*