Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11VideoProcessorEnumerator1::CheckVideoProcessorFormatConversion method

Indicates whether the driver supports the specified combination of format and colorspace conversions.

Syntax


HRESULT CheckVideoProcessorFormatConversion(
  [in]  DXGI_FORMAT           InputFormat,
  [in]  DXGI_COLOR_SPACE_TYPE InputColorSpace,
  [in]  DXGI_FORMAT           OutputFormat,
  [in]  DXGI_COLOR_SPACE_TYPE OutputColorSpace,
  [out] BOOL                  *pSupported
);

Parameters

InputFormat [in]

Type: DXGI_FORMAT

The format of the video processor input.

InputColorSpace [in]

Type: DXGI_COLOR_SPACE_TYPE

The colorspace of the video processor input.

OutputFormat [in]

Type: DXGI_FORMAT

The format of the video processor output.

OutputColorSpace [in]

Type: DXGI_COLOR_SPACE_TYPE

The colorspace of the video processor output.

pSupported [out]

Type: BOOL*

Pointer to a boolean that is set by the driver to indicate if the specified combination of format and colorspace conversions is supported. True if the conversion is supported; otherwise, false.

Return value

Type: HRESULT

This method returns one of the following error codes.

S_OKThe operation completed successfully.
E_INVALIDARGAn invalid parameter was passed or this function was called using an invalid calling pattern.

 

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoProcessorEnumerator1

 

 

Show:
© 2017 Microsoft