IMixerPinConfig Interface (Compact 2013)
3/26/2014
The IMixerPinConfig interface is exposed on the input pins of the overlay mixer filter and contains methods that manipulate video streams in various ways. The Overlay Mixer contains multiple input pins that are dynamically created as video input streams are added. The video stream on the first pin is known as the primary stream and subsequent streams are known as secondary streams.
Use this interface to manipulate the parameters involved in mixing various video streams. These parameters include getting and setting position, z-order, blending and transparency levels, aspect ratio correction, and color keys of streams.
When setting the position of video streams in the display window, the default relative position of all secondary streams is {0, 0, 0, 0}. Therefore, use the IMixerPinConfig::SetRelativePosition method on secondary streams to ensure that all video streams are placed properly.
Applications use this interface to get and set attributes when mixing multiple video streams.
In addition to the methods inherited from IUnknown, the IMixerPinConfig interface exposes the following methods.
Method |
Description |
---|---|
Retrieves the aspect ratio correction mode for window resizing. |
|
Retrieves the value of the blending parameter that defines how a secondary stream is blended with a primary stream. |
|
Retrieves the color key being used by a video stream. |
|
Determines whether a stream is transparent. |
|
Retrieves the position of the stream in the display window. |
|
Retrieves the z-order of a particular video stream. |
|
Sets the aspect ratio correction mode for window resizing. |
|
Sets the blending parameter that defines how a secondary stream is blended with a primary stream. |
|
Sets the color key being used by a video stream. |
|
Sets the stream to transparent. |
|
Sets the position of the stream in the display window. |
|
Sets the z-order of a particular video stream. |
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |