Operating systems, development tools, and professional services
for connected embedded systems

MmAcquireInputChannel

MmAcquireInputChannel()

Acquire a multimedia input channel

Synopsis:

MmChannel_t *MmAcquireInputChannel(MmFilter_t *filter,
                                   int32_t mtype);

Arguments:

filter
A pointer to the filter you want to acquire an input channel for.
mtype
The media type of the input channel you want to acquire. Can be one of:
  • MEDIA_TYPE_IMAGE
  • MEDIA_TYPE_VIDEO
  • MEDIA_TYPE_AUDIO
  • MEDIA_TYPE_TEXT
  • MEDIA_TYPE_UNKNOWN

You can OR These flags with MEDIA_TYPE_COMPRESSED if the data is compressed.

Library:

mmedia

Description:

This function acquires an input channel from filter of the media type mtype. This function returns NULL if it can't acquire an input channel.

Returns:

A pointer to a new channel (an MmChannel_t) if successful, NULL if not.

Classification:

Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

MmAcquireOutputChannel(), MmAttachChannels(), MmChannel_t, MmReleaseChannel()