Share via


IVMRFilterConfig Interface

 
Microsoft DirectShow 9.0

IVMRFilterConfig Interface

The IVMRFilterConfig interface is used to configure the operating mode and video rendering mechanisms of the Video Mixing Renderer Filter 7 (VMR-7). For the VMR-9, use the IVMRFilterConfig9 interface.

Applications must add the VMR to the graph and configure it before connecting it to any upstream filters (for example, in a call to IGraphBuilder::RenderFile). Once a filter has been connected to the VMR, the VMR's configuration is locked and all future attempts to alter it fail.

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

Method Description
GetNumberOfStreams Retrieves the number of input streams being mixed.
GetRenderingMode Retrieves the rendering mode currently being used by the VMR.
GetRenderingPrefs Retrieves the current set of rendering preferences being used by the VMR.
SetImageCompositor Installs an application-provided image compositor object.
SetNumberOfStreams Sets the number of streams to be mixed and instructs the VMR to go into mixer mode.
SetRenderingMode Sets the rendering mode used by the VMR.
SetRenderingPrefs Sets various application preferences related to video rendering.

Requirements

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

Library: Use Strmiids.lib.