Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

A DMO is an object that takes minputs and produces noutputs.

The inputs and outputs are called streams. Every DMO has at least one stream.

It is possible for a DMO to have no input streams or no output streams, but a typical DMO has both inputs and outputs.

Note:
Unlike pins in DirectShow, streams are not distinct COM objects. They are referenced on the DMO object itself, using a zero-based index.

A DMO receives data through its input streams. It processes the data and produces output through its output streams. All data is typed using a media type, which defines how to interpret the contents of the data.

For example, 320 x 240 24-bit RGB video is one type and 44.1-kilohertz (kHz) 16-bit stereo PCM audio is another type. Media types are described using the DMO_MEDIA_TYPEstructure.

Each stream on a DMO can accept a certain range of media types. Depending on the DMO, it might accept a wide range of types (video at any bit depth) or a narrow range (only 16-bit video). Also, a DMO might be limited to certain combinations of inputs and outputs.

For example, if an input stream is set to 16-bit video, an output stream might require the same bit depth. The application can enumerate each stream's preferred types and then test specific combinations.

The following list shows two situations in which the DMO is limited to certain combinations of inputs and outputs:

  • A DMO that creates AVI data might have two input streams, one for video and one for audio. It would produce one output stream for the interleaved audio-video data.

  • A DMO that posterizes RGB images might have 24-bit RGB video input and 8-bit RGB video output.

The application delivers input data grouped in blocks of memory.

Each block of memory is encapsulated by a COM object called a bufferthat supports the IMediaBufferinterface.

This interface contains methods for setting the length of the data in the buffer, retrieving a pointer to the data, and retrieving the allocated size of the buffer. The application is responsible for allocating all buffers used by the DMO, both input and output.

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.