Expand Minimize

VMR9VideoStreamInfo structure

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;
} VMR9VideoStreamInfo;

Members

pddsVideoSurface

A pointer to the IDirect3DSurface9 interface of the Direct3D surface that contains the video to be composited.

dwWidth

The width of the video rectangle.

dwHeight

The height of the video rectangle.

dwStrmID

Specifies the input stream. This value corresponds to the input pin.

fAlpha

The alpha value for this stream. (Not per-pixel alpha.)

rNormal

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

rtStart

The start time of the video frame, in 100-nanosecond units.

rtEnd

The end time of the video frame, in 100-nanosecond units.

SampleFormat

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

Requirements

Header

Vmr9.h

See also

DirectShow Structures

 

 

Community Additions

ADD
Show:
© 2014 Microsoft