Export (0) Print
Expand All

IMediaObject interface

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

Members

The IMediaObject interface inherits from the IUnknown interface. IMediaObject also has these types of members:

Methods

The IMediaObject interface has these methods.

MethodDescription
AllocateStreamingResources

Allocates any resources needed by the DMO.

Discontinuity

Signals a discontinuity on the specified input stream.

Flush

Flushes all internally buffered data.

FreeStreamingResources

Frees resources allocated by the DMO.

GetInputCurrentType

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

GetInputMaxLatency

Retrieves the maximum latency on a specified input stream.

GetInputSizeInfo

Retrieves the buffer requirements for a specified input stream.

GetInputStatus

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

GetInputStreamInfo

Retrieves information about a specified input stream.

GetInputType

Retrieves a preferred media type for a specified input stream.

GetOutputCurrentType

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

GetOutputSizeInfo

Retrieves the buffer requirements for a specified output stream.

GetOutputStreamInfo

Retrieves information about a specified output stream.

GetOutputType

Retrieves a preferred media type for a specified output stream.

GetStreamCount

Retrieves the number of input and output streams.

Lock

Acquires or releases a lock on the DMO.

ProcessInput

Delivers a buffer to the specified input stream.

ProcessOutput

Generates output from the current input data.

SetInputMaxLatency

Sets the maximum latency on a specified input 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.

 

Requirements

Header

Mediaobj.h (include Dmo.h)

Library

Dmoguids.lib

 

 

Community Additions

ADD
Show:
© 2014 Microsoft