VMR9VideoStreamInfo

 
Microsoft DirectShow 9.0

VMR9VideoStreamInfo

The VMR9VideoStreamInfo structure describes the rendering parameters for a video compositing operation in the VRM-9 filter. This structure is used in the IVMRImageCompositor9::CompositeImage method.

Syntax

typedef struct VMR9VideoStreamInfo{
    IDirect3DSurface9*  pddsVideoSurface;
    DWORD               dwWidth;
    DWORD               dwHeight;
    DWORD               dwStrmID;
    FLOAT               fAlpha;
    VMR9NormalizedRect  rNormal;
    REFERENCE_TIME      rtStart;
    REFERENCE_TIME      rtEnd;
    VMR9_SampleFormat   SampleFormat;
};

Members

pddsVideoSurface

Specifies the Direct3D 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.)

rNormal

Specifies the position of the image in composition space, as a VMR9NormalizedRect structure.

rtStart

Specifies the start time of the video frame.

rtEnd

Specifies the end time of the video frame.

SampleFormat

Specifies the video interlacing format, as a member of the VMR9_SampleFormat enumeration type.

Requirements

Header: Vmr9.h.

See Also