VMR9VideoStreamInfo structure (vmr9.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
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
Requirement | Value |
---|---|
Header | vmr9.h |