共用方式為


IVMRImageCompositor9 Interface

 
Microsoft DirectShow 9.0

IVMRImageCompositor9 Interface

The IVMRImageCompositor9 interface is implemented by the default compositor for the Video Mixing Renderer Filter 9 (VMR-9). It must also be implemented by any plug-in compositor that an application provides for the VMR-9. The VMR-9 calls the methods on this interface to inform the compositor that it should composite the incoming video frames into a single output frame. Applications do not use this interface.

In addition to the methods inherited from IUnknown, the IVMRImageCompositor9 interface exposes the following methods.

Method Description
CompositeImage Composites the current frames available in each input stream.
InitCompositionDevice Informs the compositor that a new composition target has been created.
SetStreamMediaType Sets the media type for the input stream.
TermCompositionDevice Informs the compositor that the current composition target is being replaced.

Requirements

Header: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.