|
@@ -11,20 +11,6 @@ DVB device driver writers. The header file for this API is named <constant>demux
|
|
<title>Kernel Demux Data Types</title>
|
|
<title>Kernel Demux Data Types</title>
|
|
|
|
|
|
|
|
|
|
-<section id="dmx_success_t">
|
|
|
|
-<title>dmx_success_t</title>
|
|
|
|
- <programlisting>
|
|
|
|
- typedef enum {
|
|
|
|
- DMX_OK = 0, /⋆ Received Ok ⋆/
|
|
|
|
- DMX_LENGTH_ERROR, /⋆ Incorrect length ⋆/
|
|
|
|
- DMX_OVERRUN_ERROR, /⋆ Receiver ring buffer overrun ⋆/
|
|
|
|
- DMX_CRC_ERROR, /⋆ Incorrect CRC ⋆/
|
|
|
|
- DMX_FRAME_ERROR, /⋆ Frame alignment error ⋆/
|
|
|
|
- DMX_FIFO_ERROR, /⋆ Receiver FIFO overrun ⋆/
|
|
|
|
- DMX_MISSED_ERROR /⋆ Receiver missed packet ⋆/
|
|
|
|
- } dmx_success_t;
|
|
|
|
-</programlisting>
|
|
|
|
-
|
|
|
|
</section>
|
|
</section>
|
|
<section id="ts_filter_types">
|
|
<section id="ts_filter_types">
|
|
<title>TS filter types</title>
|
|
<title>TS filter types</title>
|
|
@@ -143,22 +129,19 @@ should be kept identical) to the types in the demux device.
|
|
size_t buffer1_length,
|
|
size_t buffer1_length,
|
|
__u8 ⋆ buffer2,
|
|
__u8 ⋆ buffer2,
|
|
size_t buffer2_length,
|
|
size_t buffer2_length,
|
|
- dmx_ts_feed_t⋆ source,
|
|
|
|
- dmx_success_t success);
|
|
|
|
|
|
+ dmx_ts_feed_t⋆ source)
|
|
|
|
|
|
typedef int (⋆dmx_section_cb) ( __u8 ⋆ buffer1,
|
|
typedef int (⋆dmx_section_cb) ( __u8 ⋆ buffer1,
|
|
size_t buffer1_len,
|
|
size_t buffer1_len,
|
|
__u8 ⋆ buffer2,
|
|
__u8 ⋆ buffer2,
|
|
size_t buffer2_len,
|
|
size_t buffer2_len,
|
|
- dmx_section_filter_t ⋆ source,
|
|
|
|
- dmx_success_t success);
|
|
|
|
|
|
+ dmx_section_filter_t ⋆ source);
|
|
|
|
|
|
typedef int (⋆dmx_pes_cb) ( __u8 ⋆ buffer1,
|
|
typedef int (⋆dmx_pes_cb) ( __u8 ⋆ buffer1,
|
|
size_t buffer1_len,
|
|
size_t buffer1_len,
|
|
__u8 ⋆ buffer2,
|
|
__u8 ⋆ buffer2,
|
|
size_t buffer2_len,
|
|
size_t buffer2_len,
|
|
- dmx_pes_filter_t⋆ source,
|
|
|
|
- dmx_success_t success);
|
|
|
|
|
|
+ dmx_pes_filter_t⋆ source);
|
|
|
|
|
|
/⋆--------------------------------------------------------------------------⋆/
|
|
/⋆--------------------------------------------------------------------------⋆/
|
|
/⋆ DVB Front-End ⋆/
|
|
/⋆ DVB Front-End ⋆/
|
|
@@ -523,7 +506,7 @@ role="subsection"><title>dmx_ts_cb()</title>
|
|
align="char">
|
|
align="char">
|
|
<para>int dmx_ts_cb(__u8⋆ buffer1, size_t buffer1_length,
|
|
<para>int dmx_ts_cb(__u8⋆ buffer1, size_t buffer1_length,
|
|
__u8⋆ buffer2, size_t buffer2_length, dmx_ts_feed_t⋆
|
|
__u8⋆ buffer2, size_t buffer2_length, dmx_ts_feed_t⋆
|
|
- source, dmx_success_t success);</para>
|
|
|
|
|
|
+ source);</para>
|
|
</entry>
|
|
</entry>
|
|
</row></tbody></tgroup></informaltable>
|
|
</row></tbody></tgroup></informaltable>
|
|
<para>PARAMETERS
|
|
<para>PARAMETERS
|
|
@@ -563,14 +546,6 @@ role="subsection"><title>dmx_ts_cb()</title>
|
|
</entry><entry
|
|
</entry><entry
|
|
align="char">
|
|
align="char">
|
|
<para>Indicates which TS feed is the source of the callback.</para>
|
|
<para>Indicates which TS feed is the source of the callback.</para>
|
|
-</entry>
|
|
|
|
- </row><row><entry
|
|
|
|
- align="char">
|
|
|
|
-<para>dmx_success_t
|
|
|
|
- success</para>
|
|
|
|
-</entry><entry
|
|
|
|
- align="char">
|
|
|
|
-<para>Indicates if there was an error in TS reception.</para>
|
|
|
|
</entry>
|
|
</entry>
|
|
</row></tbody></tgroup></informaltable>
|
|
</row></tbody></tgroup></informaltable>
|
|
<para>RETURNS
|
|
<para>RETURNS
|
|
@@ -623,8 +598,7 @@ role="subsection"><title>dmx_section_cb()</title>
|
|
align="char">
|
|
align="char">
|
|
<para>int dmx_section_cb(__u8⋆ buffer1, size_t
|
|
<para>int dmx_section_cb(__u8⋆ buffer1, size_t
|
|
buffer1_length, __u8⋆ buffer2, size_t
|
|
buffer1_length, __u8⋆ buffer2, size_t
|
|
- buffer2_length, dmx_section_filter_t⋆ source,
|
|
|
|
- dmx_success_t success);</para>
|
|
|
|
|
|
+ buffer2_length, dmx_section_filter_t⋆ source);</para>
|
|
</entry>
|
|
</entry>
|
|
</row></tbody></tgroup></informaltable>
|
|
</row></tbody></tgroup></informaltable>
|
|
<para>PARAMETERS
|
|
<para>PARAMETERS
|
|
@@ -668,14 +642,6 @@ role="subsection"><title>dmx_section_cb()</title>
|
|
</entry><entry
|
|
</entry><entry
|
|
align="char">
|
|
align="char">
|
|
<para>Indicates the filter that triggered the callback.</para>
|
|
<para>Indicates the filter that triggered the callback.</para>
|
|
-</entry>
|
|
|
|
- </row><row><entry
|
|
|
|
- align="char">
|
|
|
|
-<para>dmx_success_t
|
|
|
|
- success</para>
|
|
|
|
-</entry><entry
|
|
|
|
- align="char">
|
|
|
|
-<para>Indicates if there was an error in section reception.</para>
|
|
|
|
</entry>
|
|
</entry>
|
|
</row></tbody></tgroup></informaltable>
|
|
</row></tbody></tgroup></informaltable>
|
|
<para>RETURNS
|
|
<para>RETURNS
|