Microsoft DirectX 8.1 (C++)

IVMRFilterConfig Interface

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The IVMRFilterConfig interface is implemented by the Video Mixing Renderer filter. Applications use this interface to configure the VMR's operating mode and video rendering mechanisms.  Applications must add the VMR to the graph and configure it before it is connected 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.