PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0072 - NtDoc

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

PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0072 Pfnd3d12ddiCalcprivatevideodecoderheapsize0072;

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

NtDoc

No description available.

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

PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0072 callback function

Description

PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0072 calculates the size of a video decoder heap.

Parameters

hDrvDevice

Handle to the hardware device being processed.

pArgs [in]

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

Return value

Returns the size of the heap in bytes.

Remarks

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

See the Video Protected Resource Support specification for more information.

See also

D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0072