PFND3D11_1DDI_VIDEODECODEREXTENSION callback function (d3d10umddi.h)

Performs an extended function for DirectX Video Acceleration (DXVA) decoding. This method enables extensions to the basic DXVA decoder functionality.

Syntax

PFND3D11_1DDI_VIDEODECODEREXTENSION Pfnd3d111DdiVideodecoderextension;

HRESULT Pfnd3d111DdiVideodecoderextension(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HDECODE unnamedParam2,
  const D3D11_1DDIARG_VIDEODECODEREXTENSION *unnamedParam3
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hDecoder [in]

A handle to the video decoder object that was created through a call to the CreateVideoDecoder function.

unnamedParam3

pExtension [in]

A pointer to a D3D11_1DDIARG_VIDEODECODEREXTENSION structure that contains data for the extended function.

Return value

VideoDecoderExtension returns one of the following values:

Return code Description
S_OK The extension was performed successfully.
D3DDDIERR_DEVICEREMOVED The graphics adapter was removed.
E_INVALIDARG Parameters were validated and determined to be incorrect.
E_OUTOFMEMORY Memory was not available to complete the operation.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoDecoder

D3D11_1DDIARG_VIDEODECODEREXTENSION