WMT_VIDEOIMAGE_TRANSITION_PAGE_ROLL

[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 page roll transition transforms the old image with a page-flipping effect, revealing the new image underneath.

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
Radius fEffectPara0 Radius of the roll in the page roll effect.
Distance fEffectPara1 Amount of the new image that is revealed by the page roll effect, in pixels.
Direction fEffectPara2 Corner or side of the video frame, from which the page roll originates.Set to one of the following values:
  • 0 - Left side
  • 1 - Right side
  • 2 - Bottom
  • 3 - Top
  • 4 - Bottom left corner
  • 5 - Bottom right corner
  • 6 - Upper left corner
  • 7 - Upper right corner
Composition fEffectPara3 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