Commit c28f53f6 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] DocBook/dvb: Use generic descriptions for the video API

While here, removes the bogus EINTERNAL error codes.
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 66b30b5d
...@@ -593,22 +593,6 @@ role="subsection"><title>VIDEO_STOP</title> ...@@ -593,22 +593,6 @@ role="subsection"><title>VIDEO_STOP</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_PLAY" </section><section id="VIDEO_PLAY"
role="subsection"><title>VIDEO_PLAY</title> role="subsection"><title>VIDEO_PLAY</title>
...@@ -645,22 +629,6 @@ role="subsection"><title>VIDEO_PLAY</title> ...@@ -645,22 +629,6 @@ role="subsection"><title>VIDEO_PLAY</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_FREEZE" </section><section id="VIDEO_FREEZE"
role="subsection"><title>VIDEO_FREEZE</title> role="subsection"><title>VIDEO_FREEZE</title>
...@@ -701,22 +669,6 @@ role="subsection"><title>VIDEO_FREEZE</title> ...@@ -701,22 +669,6 @@ role="subsection"><title>VIDEO_FREEZE</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_CONTINUE" </section><section id="VIDEO_CONTINUE"
role="subsection"><title>VIDEO_CONTINUE</title> role="subsection"><title>VIDEO_CONTINUE</title>
...@@ -753,22 +705,6 @@ role="subsection"><title>VIDEO_CONTINUE</title> ...@@ -753,22 +705,6 @@ role="subsection"><title>VIDEO_CONTINUE</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SELECT_SOURCE" </section><section id="VIDEO_SELECT_SOURCE"
role="subsection"><title>VIDEO_SELECT_SOURCE</title> role="subsection"><title>VIDEO_SELECT_SOURCE</title>
...@@ -815,22 +751,6 @@ role="subsection"><title>VIDEO_SELECT_SOURCE</title> ...@@ -815,22 +751,6 @@ role="subsection"><title>VIDEO_SELECT_SOURCE</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SET_BLANK" </section><section id="VIDEO_SET_BLANK"
role="subsection"><title>VIDEO_SET_BLANK</title> role="subsection"><title>VIDEO_SET_BLANK</title>
...@@ -880,29 +800,6 @@ role="subsection"><title>VIDEO_SET_BLANK</title> ...@@ -880,29 +800,6 @@ role="subsection"><title>VIDEO_SET_BLANK</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>Illegal input parameter</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_GET_STATUS" </section><section id="VIDEO_GET_STATUS"
role="subsection"><title>VIDEO_GET_STATUS</title> role="subsection"><title>VIDEO_GET_STATUS</title>
...@@ -947,29 +844,6 @@ role="subsection"><title>VIDEO_GET_STATUS</title> ...@@ -947,29 +844,6 @@ role="subsection"><title>VIDEO_GET_STATUS</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error, possibly in the communication with the
DVB subsystem.</para>
</entry>
</row><row><entry
align="char">
<para>EFAULT</para>
</entry><entry
align="char">
<para>status points to invalid address</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_GET_EVENT" </section><section id="VIDEO_GET_EVENT"
role="subsection"><title>VIDEO_GET_EVENT</title> role="subsection"><title>VIDEO_GET_EVENT</title>
...@@ -1025,20 +899,6 @@ role="subsection"><title>VIDEO_GET_EVENT</title> ...@@ -1025,20 +899,6 @@ role="subsection"><title>VIDEO_GET_EVENT</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EFAULT</para>
</entry><entry
align="char">
<para>ev points to invalid address</para>
</entry>
</row><row><entry
align="char">
<para>EWOULDBLOCK</para> <para>EWOULDBLOCK</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1048,11 +908,6 @@ role="subsection"><title>VIDEO_GET_EVENT</title> ...@@ -1048,11 +908,6 @@ role="subsection"><title>VIDEO_GET_EVENT</title>
</row><row><entry </row><row><entry
align="char"> align="char">
<para>EOVERFLOW</para> <para>EOVERFLOW</para>
</entry><entry
align="char">
</entry>
</row><row><entry
align="char">
</entry><entry </entry><entry
align="char"> align="char">
<para>Overflow in event queue - one or more events were lost.</para> <para>Overflow in event queue - one or more events were lost.</para>
...@@ -1105,28 +960,6 @@ role="subsection"><title>VIDEO_SET_DISPLAY_FORMAT</title> ...@@ -1105,28 +960,6 @@ role="subsection"><title>VIDEO_SET_DISPLAY_FORMAT</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>Illegal parameter format.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_STILLPICTURE" </section><section id="VIDEO_STILLPICTURE"
role="subsection"><title>VIDEO_STILLPICTURE</title> role="subsection"><title>VIDEO_STILLPICTURE</title>
...@@ -1174,28 +1007,6 @@ role="subsection"><title>VIDEO_STILLPICTURE</title> ...@@ -1174,28 +1007,6 @@ role="subsection"><title>VIDEO_STILLPICTURE</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error.</para>
</entry>
</row><row><entry
align="char">
<para>EFAULT</para>
</entry><entry
align="char">
<para>sp points to an invalid iframe.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_FAST_FORWARD" </section><section id="VIDEO_FAST_FORWARD"
role="subsection"><title>VIDEO_FAST_FORWARD</title> role="subsection"><title>VIDEO_FAST_FORWARD</title>
...@@ -1242,31 +1053,10 @@ role="subsection"><title>VIDEO_FAST_FORWARD</title> ...@@ -1242,31 +1053,10 @@ role="subsection"><title>VIDEO_FAST_FORWARD</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error.</para>
</entry>
</row><row><entry
align="char">
<para>EPERM</para> <para>EPERM</para>
</entry><entry </entry><entry
align="char"> align="char">
<para>Mode VIDEO_SOURCE_MEMORY not selected.</para> <para>Mode VIDEO_SOURCE_MEMORY not selected.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>Illegal parameter format.</para>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
...@@ -1315,31 +1105,10 @@ role="subsection"><title>VIDEO_SLOWMOTION</title> ...@@ -1315,31 +1105,10 @@ role="subsection"><title>VIDEO_SLOWMOTION</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error.</para>
</entry>
</row><row><entry
align="char">
<para>EPERM</para> <para>EPERM</para>
</entry><entry </entry><entry
align="char"> align="char">
<para>Mode VIDEO_SOURCE_MEMORY not selected.</para> <para>Mode VIDEO_SOURCE_MEMORY not selected.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>Illegal parameter format.</para>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
...@@ -1388,21 +1157,6 @@ role="subsection"><title>VIDEO_GET_CAPABILITIES</title> ...@@ -1388,21 +1157,6 @@ role="subsection"><title>VIDEO_GET_CAPABILITIES</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EFAULT</para>
</entry><entry
align="char">
<para>cap points to an invalid iframe.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SET_ID" </section><section id="VIDEO_SET_ID"
role="subsection"><title>VIDEO_SET_ID</title> role="subsection"><title>VIDEO_SET_ID</title>
...@@ -1449,20 +1203,6 @@ role="subsection"><title>VIDEO_SET_ID</title> ...@@ -1449,20 +1203,6 @@ role="subsection"><title>VIDEO_SET_ID</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor.</para>
</entry>
</row><row><entry
align="char">
<para>EINTERNAL</para>
</entry><entry
align="char">
<para>Internal error.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1504,14 +1244,6 @@ role="subsection"><title>VIDEO_CLEAR_BUFFER</title> ...@@ -1504,14 +1244,6 @@ role="subsection"><title>VIDEO_CLEAR_BUFFER</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SET_STREAMTYPE" </section><section id="VIDEO_SET_STREAMTYPE"
role="subsection"><title>VIDEO_SET_STREAMTYPE</title> role="subsection"><title>VIDEO_SET_STREAMTYPE</title>
...@@ -1557,21 +1289,6 @@ role="subsection"><title>VIDEO_SET_STREAMTYPE</title> ...@@ -1557,21 +1289,6 @@ role="subsection"><title>VIDEO_SET_STREAMTYPE</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>type is not a valid or supported stream type.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SET_FORMAT" </section><section id="VIDEO_SET_FORMAT"
role="subsection"><title>VIDEO_SET_FORMAT</title> role="subsection"><title>VIDEO_SET_FORMAT</title>
...@@ -1619,13 +1336,6 @@ role="subsection"><title>VIDEO_SET_FORMAT</title> ...@@ -1619,13 +1336,6 @@ role="subsection"><title>VIDEO_SET_FORMAT</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1680,13 +1390,6 @@ role="subsection"><title>VIDEO_SET_SYSTEM</title> ...@@ -1680,13 +1390,6 @@ role="subsection"><title>VIDEO_SET_SYSTEM</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1737,21 +1440,6 @@ role="subsection"><title>VIDEO_SET_HIGHLIGHT</title> ...@@ -1737,21 +1440,6 @@ role="subsection"><title>VIDEO_SET_HIGHLIGHT</title>
</entry> </entry>
</row></tbody></tgroup></informaltable> </row></tbody></tgroup></informaltable>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry
align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor.</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para>
</entry><entry
align="char">
<para>input is not a valid highlight setting.</para>
</entry>
</row></tbody></tgroup></informaltable>
</section><section id="VIDEO_SET_SPU" </section><section id="VIDEO_SET_SPU"
role="subsection"><title>VIDEO_SET_SPU</title> role="subsection"><title>VIDEO_SET_SPU</title>
...@@ -1799,13 +1487,6 @@ role="subsection"><title>VIDEO_SET_SPU</title> ...@@ -1799,13 +1487,6 @@ role="subsection"><title>VIDEO_SET_SPU</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1859,13 +1540,6 @@ role="subsection"><title>VIDEO_SET_SPU_PALETTE</title> ...@@ -1859,13 +1540,6 @@ role="subsection"><title>VIDEO_SET_SPU_PALETTE</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1920,13 +1594,6 @@ role="subsection"><title>VIDEO_GET_NAVI</title> ...@@ -1920,13 +1594,6 @@ role="subsection"><title>VIDEO_GET_NAVI</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EFAULT</para> <para>EFAULT</para>
</entry><entry </entry><entry
align="char"> align="char">
...@@ -1981,13 +1648,6 @@ role="subsection"><title>VIDEO_SET_ATTRIBUTES</title> ...@@ -1981,13 +1648,6 @@ role="subsection"><title>VIDEO_SET_ATTRIBUTES</title>
&return-value-dvb; &return-value-dvb;
<informaltable><tgroup cols="2"><tbody><row><entry <informaltable><tgroup cols="2"><tbody><row><entry
align="char"> align="char">
<para>EBADF</para>
</entry><entry
align="char">
<para>fd is not a valid open file descriptor</para>
</entry>
</row><row><entry
align="char">
<para>EINVAL</para> <para>EINVAL</para>
</entry><entry </entry><entry
align="char"> align="char">
......
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