IMediaObjectInPlace (Windows Embedded CE 6.0)

1/6/2010

This interface provides methods for processing data in place.

The following table shows the methods for IMediaObjectInPlace in the order the compiler calls them.

Method Description

Process

Processes a block of data.

Clone

Creates a copy of the DMO in its current state.

GetLatency

Retrieves the latency introduced by this DMO.

The IMediaObjectInPlace interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

Remarks

A DirectX DMO can expose this interface if it meets the following conditions:

  • It has one input stream and one output stream.
  • Both streams use the same media type.
  • The output is produced in place on the buffer; that is, without copying data.

This interface provides an optimized way to process data. The application calls a single IMediaObjectInPlace::Process method instead of the IMediaObject::ProcessInput and IMediaObject::ProcessOutput methods.

Any DMO that implements this interface must also implement the IMediaObject interface. Therefore, an application is never obligated to use this interface, and a DMO is never guaranteed to implement it.

Requirements

Header dmo.h
Library Dmoguid.lib
Windows Embedded CE Windows CE .NET 4.1 and later

See Also

Concepts

DMO Interfaces