summaryrefslogtreecommitdiff
path: root/src/libcamera/pipeline/ipu3/cio2.cpp
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-06-29 17:27:15 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-07-03 00:10:07 +0200
commit73b18967b6c04c2b6170d6f84685262b8c380cda (patch)
treef5e0fd4611ed5d9bf071b8cfba0ed5c6714e09ee /src/libcamera/pipeline/ipu3/cio2.cpp
parentc3648da6e9569ce43bd4bfdf4195681e47a7919c (diff)
libcamera: ipu3: cio2: Do not proxy signal
Do not proxy the signal in the CI2Device when there is no need for it, remove it. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/libcamera/pipeline/ipu3/cio2.cpp')
-rw-r--r--src/libcamera/pipeline/ipu3/cio2.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/libcamera/pipeline/ipu3/cio2.cpp b/src/libcamera/pipeline/ipu3/cio2.cpp
index aa1459fb..97a434a7 100644
--- a/src/libcamera/pipeline/ipu3/cio2.cpp
+++ b/src/libcamera/pipeline/ipu3/cio2.cpp
@@ -15,7 +15,6 @@
#include "libcamera/internal/camera_sensor.h"
#include "libcamera/internal/media_device.h"
#include "libcamera/internal/v4l2_subdevice.h"
-#include "libcamera/internal/v4l2_videodevice.h"
namespace libcamera {
@@ -121,13 +120,7 @@ int CIO2Device::init(const MediaDevice *media, unsigned int index)
std::string cio2Name = "ipu3-cio2 " + std::to_string(index);
output_ = V4L2VideoDevice::fromEntityName(media, cio2Name);
- ret = output_->open();
- if (ret)
- return ret;
-
- output_->bufferReady.connect(this, &CIO2Device::cio2BufferReady);
-
- return 0;
+ return output_->open();
}
/**
@@ -289,9 +282,4 @@ void CIO2Device::freeBuffers()
LOG(IPU3, Error) << "Failed to release CIO2 buffers";
}
-void CIO2Device::cio2BufferReady(FrameBuffer *buffer)
-{
- bufferReady.emit(buffer);
-}
-
} /* namespace libcamera */