共用方式為


IVMRImageCompositor Interface

 
Microsoft DirectShow 9.0

IVMRImageCompositor Interface

The IVMRImageCompositor interface is implemented by the default compositor for the Video Mixing Renderer Filter 7 (VMR-7). It must also be implemented by any plug-in compositor that an application provides for the VMR-7.  The VMR-7 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.

For the VMR-9, use the IVMRImageCompositor9 interface.

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

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

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.