Microsoft DirectX 8.1 (C++) |
The VMRVIDEOSTREAMINFO structure is used in the VMR’s call to IVMRImageCompositor::CompositeImage on the image compositor.
Requirements
Requires Microsoft® Windows® XP.
Syntax
typedef struct _VMRVIDEOSTREAMINFO {
LPDIRECTDRAWSURFACE7 pddsVideoSurface;
DWORD dwWidth;
DWORD dwHeight;
DWORD dwStrmID;
FLOAT fAlpha;
DDCOLORKEY ddClrKey;
NORMALIZEDRECT rNormal;
} VMRVIDEOSTREAMINFO;
Members
pddsVideoSurface
Specifies the DirectDraw surface that contains the video to be composited.
dwWidth
Specifies the width of the video rectangle.
dwHeight
Specifies the height of the video rectangle.
dwStrmID
Specifies the input stream. This value corresponds to the input pin.
fAlpha
Specifies the alpha value for this stream. (Not per-pixel alpha.)
ddClrKey
Specifies the source color key value or -1 if color keying is not to be used for this stream.
rNormal
Specifies the position of the image in composition space.