MSFilters
Name
MSFilters -- The basic mediastreamer element.
Description
MSFilter is the base class for all mediastreamer processing filters: codec compression, soundcard read, souncard write, etc...
MSFilter objects have to be linked between them to form a processing chain, that is then attached to a MSSync object (synchronisation source)
in order to be scheduled for processing.
Details
struct MSFilter
struct MSFilter
{
struct _MSFilterClass *klass;
GMutex *lock;
guchar finputs; /* number of connected fifo inputs*/
guchar foutputs; /* number of connected fifo outputs*/
guchar qinputs; /* number of connected queue inputs*/
guchar qoutputs; /* number of connected queue outputs*/
gint min_fifo_size; /* set when linking*/
gint r_mingran; /* read minimum granularity (for fifos).
It can be zero so that the filter can accept any size of reading data*/
MSFifo **infifos; /*pointer to a table of pointer to input fifos*/
MSFifo **outfifos; /*pointer to a table of pointer to output fifos*/
MSQueue **inqueues; /*pointer to a table of pointer to input queues*/
MSQueue **outqueues; /*pointer to a table of pointer to output queues*/
}; |
Only programmers implementing derivated objects of MSFilter are interested by the content of the structure.