summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/dvb/video-get-event.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-31 16:34:07 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-09 09:53:35 -0300
commit848d10314bfe1be79f5ca4deb3d2bf81f6adcf38 (patch)
tree33189215f3a20c384e06e0d9f97effd043086a0a /Documentation/media/uapi/dvb/video-get-event.rst
parent189d7243d24ae8673c84be022808522d9df5cc40 (diff)
[media] fix broken references on dvb/video*rst
Trivially fix those broken references, by copying the structs fron the header, just like other API documentation at the DVB side. This doesn't have the level of quality used at the V4L2 side of the API, but, as this documents a deprecated API, used only by av7110 driver, it doesn't make much sense to invest time making it better. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/dvb/video-get-event.rst')
-rw-r--r--Documentation/media/uapi/dvb/video-get-event.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/media/uapi/dvb/video-get-event.rst b/Documentation/media/uapi/dvb/video-get-event.rst
index 8c0c622c380b..6ad14cdb894a 100644
--- a/Documentation/media/uapi/dvb/video-get-event.rst
+++ b/Documentation/media/uapi/dvb/video-get-event.rst
@@ -64,6 +64,23 @@ included in the exceptfds argument, and for poll(), POLLPRI should be
specified as the wake-up condition. Read-only permissions are sufficient
for this ioctl call.
+.. c:type:: video_event
+
+.. code-block:: c
+
+ struct video_event {
+ __s32 type;
+ #define VIDEO_EVENT_SIZE_CHANGED 1
+ #define VIDEO_EVENT_FRAME_RATE_CHANGED 2
+ #define VIDEO_EVENT_DECODER_STOPPED 3
+ #define VIDEO_EVENT_VSYNC 4
+ __kernel_time_t timestamp;
+ union {
+ video_size_t size;
+ unsigned int frame_rate; /* in frames per 1000sec */
+ unsigned char vsync_field; /* unknown/odd/even/progressive */
+ } u;
+ };
Return Value
------------