From 7b740d90c8b090e68457ec7fe49b7e9cb2bdc2c7 Mon Sep 17 00:00:00 2001 From: Jacopo Mondi Date: Wed, 24 Jan 2024 10:02:23 +0100 Subject: debug Signed-off-by: Jacopo Mondi --- src/libcamera/pipeline/rpi/pisp/pisp.cpp | 36 ++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'src') diff --git a/src/libcamera/pipeline/rpi/pisp/pisp.cpp b/src/libcamera/pipeline/rpi/pisp/pisp.cpp index a977ed01..bbfe1e50 100644 --- a/src/libcamera/pipeline/rpi/pisp/pisp.cpp +++ b/src/libcamera/pipeline/rpi/pisp/pisp.cpp @@ -1004,17 +1004,53 @@ int PipelineHandlerPiSP::platformRegister(std::unique_ptr &came int ret; MediaEntity *cfeImage = cfe->getEntityByName("rp1-cfe-fe_image0"); + if (!cfeImage) + LOG(Error) << "No cfeImage"; + MediaEntity *cfeEmbedded = cfe->getEntityByName("rp1-cfe-embedded"); + if (!cfeEmbedded) + LOG(Error) << "No cfeEmbedded"; + MediaEntity *cfeStats = cfe->getEntityByName("rp1-cfe-fe_stats"); + if (!cfeStats) + LOG(Error) << "No cfeStats"; + MediaEntity *cfeConfig = cfe->getEntityByName("rp1-cfe-fe_config"); + if (!cfeConfig) + LOG(Error) << "No cfeConfig"; + MediaEntity *ispInput = isp->getEntityByName("pispbe-input"); + if (!ispInput) + LOG(Error) << "No ispInput"; + MediaEntity *IpaPrepare = isp->getEntityByName("pispbe-config"); + if (!IpaPrepare) + LOG(Error) << "No IpaPrepare"; + MediaEntity *ispOutput0 = isp->getEntityByName("pispbe-output0"); + if (!ispOutput0) + LOG(Error) << "No ispOutput0"; + MediaEntity *ispOutput1 = isp->getEntityByName("pispbe-output1"); + if (!ispOutput1) + LOG(Error) << "No ispOutput1"; + MediaEntity *ispTdnOutput = isp->getEntityByName("pispbe-tdn_output"); + if (!ispTdnOutput) + LOG(Error) << "No ispTdnOutput"; + MediaEntity *ispTdnInput = isp->getEntityByName("pispbe-tdn_input"); + if (!ispTdnInput) + LOG(Error) << "No ispTdnInput"; + MediaEntity *ispStitchOutput = isp->getEntityByName("pispbe-stitch_output"); + if (!ispStitchOutput) + LOG(Error) << "No ispStitchOutput"; + MediaEntity *ispStitchInput = isp->getEntityByName("pispbe-stitch_input"); + if (!ispStitchInput) + LOG(Error) << "No ispStitchInput"; + /* Locate and open the cfe video streams. */ data->cfe_[Cfe::Output0] = RPi::Stream("CFE Image", cfeImage); -- cgit v1.2.1