IDirect3DDXVADevice9::Execute method
Performs a DirectX Video Acceleration (DXVA) decoding operation.
Syntax
HRESULT Execute(
DWORD FunctionNum,
VOID *pInputData,
DWORD InputSize,
VOID *OutputData,
DWORD OutputSize,
DWORD NumBuffers,
DXVABufferInfo *pBufferInfo
);
Parameters
-
FunctionNum
-
A DWORD that contains one or more DXVA function numbers. For details, refer to the DXVA 1.0 specification.
-
pInputData
-
A pointer to a buffer that contains input data for the decoding operation. The meaning of this data depends on the surface type and function number.
-
InputSize
-
The size of the input data, in bytes.
-
OutputData
-
Pointer to a buffer where the video accelerator writes output data.
-
OutputSize
-
The size of the OutputData buffer, in bytes.
-
NumBuffers
-
The number of elements in the pBufferInfo array.
-
pBufferInfo
-
A pointer to an array of DXVABufferInfo structures.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|
See also