Поделиться через


IVMRFilterConfig9 Interface

 
Microsoft DirectShow 9.0

IVMRFilterConfig9 Interface

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.

In addition to the methods inherited from IUnknown, the IVMRFilterConfig9 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: Include D3d9.h, Vmr9.h.

Library: Use Strmiids.lib.