DD_RENDERMOCOMPDATA structure (ddrawint.h)
The DD_RENDERMOCOMPDATA structure contains the information required to render a frame.
Syntax
typedef struct _DD_RENDERMOCOMPDATA {
PDD_DIRECTDRAW_LOCAL lpDD;
PDD_MOTIONCOMP_LOCAL lpMoComp;
DWORD dwNumBuffers;
LPDDMOCOMPBUFFERINFO lpBufferInfo;
DWORD dwFunction;
LPVOID lpInputData;
DWORD dwInputDataSize;
LPVOID lpOutputData;
DWORD dwOutputDataSize;
HRESULT ddRVal;
} *PDD_RENDERMOCOMPDATA, DD_RENDERMOCOMPDATA;
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 being requested.
dwNumBuffers
Indicates the number of entries in the lpBufferInfo member.
lpBufferInfo
Points to a DDMOCOMPBUFFERINFO structure that contains the surfaces and the locations within the surfaces from which to get the macroblock data to render.
dwFunction
Indicates a specific operation the decoder would like the driver to perform. The possible values for this member are defined by the GUID used during motion compensation. See DD_CREATEMOCOMPDATA for more information.
lpInputData
Points to an optional input buffer, the contents of which are defined by the GUID. This buffer cannot contain any embedded pointers.
dwInputDataSize
Specifies the size in bytes of the data pointed to by lpInputData.
lpOutputData
Points to an optional output buffer, the contents of which are defined by the GUID. This buffer cannot contain any embedded pointers.
dwOutputDataSize
Specifies the size in bytes of the data pointed to by lpOutputData.
ddRVal
Specifies the location in which the driver writes the return value of the DdMoCompRender 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) |