PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0032 callback function (d3d12umddi.h)

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

Syntax

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0032 Pfnd3d12ddiCalcprivatevideodecodersize0032;

SIZE_T Pfnd3d12ddiCalcprivatevideodecodersize0032(
       D3D12DDI_HDEVICE hDrvDevice,
  [in] const D3D12DDIARG_CREATE_VIDEO_DECODER_0032 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

[in] pArgs

The arguments used to create a video decoder.

Return value

Returns the size of the video decoder in bytes.

Remarks

The runtime allocates memory for storing the driver CPU object that represents the video decoder. This method is used to calculate the driver object size.

Requirements

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