PFND3D11_1DDI_GETVIDEODECODERBUFFERINFO callback function (d3d10umddi.h)

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

Syntax

PFND3D11_1DDI_GETVIDEODECODERBUFFERINFO Pfnd3d111DdiGetvideodecoderbufferinfo;

void Pfnd3d111DdiGetvideodecoderbufferinfo(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3D11_1DDI_VIDEO_DECODER_DESC *unnamedParam2,
  UINT unnamedParam3,
  D3D11_1DDI_VIDEO_DECODER_BUFFER_INFO *unnamedParam4
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pDecodeDesc [in]

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

unnamedParam3

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.

unnamedParam4

pInfo [out]

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

Return value

None

Remarks

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

Requirements

Requirement Value
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