PFND3D11_1DDI_CHECKVIDEODECODERFORMAT callback function

Determines whether a specified format can be used as a video decoder output format for a specified DirectX Video Acceleration (DXVA) profile.

Syntax

PFND3D11_1DDI_CHECKVIDEODECODERFORMAT Pfnd3d111DdiCheckvideodecoderformat;

void Pfnd3d111DdiCheckvideodecoderformat(
  D3D10DDI_HDEVICE Arg1,
  const GUID *Arg2,
  DXGI_FORMAT Arg3,
  BOOL *Arg4
)
{...}

Parameters

Arg1

hDevice [in]

A handle to the display device (graphics context).

Arg2

pDecoderProfile [in]

A pointer to a GUID that identifies the DXVA profile.

Arg3

Format [in]

A DXGI_FORMAT value that specifies the output format. Typical values include DXGI_FORMAT_NV12 and DXGI_FORMAT_420_OPAQUE.

Arg4

pBool [out]

A BOOL value that, if TRUE, specifies that the specified format can be used for the specified DXVA profile.

Return Value

This callback function does not return a value.

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)