PFND3D11_1DDI_CALCPRIVATEVIDEOPROCESSOROUTPUTVIEWSIZE callback function (d3d10umddi.h)

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

Syntax

PFND3D11_1DDI_CALCPRIVATEVIDEOPROCESSOROUTPUTVIEWSIZE Pfnd3d111DdiCalcprivatevideoprocessoroutputviewsize;

SIZE_T Pfnd3d111DdiCalcprivatevideoprocessoroutputviewsize(
  D3D10DDI_HDEVICE unnamedParam1,
  const D3D11_1DDIARG_CREATEVIDEOPROCESSOROUTPUTVIEW *unnamedParam2
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pView [in]

A pointer to a D3D11_1DDIARG_CREATEVIDEOPROCESSOROUTPUTVIEW structure that describes the video processor output view.

Return value

The required number of bytes for the video processor output view state.

Remarks

The runtime will validate the members of the D3D11_1DDIARG_CREATEVIDEOPROCESSOROUTPUTVIEW structure before it calls this function. In particular, the runtime verifies that the specified view is supported as a video processor output format and the D3D11_DDI_BIND_RENDER_TARGET flag is set.

This function is not expected to fail.

Requirements

Requirement Value
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