PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 - NtDoc

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

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 Pfnd3d12ddiCalcprivatevideodecodersize0072;

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

NtDoc

No description available.

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

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 callback function

Description

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 calculates the size of a video decoder.

Parameters

hDrvDevice

The hardware device being processed.

pArgs [in]

Pointer to a D3D12DDIARG_CREATE_VIDEO_DECODER_0072 structure with arguments used by this callback function.

Return value

Returns the size of the video decoder in bytes.

Remarks

The D3D runtime allocates memory for storing the driver's CPU object representing the video decoder. This method is used to calculate the driver object size.

See the D3D Video Protected Resource Support Specification for more information.

See also

D3D12DDIARG_CREATE_VIDEO_DECODER_0072