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