Commit 1fb03673 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] Fix videodev.h references at the V4L DocBook

Reviewed-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 38af8786
...@@ -34,8 +34,7 @@ ...@@ -34,8 +34,7 @@
<varlistentry> <varlistentry>
<term><parameter>request</parameter></term> <term><parameter>request</parameter></term>
<listitem> <listitem>
<para>V4L2 ioctl request code as defined in the <link <para>V4L2 ioctl request code as defined in the <filename>videodev2.h</filename> header file, for example
linkend="videodev">videodev.h</link> header file, for example
VIDIOC_QUERYCAP.</para> VIDIOC_QUERYCAP.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -57,7 +56,7 @@ file descriptor. An ioctl <parameter>request</parameter> has encoded ...@@ -57,7 +56,7 @@ file descriptor. An ioctl <parameter>request</parameter> has encoded
in it whether the argument is an input, output or read/write in it whether the argument is an input, output or read/write
parameter, and the size of the argument <parameter>argp</parameter> in parameter, and the size of the argument <parameter>argp</parameter> in
bytes. Macros and defines specifying V4L2 ioctl requests are located bytes. Macros and defines specifying V4L2 ioctl requests are located
in the <link linkend="videodev">videodev.h</link> header file. in the <filename>videodev2.h</filename> header file.
Applications should use their own copy, not include the version in the Applications should use their own copy, not include the version in the
kernel sources on the system they compile on. All V4L2 ioctl requests, kernel sources on the system they compile on. All V4L2 ioctl requests,
their respective function and parameters are specified in <xref their respective function and parameters are specified in <xref
......
...@@ -142,8 +142,8 @@ leftmost pixel of the second row from the top, and so on. The last row ...@@ -142,8 +142,8 @@ leftmost pixel of the second row from the top, and so on. The last row
has just as many pad bytes after it as the other rows.</para> has just as many pad bytes after it as the other rows.</para>
<para>In V4L2 each format has an identifier which looks like <para>In V4L2 each format has an identifier which looks like
<constant>PIX_FMT_XXX</constant>, defined in the <link <constant>PIX_FMT_XXX</constant>, defined in the <filename>videodev2.h</filename>
linkend="videodev">videodev.h</link> header file. These identifiers header file. These identifiers
represent <link linkend="v4l2-fourcc">four character codes</link> represent <link linkend="v4l2-fourcc">four character codes</link>
which are also listed below, however they are not the same as those which are also listed below, however they are not the same as those
used in the Windows world.</para> used in the Windows world.</para>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment