PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0072 callback function (d3d12umddi.h)

PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0072 calculates the size of the private video processor.

Syntax

PFND3D12DDI_CALCPRIVATEVIDEOPROCESSORSIZE_0072 Pfnd3d12ddiCalcprivatevideoprocessorsize0072;

SIZE_T Pfnd3d12ddiCalcprivatevideoprocessorsize0072(
  D3D12DDI_HDEVICE hDrvDevice,
  const D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072 *pArgs
)
{...}

Parameters

hDrvDevice

A handle to the display device (graphics context).

pArgs

Pointer to a D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072 structure with arguments for this callback to use.

Return value

Returns the size of the video processor in bytes.

Remarks

The Direct3D runtime allocates memory for storing the driver's CPU object that represents the video processor. This method is used to calculate the driver object size.

See the D3D Video Protected Resource Support Specification for more information.

Requirements

Requirement Value
Header d3d12umddi.h

See also

D3D12DDIARG_CREATE_VIDEO_PROCESSOR_0072