Поделиться через


IMediaObject (Windows Embedded CE 6.0)

1/6/2010

This interface provides methods for manipulating a Microsoft DirectX Media Object (DMO).

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

Method Description

GetStreamCount

Retrieves the number of input and output streams.

GetInputStreamInfo

Retrieves information about a specified input stream.

GetOutputStreamInfo

Retrieves information about a specified output stream.

::GetInputType

Retrieves a preferred media type for a specified input stream.

GetOutputType

Retrieves a preferred media type for a specified output stream.

SetInputType

Sets the media type on an input stream or tests whether a particular media type is acceptable.

SetOutputType

Sets the media type on an output stream or tests whether a particular media type is acceptable.

GetInputCurrentType

Retrieves the media type that was set for an input stream, if any.

GetOutputCurrentType

Retrieves the media type that was set for an output stream, if any.

GetInputSizeInfo

Retrieves the buffer requirements for a specified input stream.

GetOutputSizeInfo

Retrieves the buffer requirements for a specified output stream.

GetInputMaxLatency

Retrieves the maximum latency on a specified input stream.

SetInputMaxLatency

Sets the maximum latency on a specified input stream.

Flush

Flushes all internally buffered data.

Discontinuity

Signals a discontinuity on the specified input stream.

AllocateStreamingResources

Allocates resources needed by the DMO.

FreeStreamingResources

Frees resources allocated by the DMO.

GetInputStatus

Queries whether a specified input stream can accept more input data.

ProcessInput

Delivers a buffer to the specified input stream.

ProcessOutput

Generates output from the current input data.

Lock

Acquires or releases a lock on the DMO.

The IMediaObject interface, like all COM interfaces, inherits the IUnknown interface methods.

The IUnknown interface supports the following three methods:

Requirements

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

See Also

Concepts

DMO Interfaces