PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 callback function (d3d12umddi.h)

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 calculates the size of a video decoder.

Syntax

PFND3D12DDI_CALCPRIVATEVIDEODECODERSIZE_0072 Pfnd3d12ddiCalcprivatevideodecodersize0072;

SIZE_T Pfnd3d12ddiCalcprivatevideodecodersize0072(
       D3D12DDI_HDEVICE hDrvDevice,
  [in] const D3D12DDIARG_CREATE_VIDEO_DECODER_0072 *pArgs
)
{...}

Parameters

hDrvDevice

The hardware device being processed.

[in] pArgs

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.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Target Platform Windows
Header d3d12umddi.h

See also

D3D12DDIARG_CREATE_VIDEO_DECODER_0072