Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

MmFilter_t

Filter structure

Synopsis:

See below.

Description:

This structure defines an instance of a filter returned from a call to an Addon's AODeConstructor->Create() function. The filter instance is stored as a MmFilter_t structure, whose first element is a MmElement_t structure, for easy identification.

This structure has at least the following members:

MmElement_t element
The element type (MM_ELEMENT_FILTER) and unique ID of the filter.
MmChannel_t *ichannels
The input channels for this filter.
MmFilterUser_t *user
Variables specific to this filter. You define MmFilterUser_t.
MmChannel_t *ochannels
The output channels for this filter.
const AOICtrl_t *interfaces
Interfaces for this filter.
MmGraph_t *graph
The graph that contains this filter.

Classification:

Neutrino

See also:

MmAcquireInputChannel(), MmAcquireOutputChannel(), MmChannel_t, MmDestroyFilter(), MmFindChannelsFilter(), MmFindFilter(), MmFindMediaReader(), MmFindMimetypesFilter(), MmPrintGraph()

AODeConstructor, MediaClock, MediaControl, MediaInput, MediaOutput, MediaReader, MediaWriter.

The Extending the Multimedia Framework chapter.