Expand Minimize

GetVideoDecoderBufferInfo function

Queries the description of a video decoder buffer for a specified video operation.

Syntax


VOID APIENTRY* GetVideoDecoderBufferInfo(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   const D3D11_1DDI_VIDEO_DECODER_DESC *pDecodeDesc,
  _In_   UINT Index,
  _Out_  D3D11_1DDI_VIDEO_DECODER_BUFFER_INFO *pInfo
);

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 buffer type that is used for the specified operation. The display miniport driver returns the maximum number of video decoder buffer types that are required for the operation through a call to its GetVideoDecoderBufferTypeCount function.

pInfo [out]

A pointer to a D3D11_1DDI_VIDEO_DECODER_BUFFER_INFO structure that describes the video decoder buffer.

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 GetVideoDecoderBufferInfo 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_BUFFER_INFO
D3D11_1DDI_VIDEO_DECODER_DESC
GetVideoDecoderBufferTypeCount

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft