DD_CREATEMOCOMPDATA structure (ddrawint.h)
The DD_CREATEMOCOMPDATA structure contains the data required to begin using motion compensation.
Syntax
typedef struct _DD_CREATEMOCOMPDATA {
PDD_DIRECTDRAW_LOCAL lpDD;
PDD_MOTIONCOMP_LOCAL lpMoComp;
GUID *lpGuid;
DWORD dwUncompWidth;
DWORD dwUncompHeight;
DDPIXELFORMAT ddUncompPixelFormat;
LPVOID lpData;
DWORD dwDataSize;
HRESULT ddRVal;
} *PDD_CREATEMOCOMPDATA, DD_CREATEMOCOMPDATA;
Members
lpDD
Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.
lpMoComp
Points to a DD_MOTIONCOMP_LOCAL structure that contains a description of the motion compensation object.
lpGuid
Points to a GUID that describes the motion compensation process being used.
dwUncompWidth
Specifies the width in pixels of the uncompressed output frame.
dwUncompHeight
Specifies the height in pixels of the uncompressed output frame.
ddUncompPixelFormat
Points to a DDPIXELFORMAT structure that contains the format of the uncompressed output frame.
lpData
Points to an optional data buffer that contains any optional information required by the GUID given in lpGuid. This buffer cannot contain any embedded pointers.
dwDataSize
Indicates the size in bytes of the data buffer contained in lpData.
ddRVal
Specifies the location in which the driver writes the return value of the DdMoCompCreate callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.
Requirements
Requirement | Value |
---|---|
Header | ddrawint.h (include Winddi.h) |