Condividi tramite


IVMRFilterConfig9 interface (vmr9.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The IVMRFilterConfig9 interface is implemented by the Video Mixing Renderer Filter 9. 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.

Inheritance

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

Methods

The IVMRFilterConfig9 interface has these methods.

 
IVMRFilterConfig9::GetNumberOfStreams

The GetNumberOfStreams method retrieves the number of input streams being mixed.
IVMRFilterConfig9::GetRenderingMode

The GetRenderingMode method retrieves the rendering mode currently being used by the VMR.
IVMRFilterConfig9::GetRenderingPrefs

The GetRenderingPrefs method retrieves the current set of rendering preferences being used by the VMR-9.
IVMRFilterConfig9::SetImageCompositor

The SetImageCompositor method installs an application-provided image compositor object.
IVMRFilterConfig9::SetNumberOfStreams

The SetNumberOfStreams method sets the number of streams to be mixed and instructs the VMR to go into mixer mode.
IVMRFilterConfig9::SetRenderingMode

The SetRenderingMode method sets the rendering mode used by the VMR.
IVMRFilterConfig9::SetRenderingPrefs

The SetRenderingPrefs method sets various application preferences related to video rendering.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 R2 [desktop apps only]
Target Platform Windows
Header vmr9.h

See also

Using the Video Mixing Renderer