PFND3D11_1DDI_GETVIDEODECODERBUFFERINFO callback function

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

Syntax

PFND3D11_1DDI_GETVIDEODECODERBUFFERINFO Pfnd3d111DdiGetvideodecoderbufferinfo;

void Pfnd3d111DdiGetvideodecoderbufferinfo(
  D3D10DDI_HDEVICE Arg1,
  const D3D11_1DDI_VIDEO_DECODER_DESC *Arg2,
  UINT Arg3,
  D3D11_1DDI_VIDEO_DECODER_BUFFER_INFO *Arg4
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

pDecodeDesc [in]

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

Arg3

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.

Arg4

pInfo [out]

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

Return Value

This callback 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
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D11_1DDI_VIDEO_DECODER_BUFFER_INFO

D3D11_1DDI_VIDEO_DECODER_DESC

GetVideoDecoderBufferTypeCount