Export (0) Print
Expand All

IDirectXVideoDecoder::Execute method

Executes a decoding operation on the current frame.

Syntax


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

Parameters

pExecuteParams [in]

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 codeDescription
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]

Header

Dxva2api.h

See also

IDirectXVideoDecoder
DirectX Video Acceleration 2.0

 

 

Community Additions

ADD
Show:
© 2014 Microsoft