ID3D11VideoProcessorEnumerator1::CheckVideoProcessorFormatConversion method (d3d11_1.h)
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
[in] InputFormat
Type: DXGI_FORMAT
The format of the video processor input.
[in] InputColorSpace
Type: DXGI_COLOR_SPACE_TYPE
The colorspace of the video processor input.
[in] OutputFormat
Type: DXGI_FORMAT
The format of the video processor output.
[in] OutputColorSpace
Type: DXGI_COLOR_SPACE_TYPE
The colorspace of the video processor output.
[out] pSupported
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_OK | The operation completed successfully. |
E_INVALIDARG | An invalid parameter was passed or this function was called using an invalid calling pattern. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | d3d11_1.h |