ID3D11VideoContext::VideoProcessorSetOutputBackgroundColor method
Sets the background color for the video processor.
Syntax
void VideoProcessorSetOutputBackgroundColor( [in] ID3D11VideoProcessor *pVideoProcessor, [in] BOOL YCbCr, [in] const 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 |
|
See also