VMRPRESENTATIONINFO structure (strmif.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 VMRPRESENTATIONINFO
structure is used in the IVMRImagePresenter::PresentImage method (VMR-7 only).
Syntax
typedef struct tagVMRPRESENTATIONINFO {
DWORD dwFlags;
LPDIRECTDRAWSURFACE7 lpSurf;
REFERENCE_TIME rtStart;
REFERENCE_TIME rtEnd;
SIZE szAspectRatio;
RECT rcSrc;
RECT rcDst;
DWORD dwTypeSpecificFlags;
DWORD dwInterlaceFlags;
} VMRPRESENTATIONINFO;
Members
dwFlags
A bitwise combination of flags from the VMRPresentationFlags enumeration, which describe the status of the video sample with respect to its presentation time.
lpSurf
Pointer to the DirectDraw surface that contains the video frame to be presented.
rtStart
The start time for the current frame, in 100-nanosecond units.
rtEnd
The end time for the current frame, in 100-nanosecond units.
szAspectRatio
The aspect ratio of the rectangle.
rcSrc
The source rectangle.
rcDst
The destination rectangle.
dwTypeSpecificFlags
Bitwise combination of flags, as defined for the AM_SAMPLE2_PROPERTIES structure.
dwInterlaceFlags
Bitwise combination of flags, as defined for the dwInterlaceFlags member of the VIDEOINFOHEADER2 structure.
Requirements
Requirement | Value |
---|---|
Header | strmif.h (include Dshow.h) |