D3DDDIARG_CREATEDECODEDEVICE structure (d3dumddi.h)

The D3DDDIARG_CREATEDECODEDEVICE structure describes a DirectX Video Acceleration (DXVA) decode device to create.

Syntax

typedef struct _D3DDDIARG_CREATEDECODEDEVICE {
  [in]     const GUID                  *pGuid;
  [in]     DXVADDI_VIDEODESC           VideoDesc;
  [in]     DXVADDI_CONFIGPICTUREDECODE *pConfig;
  [in/out] HANDLE                      hDecode;
} D3DDDIARG_CREATEDECODEDEVICE;

Members

[in] pGuid

A pointer to the GUID that represents the DXVA decode type. The Direct3D runtime calls the GetCaps function to query for the supported GUIDs.

[in] VideoDesc

The DXVADDI_VIDEODESC structure for the video stream that the decode device should decode.

[in] pConfig

A pointer to the DXVADDI_CONFIGPICTUREDECODE structure that contains the DirectX VA connection configuration data for compressed picture decoding that the decode device requires. The Direct3D runtime calls the GetCaps function to query for the supported configurations.

[in/out] hDecode

A handle to the decode device. The user-mode display driver generates this handle for the Direct3D runtime to use to identify the decode device in subsequent calls.

Requirements

Requirement Value
Minimum supported client Windows Vista
Header d3dumddi.h (include D3dumddi.h)

See also

CreateDecodeDevice

DXVADDI_CONFIGPICTUREDECODE

DXVADDI_VIDEODESC

GetCaps