PFND3D11_1DDI_CHECKVIDEODECODERFORMAT callback function (d3d10umddi.h)

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 unnamedParam1,
  const GUID *unnamedParam2,
  DXGI_FORMAT unnamedParam3,
  BOOL *unnamedParam4
)
{...}

Parameters

unnamedParam1

hDevice [in]

A handle to the display device (graphics context).

unnamedParam2

pDecoderProfile [in]

A pointer to a GUID that identifies the DXVA profile.

unnamedParam3

Format [in]

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

unnamedParam4

pBool [out]

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

Return value

None

Remarks

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)