summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libcamera/pipeline/rpi/pisp/pisp.cpp36
1 files changed, 36 insertions, 0 deletions
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<RPi::CameraData> &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);