// 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 referenceNo description available.
PFND3D12DDI_CALCPRIVATEVIDEODECODERHEAPSIZE_0072 calculates the size of a video decoder heap.
hDrvDeviceHandle 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.
Returns the size of the heap in bytes.
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.
D3D12DDIARG_CREATE_VIDEO_DECODER_HEAP_0072