Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193048
b: refs/heads/master
c: 1bcaf4b
h: refs/heads/master
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed May 19, 2010
1 parent bd2d5f1 commit 65e3669
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dd96608369be9d3cfc604eaa3a53a2d38f1cb415
refs/heads/master: 1bcaf4bd53872e70c4fceec6bbb76044325f337f
15 changes: 12 additions & 3 deletions trunk/include/linux/videodev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -1640,9 +1640,21 @@ struct v4l2_streamparm {
* E V E N T S
*/

#define V4L2_EVENT_ALL 0
#define V4L2_EVENT_VSYNC 1
#define V4L2_EVENT_EOS 2
#define V4L2_EVENT_PRIVATE_START 0x08000000

/* Payload for V4L2_EVENT_VSYNC */
struct v4l2_event_vsync {
/* Can be V4L2_FIELD_ANY, _NONE, _TOP or _BOTTOM */
__u8 field;
} __attribute__ ((packed));

struct v4l2_event {
__u32 type;
union {
struct v4l2_event_vsync vsync;
__u8 data[64];
} u;
__u32 pending;
Expand All @@ -1656,9 +1668,6 @@ struct v4l2_event_subscription {
__u32 reserved[7];
};

#define V4L2_EVENT_ALL 0
#define V4L2_EVENT_PRIVATE_START 0x08000000

/*
* A D V A N C E D D E B U G G I N G
*
Expand Down

0 comments on commit 65e3669

Please sign in to comment.