PFND3D11_1DDI_CHECKVIDEOPROCESSORFORMAT callback function

Queries whether the video processor supports a specified video format.

Syntax

PFND3D11_1DDI_CHECKVIDEOPROCESSORFORMAT Pfnd3d111DdiCheckvideoprocessorformat;

void Pfnd3d111DdiCheckvideoprocessorformat(
  D3D10DDI_HDEVICE Arg1,
  D3D11_1DDI_HVIDEOPROCESSORENUM Arg2,
  DXGI_FORMAT Arg3,
  UINT *Arg4
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

hVideoProcessorEnum [in]

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

Arg3

Format [in]

The video format to query.

Arg4

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

This callback function does not return a value.

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

   
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