|
@@ -2006,6 +2006,7 @@ struct v4l2_streamparm {
|
|
#define V4L2_EVENT_VSYNC 1
|
|
#define V4L2_EVENT_VSYNC 1
|
|
#define V4L2_EVENT_EOS 2
|
|
#define V4L2_EVENT_EOS 2
|
|
#define V4L2_EVENT_CTRL 3
|
|
#define V4L2_EVENT_CTRL 3
|
|
|
|
+#define V4L2_EVENT_FRAME_SYNC 4
|
|
#define V4L2_EVENT_PRIVATE_START 0x08000000
|
|
#define V4L2_EVENT_PRIVATE_START 0x08000000
|
|
|
|
|
|
/* Payload for V4L2_EVENT_VSYNC */
|
|
/* Payload for V4L2_EVENT_VSYNC */
|
|
@@ -2032,12 +2033,17 @@ struct v4l2_event_ctrl {
|
|
__s32 default_value;
|
|
__s32 default_value;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+struct v4l2_event_frame_sync {
|
|
|
|
+ __u32 frame_sequence;
|
|
|
|
+};
|
|
|
|
+
|
|
struct v4l2_event {
|
|
struct v4l2_event {
|
|
__u32 type;
|
|
__u32 type;
|
|
union {
|
|
union {
|
|
- struct v4l2_event_vsync vsync;
|
|
|
|
- struct v4l2_event_ctrl ctrl;
|
|
|
|
- __u8 data[64];
|
|
|
|
|
|
+ struct v4l2_event_vsync vsync;
|
|
|
|
+ struct v4l2_event_ctrl ctrl;
|
|
|
|
+ struct v4l2_event_frame_sync frame_sync;
|
|
|
|
+ __u8 data[64];
|
|
} u;
|
|
} u;
|
|
__u32 pending;
|
|
__u32 pending;
|
|
__u32 sequence;
|
|
__u32 sequence;
|