Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261293
b: refs/heads/master
c: 84b01c1
h: refs/heads/master
i:
  261291: 469fbf2
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 1d2c7d1 commit c5e4bcb
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 3 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: dc05e571725a5a609a29bd84bd020263728ed5e4
refs/heads/master: 84b01c1633497e748d98ca0d100faaca13579148
47 changes: 45 additions & 2 deletions trunk/Documentation/DocBook/media/dvb/video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ stream.
</para>
</section>

<section id="video-display-format-t">
<title>video_display_format_t</title>
<section id="video-displayformat-t">
<title>video_displayformat_t</title>
<para>In case the display format of the video stream and of the display hardware differ the
application has to specify how to handle the cropping of the picture. This can be done using
the VIDEO_SET_DISPLAY_FORMAT call (??) which accepts
Expand Down Expand Up @@ -89,6 +89,49 @@ typedef enum {
</programlisting>
</section>

<section id="video-command">
<para>The structure must be zeroed before use by the application
This ensures it can be extended safely in the future.</para>
<title>struct video-command</title>
<programlisting>
struct video_command {
__u32 cmd;
__u32 flags;
union {
struct {
__u64 pts;
} stop;

struct {
/&#x22C6; 0 or 1000 specifies normal speed,
1 specifies forward single stepping,
-1 specifies backward single stepping,
&gt;>1: playback at speed/1000 of the normal speed,
&lt;-1: reverse playback at (-speed/1000) of the normal speed. &#x22C6;/
__s32 speed;
__u32 format;
} play;

struct {
__u32 data[16];
} raw;
};
};
</programlisting>
</section>

<section id="video-size-t">
<title>struct video_size-t</title>
<programlisting>
typedef struct {
int w;
int h;
video_format_t aspect_ratio;
} video_size_t;
</programlisting>
</section>


<section id="video-event">
<title>struct video_event</title>
<para>The following is the structure of a video event as it is returned by the VIDEO_GET_EVENT
Expand Down

0 comments on commit c5e4bcb

Please sign in to comment.