Share via


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

IMixerPinConfig::GetAspectRatioMode

Retrieves the aspect ratio correction mode for window resizing.

IMixerPinConfig::GetBlendingParameter

Retrieves the value of the blending parameter that defines how a secondary stream is blended with a primary stream.

IMixerPinConfig::GetColorKey

Retrieves the color key being used by a video stream.

IMixerPinConfig::GetStreamTransparent

Determines whether a stream is transparent.

IMixerPinConfig::GetRelativePosition

Retrieves the position of the stream in the display window.

IMixerPinConfig::GetZOrder

Retrieves the z-order of a particular video stream.

IMixerPinConfig::SetAspectRatioMode

Sets the aspect ratio correction mode for window resizing.

IMixerPinConfig::SetBlendingParameter

Sets the blending parameter that defines how a secondary stream is blended with a primary stream.

IMixerPinConfig::SetColorKey

Sets the color key being used by a video stream.

IMixerPinConfig::SetStreamTransparent

Sets the stream to transparent.

IMixerPinConfig::SetRelativePosition

Sets the position of the stream in the display window.

IMixerPinConfig::SetZOrder

Sets the z-order of a particular video stream.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

DirectShow Interfaces
IMixerPinConfig2 Interface