WMT_VIDEOIMAGE_TRANSITION_RECTANGLE
[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 rectangle transition reveals the new image in a rectangle within 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 center of the rectangle. |
Center Y | fEffectPara1 | Y-coordinate, relative to the video frame, of the center of the rectangle. |
Width | fEffectPara2 | Width of the rectangle in pixels. |
Height | fEffectPara3 | Height of the rectangle in pixels. |
Composition | fEffectPara4 | Set to one of the following values:
|
Requirements
Requirement | Value |
---|---|
Header |
|