PFND3D11_1DDI_CHECKVIDEOPROCESSORFORMAT callback function (d3d10umddi.h)

Queries whether the video processor supports a specified video format.

Syntax

PFND3D11_1DDI_CHECKVIDEOPROCESSORFORMAT Pfnd3d111DdiCheckvideoprocessorformat;

void Pfnd3d111DdiCheckvideoprocessorformat(
  D3D10DDI_HDEVICE unnamedParam1,
  D3D11_1DDI_HVIDEOPROCESSORENUM unnamedParam2,
  DXGI_FORMAT unnamedParam3,
  UINT *unnamedParam4
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

hVideoProcessorEnum [in]

A handle to a video processor enumeration object that was created through a call to the CreateVideoProcessorEnum function.

unnamedParam3

Format [in]

The video format to query.

unnamedParam4

pSupported [out]

Specifies a bitwise OR of zero or more flags from the D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT enumeration.

For more information, see the Remarks section.

Return value

None

Remarks

If the driver can support the format as an input format for the video processor, the driver sets the D3D11_1DDI_VIDEO_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT flag in the pSupported parameter.

If the driver can support the format as a video processing render target output format, the driver sets the D3D11_1DDI_VIDEO_FORMAT_SUPPORT_VIDEO_PROCESSOR_OUTPUT flag in the pSupported parameter.

If the driver can support neither, it must set the pSupported parameter to 0.

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

CreateVideoProcessorEnum

D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT