D3DDDIARG_CREATEDECODEDEVICE structure (d3dumddi.h)

The D3DDDIARG_CREATEDECODEDEVICE structure describes a Microsoft DirectX Video Acceleration (DirectX VA) 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 DirectX VA decode type. The Microsoft 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 must set this handle to a value that the Direct3D runtime can use to identify the decode device in subsequent calls.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

CreateDecodeDevice

DXVADDI_CONFIGPICTUREDECODE

DXVADDI_VIDEODESC

GetCaps