IDirectXVideoDecoder::Execute method

Executes a decoding operation on the current frame.

Syntax

HRESULT Execute(
  const DXVA2_DecodeExecuteParams *pExecuteParams
);

Parameters

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

   
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