PFND3D11_1DDI_CALCPRIVATEVIDEOPROCESSORSIZE callback function

Returns the number of bytes that the driver requires to store private data for the video processor state.

Syntax

PFND3D11_1DDI_CALCPRIVATEVIDEOPROCESSORSIZE Pfnd3d111DdiCalcprivatevideoprocessorsize;

SIZE_T Pfnd3d111DdiCalcprivatevideoprocessorsize(
  D3D10DDI_HDEVICE Arg1,
  const D3D11_1DDIARG_CREATEVIDEOPROCESSOR *Arg2
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

pVideoProcessor [in]

A pointer to a D3D11_1DDIARG_CREATEVIDEOPROCESSOR structure that describes the video processor.

Return Value

The required number of bytes for the video processor state.

Remarks

This function is not expected to fail.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

D3D11_1DDIARG_CREATEVIDEOPROCESSOROUTPUTVIEW