Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CheckVideoProcessorFormat function

Queries whether the video processor supports a specified video format.

Syntax


VOID APIENTRY* CheckVideoProcessorFormat(
  _In_   D3D10DDI_HDEVICE hDevice,
  _In_   D3D11_1DDI_HVIDEOPROCESSORENUM hVideoProcessorEnum,
  _In_   DXGI_FORMAT Format,
  _Out_  UINT *pSupported
);

Parameters

hDevice [in]

A handle to the display device (graphics context).

hVideoProcessorEnum [in]

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

Format [in]

The video format to query.

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 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

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoProcessorEnum
D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT

 

 

Send comments about this topic to Microsoft

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.