Microsoft DirectX 9.0

VMRVIDEOSTREAMINFO Structure

This topic applies to Windows XP only.

The VMRVIDEOSTREAMINFO structure is used in the VMR-7 filter's call to IVMRImageCompositor::CompositeImage on the image compositor.

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.

Requirements

Requires Microsoft® Windows® XP.

See Also