Expand Minimize

CheckVideoDecoderFormat function

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

Syntax


VOID APIENTRY* CheckVideoDecoderFormat(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   const GUID *pDecoderProfile ,
  _In_   DXGI_FORMAT Format,
  _Out_  BOOL *pBool
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

pDecoderProfile [in]

A pointer to a GUID that identifies the DXVA profile.

Format [in]

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

pBool [out]

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

Return value

This 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

Header

D3d10umddi.h (include D3d10umddi.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.