From 7be89c74c77b5e093b95a7683e579dbc6edd8c93 Mon Sep 17 00:00:00 2001 From: Hans Verkuil Date: Sat, 27 Mar 2010 14:10:57 -0300 Subject: [PATCH] --- yaml --- r: 193051 b: refs/heads/master c: 0e1de38db83606d802cf2b3e00cf95fc693b8ca2 h: refs/heads/master i: 193049: 47d970c314e0bdc26c758772895596d5273661a4 193047: bd2d5f17914ed652e7b5c92aab88a9f342815813 v: v3 --- [refs] | 2 +- .../Documentation/DocBook/media-entities.tmpl | 2 ++ .../DocBook/v4l/vidioc-dqevent.xml | 9 +++++- .../DocBook/v4l/vidioc-subscribe-event.xml | 29 +++++++++++++++++++ 4 files changed, 40 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 2bd3f7066a8e..284e039e61c4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 37089368c1b1bea3c71217163e6d5d3b01ef1f19 +refs/heads/master: 0e1de38db83606d802cf2b3e00cf95fc693b8ca2 diff --git a/trunk/Documentation/DocBook/media-entities.tmpl b/trunk/Documentation/DocBook/media-entities.tmpl index 770be3c3ba75..5d4d40f429a5 100644 --- a/trunk/Documentation/DocBook/media-entities.tmpl +++ b/trunk/Documentation/DocBook/media-entities.tmpl @@ -85,6 +85,7 @@ VIDIOC_TRY_ENCODER_CMD"> VIDIOC_TRY_EXT_CTRLS"> VIDIOC_TRY_FMT"> +VIDIOC_UNSUBSCRIBE_EVENT"> v4l2_std_id"> @@ -145,6 +146,7 @@ v4l2_encoder_cmd"> v4l2_event"> v4l2_event_subscription"> +v4l2_event_vsync"> v4l2_ext_control"> v4l2_ext_controls"> v4l2_fmtdesc"> diff --git a/trunk/Documentation/DocBook/v4l/vidioc-dqevent.xml b/trunk/Documentation/DocBook/v4l/vidioc-dqevent.xml index eb45c1695d8c..4e0a7cc30812 100644 --- a/trunk/Documentation/DocBook/v4l/vidioc-dqevent.xml +++ b/trunk/Documentation/DocBook/v4l/vidioc-dqevent.xml @@ -72,6 +72,13 @@ + + + &v4l2-event-vsync; + vsync + Event data for event V4L2_EVENT_VSYNC. + + __u8 @@ -97,7 +104,7 @@ - struct timeval + struct timespec timestamp Event timestamp. diff --git a/trunk/Documentation/DocBook/v4l/vidioc-subscribe-event.xml b/trunk/Documentation/DocBook/v4l/vidioc-subscribe-event.xml index 71ab88cb76b3..8b501791aa68 100644 --- a/trunk/Documentation/DocBook/v4l/vidioc-subscribe-event.xml +++ b/trunk/Documentation/DocBook/v4l/vidioc-subscribe-event.xml @@ -84,6 +84,21 @@ VIDIOC_UNSUBSCRIBE_EVENT for unsubscribing all events at once. + + V4L2_EVENT_VSYNC + 1 + This event is triggered on the vertical sync. + This event has &v4l2-event-vsync; associated with it. + + + + V4L2_EVENT_EOS + 2 + This event is triggered when the end of a stream is reached. + This is typically used with MPEG decoders to report to the application + when the last of the MPEG stream has been decoded. + + V4L2_EVENT_PRIVATE_START 0x08000000 @@ -93,6 +108,20 @@ + + struct <structname>v4l2_event_vsync</structname> + + &cs-str; + + + __u8 + field + The upcoming field. See &v4l2-field;. + + + +
+