PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0032 - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0032 Pfnd3d12ddiCalcprivatevideodecodersize0032;

SIZE_T Pfnd3d12ddiCalcprivatevideodecodersize0032(
       D3D12DDI_HDEVICE hDrvDevice,
  [in] const D3D12DDIARG_CREATE_VIDEO_DECODER_0032 *pArgs
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3d12umddi-pfnd3d12ddi_calcprivatevideodecodersize_0032)

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0032 callback function

Description

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

Parameters

hDrvDevice

The hardware device being processed.

pArgs [in]

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.