WMT_VIDEOIMAGE_TRANSITION_SPLIT

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The split transition reveals the new image by splitting the old image. The split appears along a straight horizontal or vertical line starting inside the frame.

Parameters

The following table describes the parameters used by this transition and lists the members of the WMT_VIDEOIMAGE_SAMPLE2 structure to which they are assigned.

Parameter Structure member Description
Center X fEffectPara0 X-coordinate, relative to the video frame, of the origin line of the split.
Center Y fEffectPara1 Y-coordinate, relative to the video frame, of the origin line of the split.
Distance fEffectPara2 Width of the split in pixels.
Direction fEffectPara3 Orientation of the split.Set to one of the following values:
  • 0 - Splits along a horizontal line.
  • 1 - Splits along a vertical line.
Composition fEffectPara4 Set to one of the following values:
  • 0 - Specifies normal composition, in which the previous image is the background, and the current image is the foreground.
  • 1 - Specifies reversed composition, in which the current image is the background image, and the previous image is the foreground

Requirements

Requirement Value
Header
Wmsdkidl.h

See also

Video Image Transitions