PFND3DDDI_DECODEENDFRAME callback function

The DecodeEndFrame function notifies the user-mode display driver that all of the data that was required to decode the current frame was submitted.

Syntax


PFND3DDDI_DECODEENDFRAME DecodeEndFrame;

__checkReturn HRESULT APIENTRY DecodeEndFrame(
  _In_    HANDLE                   hDevice,
  _Inout_ D3DDDIARG_DECODEENDFRAME *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in, out]

A pointer to a D3DDDIARG_DECODEENDFRAME structure that describes the DirectX VA decoder that should stop decoding a frame.

Return value

DecodeEndFrame returns one of the following values:

Return codeDescription
S_OK

Decoding successfully completed.

E_OUTOFMEMORY

DecodeEndFrame could not allocate the required memory for it to complete.

 

Remarks

The DecodeEndFrame function notifies the user-mode display driver that its DecodeExecute function can no longer be called on the specified decode device.

Requirements

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DECODEENDFRAME
D3DDDI_DEVICEFUNCS
DecodeExecute

 

 

Send comments about this topic to Microsoft

Show: