summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-01-24 10:02:23 +0100
committerJacopo Mondi <jacopo.mondi@ideasonboard.com>2024-01-24 10:06:16 +0100
commit7b740d90c8b090e68457ec7fe49b7e9cb2bdc2c7 (patch)
tree7b0afdf2ec042a11329fc70e8cdbf1dc14cfd3b5
parent563cd78e1c9858769f7e4cc2628e2515836fd6e7 (diff)
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
-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);