UID | title | description | old-location | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | tech.root | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NC:d3d10umddi.PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMALPHA |
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMALPHA (d3d10umddi.h) |
Sets the planar alpha for an input stream on the video processor. |
display\videoprocessorsetstreamalpha.htm |
05/10/2018 |
|
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMALPHA, PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMALPHA callback, d3d10umddi/pfnVideoProcessorSetStreamAlpha, display.videoprocessorsetstreamalpha, pfnVideoProcessorSetStreamAlpha, pfnVideoProcessorSetStreamAlpha callback function [Display Devices] |
d3d10umddi.h |
D3d10umddi.h |
Desktop |
Windows 8 |
Windows Server 2012 |
Windows |
display |
|
|
|
|
|
Sets the planar alpha for an input stream on the video processor.
hDevice [in]
A handle to the display device (graphics context).
hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
StreamIndex [in]
The zero-based index of the input stream.
Enable [in]
If TRUE, alpha blending is to be enabled on the video processor.
Alpha [in]
A pointer to a FLOAT value that specifies the planar alpha value. The value can range from 0.0 (transparent) to 1.0 (opaque).
By default, alpha blending is disabled.
For each pixel, the destination color value is computed as follows:
Cd = Cs * (As * Ap * Ae) + Cd * (1.0 - As * Ap * Ae)
where:
Cd
= The color value of the destination pixelCs
= The color value of the source pixelAs
= The per-pixel source alphaAp
= The planar alpha valueAe
= The palette-entry alpha value, or 1.0
The driver reports its ability to support stereo alpha blending for an input stream in the D3D11_1DDI_VIDEO_PROCESSOR_CAPS structure that is returned through the GetVideoProcessorCaps function. If the driver supports the D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS_ALPHA_STREAM capability, it can be enabled or disabled to produce stereo video frames.