1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
10
TITLE="Mediastreamer Reference Guide"
11
HREF="book1.html"><LINK
14
HREF="coreapi.html"><LINK
17
HREF="mediastreamer-mssync.html"><LINK
19
TITLE="MSFilter implementations"
20
HREF="msfilterimplementations.html"><STYLE
22
>.synopsis, .classsynopsis {
24
border: solid 1px #aaaaaa;
29
border: solid 1px #aaaaff;
38
border: solid 1px #ffaaaa;
45
.navigation a:visited {
62
SUMMARY="Navigation header"
70
HREF="mediastreamer-mssync.html"
103
>Mediastreamer Reference Guide</TH
107
HREF="msfilterimplementations.html"
119
NAME="MEDIASTREAMER-FILTERS"
129
>MSFilters -- The basic mediastreamer element.</DIV
131
CLASS="REFSYNOPSISDIV"
139
> #include <msfilter.h>
143
HREF="mediastreamer-filters.html#MSFILTER"
147
HREF="mediastreamer-filters.html#MS-FILTER-ADD-LINK"
148
>ms_filter_add_link</A
150
HREF="mediastreamer-filters.html#MSFILTER"
154
HREF="mediastreamer-filters.html#MSFILTER"
166
>MSFilter is the base class for all mediastreamer processing filters: codec compression, soundcard read, souncard write, etc...
167
MSFilter objects have to be linked between them to form a processing chain, that is then attached to a MSSync object (synchronisation source)
168
in order to be scheduled for processing.</P
188
CLASS="PROGRAMLISTING"
191
struct _MSFilterClass *klass;
193
guchar finputs; /* number of connected fifo inputs*/
194
guchar foutputs; /* number of connected fifo outputs*/
195
guchar qinputs; /* number of connected queue inputs*/
196
guchar qoutputs; /* number of connected queue outputs*/
197
gint min_fifo_size; /* set when linking*/
198
gint r_mingran; /* read minimum granularity (for fifos).
199
It can be zero so that the filter can accept any size of reading data*/
200
MSFifo **infifos; /*pointer to a table of pointer to input fifos*/
201
MSFifo **outfifos; /*pointer to a table of pointer to output fifos*/
202
MSQueue **inqueues; /*pointer to a table of pointer to input queues*/
203
MSQueue **outqueues; /*pointer to a table of pointer to output queues*/
204
MSFilterNotifyFunc notify_event;
208
>Only programmers implementing derivated objects of MSFilter are interested by the content of the structure.</P
223
STYLE="white-space: nowrap"
224
>struct _MSFilterClass *<CODE
233
>Pointer to the class structure.</P
242
STYLE="white-space: nowrap"
261
STYLE="white-space: nowrap"
271
> Number of fifo inputs currently in use.</P
280
STYLE="white-space: nowrap"
290
> Number of fifo outputs currently in use.</P
299
STYLE="white-space: nowrap"
309
> Number of queue inputs currently in use.</P
318
STYLE="white-space: nowrap"
328
> Number of queue outputs currently in use.</P
337
STYLE="white-space: nowrap"
356
STYLE="white-space: nowrap"
375
STYLE="white-space: nowrap"
385
> Pointer to a table of fifo inputs</P
394
STYLE="white-space: nowrap"
404
> Pointer to a table of ffo ouputs</P
413
STYLE="white-space: nowrap"
423
> Pointer to a table of queue inputs</P
432
STYLE="white-space: nowrap"
442
>Pointer to a table of queue qoutputs</P
451
STYLE="white-space: nowrap"
452
>MSFilterNotifyFunc <CODE
470
STYLE="white-space: nowrap"
493
NAME="MS-FILTER-ADD-LINK"
495
>ms_filter_add_link ()</H3
497
CLASS="PROGRAMLISTING"
498
>int ms_filter_add_link (<A
499
HREF="mediastreamer-filters.html#MSFILTER"
503
HREF="mediastreamer-filters.html#MSFILTER"
522
STYLE="white-space: nowrap"
541
STYLE="white-space: nowrap"
560
STYLE="white-space: nowrap"
583
SUMMARY="Navigation footer"
592
HREF="mediastreamer-mssync.html"
594
><<< MSSync</B
601
HREF="msfilterimplementations.html"
603
>MSFilter implementations >>></B
b'\\ No newline at end of file'