Compartilhar via


IVMRMixerControl Interface

 
Microsoft DirectShow 9.0

IVMRMixerControl Interface

The IVMRMixerControl interface is enables an application to manipulate the incoming video streams on the Video Mixing Renderer Filter 7 (VMR-7). Although this interface is implemented on the filter, it is actually the mixer component that is being configured. For this reason, this interface is only available when the mixer has been loaded through a call to IVMRFilterConfig::SetNumberOfStreams. This interface is intended for use by applications only; it should not be used by upstream filters. 

For the VMR-9, use the IVMRMixerControl9 interface.

In addition to the methods inherited from IUnknown, the IVMRMixerControl interface exposes the following methods:

Method Description
GetAlpha Retrieves the constant alpha value that is applie to this video stream.
GetBackgroundClr Retrieves the background color of the output rectangle.
GetMixingPrefs Retrieves the mixing preferences for the stream.
GetOutputRect Retrieves the position of this stream's video rectangle within the composition rectangle.
GetZOrder Retrieves this video stream's position in the Z order.
SetAlpha Sets a constant alpha value that is applied to this video stream.
SetBackgroundClr Sets the background color of the output rectangle.
SetMixingPrefs Sets the mixing preferences for the stream.
SetOutputRect Sets the position of this stream within the composition rectangle.
SetZOrder Sets this video stream's position in the Z-order.

Requirements

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

Library: Use Strmiids.lib.