ID3D11VideoContext::VideoProcessorGetOutputBackgroundColor method

Gets the current background color for the video processor.

Syntax


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

Parameters

pVideoProcessor [in]

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

pYCbCr [out]

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

pColor [out]

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

Return value

This method does not return a value.

Requirements

Minimum supported client

Windows 8 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2012 [desktop apps | UWP apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show: