summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/v4l2_videodevice.h
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-10-18 03:47:23 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-11-10 01:20:30 +0100
commit3d624b745b31383dbcd94d96246fab865820085f (patch)
tree60b0bdcec8479f1322e6cd914b019a757bf2f033 /include/libcamera/internal/v4l2_videodevice.h
parent68d2c41835a871ecd7b441cd650cab3fefa88cf5 (diff)
libcamera: v4l2_device: Move start of frame detection to V4L2Device
The V4L2_EVENT_FRAME_SYNC event may occur on both V4L2 video-devices (V4L2VideoDevice) and sub-devices (V4L2Subdevice). Move the start of frame detection to the common base class of the two, V4L2Device. There is no functional change. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'include/libcamera/internal/v4l2_videodevice.h')
-rw-r--r--include/libcamera/internal/v4l2_videodevice.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h
index dcb9654a..661503d1 100644
--- a/include/libcamera/internal/v4l2_videodevice.h
+++ b/include/libcamera/internal/v4l2_videodevice.h
@@ -207,9 +207,6 @@ public:
int queueBuffer(FrameBuffer *buffer);
Signal<FrameBuffer *> bufferReady;
- int setFrameStartEnabled(bool enable);
- Signal<uint32_t> frameStart;
-
int streamOn();
int streamOff();
@@ -243,8 +240,6 @@ private:
void bufferAvailable(EventNotifier *notifier);
FrameBuffer *dequeueBuffer();
- void eventAvailable(EventNotifier *notifier);
-
V4L2Capability caps_;
enum v4l2_buf_type bufferType_;
@@ -254,9 +249,6 @@ private:
std::map<unsigned int, FrameBuffer *> queuedBuffers_;
EventNotifier *fdBufferNotifier_;
- EventNotifier *fdEventNotifier_;
-
- bool frameStartEnabled_;
};
class V4L2M2MDevice