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


IMediaTransform interface

The IMediaTransform interface is implemented by the transform and called by Windows Movie Maker. This is the main point of communication between your object and the application.

All data processing is done in the Process method. Windows Movie Maker calls the InitBufferManager method before the first data is sent, to let the object initialize any data structures it needs. Windows Movie Maker calls this method again any time the underlying device is changed.

Members

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

Methods

The IMediaTransform interface has these methods.

Method Description
get_InputCount Enables your transform to report the number of source input streams that it can handle.
get_MediaType Enables your transform to report the media type that it can handle.
InitBufferManager Passes a Direct3D device to your transform and enables your transform to perform any initialization it requires.
Process Enables your transform to process a block of data.
QueryBufferRequirements On startup, allows Windows Movie Maker to learn any special buffer requirements of the transform.

See also

Transform Interfaces