Espandi Riduci a icona

GetVideoDecoderConfig function

Queries the video decoder configuration for a specified video operation.

Syntax


VOID APIENTRY* GetVideoDecoderConfig(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   const D3D11_1DDI_VIDEO_DECODER_DESC *pDecodeDesc,
  _In_   UINT Index,
  _Out_  D3D11_1DDI_VIDEO_DECODER_CONFIG *pConfig
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

pDecodeDesc [in]

A pointer to a D3D11_1DDI_VIDEO_DECODER_DESC structure that specifies the video decoder operation.

Index [in]

The zero-based index of the video decoder configuration that is used for the specified operation. The display miniport driver specifies the maximum number of video decoder configurations that are required for the operation through a call to its GetVideoDecoderConfigCount function.

pConfig [out]

A pointer to a D3D11_1DDI_VIDEO_DECODER_CONFIG structure that describes the video decoder configuration.

Return value

This function does not return a value.

Remarks

The Microsoft Direct3D runtime verifies that the pDecodeDesc and Index parameter data is valid before it calls the GetVideoDecoderConfig function.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3d10umddi.h (include D3d10umddi.h)

See also

D3D11_1DDI_VIDEO_DECODER_CONFIG
D3D11_1DDI_VIDEO_DECODER_DESC
GetVideoDecoderConfigCount

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft