PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0033 callback function (d3d12umddi.h)

Used to calculate the size of a video decoder heap. The D3D runtime allocates memory for storing the drivers cpu object representing the video decoder heap.

Syntax

PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0033 Pfnd3d12ddiCalcprivatevideodecoderheapsize0033;

SIZE_T Pfnd3d12ddiCalcprivatevideodecoderheapsize0033(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0033 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

pArgs

The arguments used to create a video decoder heap.

Return value

Returns the size of the heap in bytes.

Requirements

Requirement Value
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Target Platform Windows
Header d3d12umddi.h