IDirectXVideoDecoder::Execute method (dxva2api.h)

Executes a decoding operation on the current frame.

Syntax

HRESULT Execute(
  [in] const DXVA2_DecodeExecuteParams *pExecuteParams
);

Parameters

[in] pExecuteParams

Pointer to a DXVA2_DecodeExecuteParams structure that contains the information needed for the decoding operation.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The method succeeded.

Remarks

You must call IDirectXVideoDecoder::BeginFrame before calling this method.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header dxva2api.h

See also

DirectX Video Acceleration 2.0

IDirectXVideoDecoder