diff options
-rw-r--r-- | src/libcamera/pipeline/ipu3/ipu3.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp index d74655d0..64f639fc 100644 --- a/src/libcamera/pipeline/ipu3/ipu3.cpp +++ b/src/libcamera/pipeline/ipu3/ipu3.cpp @@ -42,6 +42,12 @@ private: std::shared_ptr<MediaDevice> cio2_; std::shared_ptr<MediaDevice> imgu_; + IPU3CameraData *cameraData(const Camera *camera) + { + return static_cast<IPU3CameraData *>( + PipelineHandler::cameraData(camera)); + } + V4L2Device *createVideoDevice(unsigned int id); void registerCameras(); }; |