ID3D11VideoContext::VideoProcessorGetOutputBackgroundColor method (d3d11.h)

Gets the current background color for the video processor.

Syntax

void VideoProcessorGetOutputBackgroundColor(
  [in]  ID3D11VideoProcessor *pVideoProcessor,
  [out] BOOL                 *pYCbCr,
  [out] D3D11_VIDEO_COLOR    *pColor
);

Parameters

[in] pVideoProcessor

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

[out] pYCbCr

Receives the value TRUE if the background color is a YCbCr color, or FALSE if the background color is an RGB color.

[out] pColor

A pointer to a D3D11_VIDEO_COLOR structure. The method fills in the structure with the background color.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header d3d11.h

See also

ID3D11VideoContext