VideoDecoderExtension function

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

Syntax


HRESULT APIENTRY* VideoDecoderExtension(
  _In_       D3D10DDI_HDEVICE                    hDevice,
  _In_       D3D11_1DDI_HDECODE                  hDecoder,
  _In_ const D3D11_1DDIARG_VIDEODECODEREXTENSION *pExtension
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

hDecoder [in]

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

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

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Target platform

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoDecoder
D3D11_1DDIARG_VIDEODECODEREXTENSION

 

 

Send comments about this topic to Microsoft

Show: