From b71cd3358f6bb4f8f8efc7974c9d1acd131788bb Mon Sep 17 00:00:00 2001 From: Naushir Patuck Date: Mon, 10 Jan 2022 15:42:26 +0000 Subject: 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 Reviewed-by: David Plowman Tested-by: David Plowman Reviewed-by: Kieran Bingham Signed-off-by: Laurent Pinchart --- src/libcamera/pipeline/raspberrypi/raspberrypi.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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); } /* -- cgit v1.2.1