PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE callback function
The pfnCalcPrivateVideoProcessorSize callback function calculates the size of the private video processor.
Syntax
PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE pfnCalcPrivateVideoProcessorSize;
SIZE_T APIENTRY* pfnCalcPrivateVideoProcessorSize(
D3D12DDI_HDEVICE hDrvDevice,
_In_ const D3D12DDIARG_CREATE_VIDEO_PROCESSOR *pArgs
)
{ ... }
Parameters
hDrvDevice
The handler of a device.pArgs [in]
The arguments used to create a video processor.
Remarks
The runtime allocates memory for storing the driver CPU object that represents the video processor. This method is used to calculate the driver object size.
Requirements
Header |
D3d12umddi.h (include D3d12umddi.h) |