1<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>struct dmx_ts_feed</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="Linux Device Drivers"><link rel="up" href="ch06s02.html" title="Digital TV (DVB) devices"><link rel="prev" href="API-enum-ts-filter-type.html" title="enum ts_filter_type"><link rel="next" href="API-struct-dmx-section-filter.html" title="struct dmx_section_filter"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct dmx_ts_feed</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-enum-ts-filter-type.html">Prev</a> </td><th width="60%" align="center">Digital TV (DVB) devices</th><td width="20%" align="right"> <a accesskey="n" href="API-struct-dmx-section-filter.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-dmx-ts-feed"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct dmx_ts_feed — 
2     Structure that contains a TS feed filter
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct dmx_ts_feed {
5  int is_filtering;
6  struct dmx_demux * parent;
7  void * priv;
8  int (* set) (struct dmx_ts_feed *feed,u16 pid,int type,enum dmx_ts_pes pes_type,size_t circular_buffer_size,struct timespec timeout);
9  int (* start_filtering) (struct dmx_ts_feed *feed);
10  int (* stop_filtering) (struct dmx_ts_feed *feed);
11};  </pre></div><div class="refsect1"><a name="id-1.8.3.35.5"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">is_filtering</span></dt><dd><p>
12   Set to non-zero when filtering in progress
13      </p></dd><dt><span class="term">parent</span></dt><dd><p>
14   pointer to struct dmx_demux
15      </p></dd><dt><span class="term">priv</span></dt><dd><p>
16   pointer to private data of the API client
17      </p></dd><dt><span class="term">set</span></dt><dd><p>
18   sets the TS filter
19      </p></dd><dt><span class="term">start_filtering</span></dt><dd><p>
20   starts TS filtering
21      </p></dd><dt><span class="term">stop_filtering</span></dt><dd><p>
22   stops TS filtering
23      </p></dd></dl></div></div><div class="refsect1"><a name="id-1.8.3.35.6"></a><h2>Description</h2><p>
24   A TS feed is typically mapped to a hardware PID filter on the demux chip.
25   Using this API, the client can set the filtering properties to start/stop
26   filtering TS packets on a particular TS feed.
27</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-enum-ts-filter-type.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch06s02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="API-struct-dmx-section-filter.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">enum ts_filter_type</span> </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> <span class="phrase">struct dmx_section_filter</span></td></tr></table></div></body></html>
28