Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CheckVideoProcessorFormat
Collapse the table of content
Expand the table of content

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

Target platform

Desktop

Header

D3d10umddi.h (include D3d10umddi.h)

See also

CreateVideoProcessorEnum
D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft