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.

ID3D11VideoContext::VideoProcessorSetOutputBackgroundColor method

Sets the background color for the video processor.

Syntax


void VideoProcessorSetOutputBackgroundColor(
  [in]       ID3D11VideoProcessor *pVideoProcessor,
  [in]       BOOL                 YCbCr,
  [inconst D3D11_VIDEO_COLOR    *pColor
);

Parameters

pVideoProcessor [in]

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

YCbCr [in]

If TRUE, the color is specified as a YCbCr value. Otherwise, the color is specified as an RGB value.

pColor [in]

A pointer to a D3D11_VIDEO_COLOR structure that specifies the background color.

Return value

This method does not return a value.

Remarks

The video processor uses the background color to fill areas of the target rectangle that do not contain a video image. Areas outside the target rectangle are not affected.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3d11.h

See also

ID3D11VideoContext

 

 

Show:
© 2017 Microsoft