// d3d12umddi.h
PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2 Pfnd3d12ddiCalcprivatevideoencoderheapsize00802;
SIZE_T Pfnd3d12ddiCalcprivatevideoencoderheapsize00802(
[in] D3D12DDI_HDEVICE hDrvDevice,
[in] const D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 *pCreationArgs
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
A client driver's PFND3D12DDI_CALCPRIVATEVIDEOENCODERHEAPSIZE_0080_2 callback function calculates the required amount of memory needed for the driver's object that represents the video encoder heap.
hDrvDevice [in]Handle for the D3D12 device.
pCreationArgs [in]Pointer to a D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2 structure that contains the video encoder heap creation parameters.
Returns the number of bytes needed to store the driver's object that represents the video encoder heap.
On return, the D3D12 runtime will allocate the memory needed to store the driver's object and then call PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2 to create the actual object.
See D3D12 video encoding for general information.
D3D12DDIARG_CREATE_VIDEO_ENCODER_HEAP_0080_2
PFND3D12DDI_CREATEVIDEOENCODERHEAP_0080_2