D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d10umddi.h

typedef enum D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE {
  D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE,
  D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND,
  D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION,
  D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM
} ;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ne-d3d10umddi-d3d11_1ddi_video_processor_alpha_fill_mode)

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE enumeration

Description

Specifies the alpha fill mode for video processing.

Constants

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_OPAQUE

Alpha values inside the target rectangle are set to opaque.

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_BACKGROUND

Alpha values inside the target rectangle are set to the alpha value specified in the background color. To set the background color, call the VideoProcessorSetOutputBackgroundColor function.

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_DESTINATION

Existing alpha values remain unchanged in the output surface.

D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE_SOURCE_STREAM

Alpha values are taken from an input stream, scaled, and copied to the corresponding destination rectangle for that stream. The input stream is specified in the StreamIndex parameter of the VideoProcessorSetOutputAlphaFillMode function.

If the input stream does not have alpha data, the video processor sets the alpha values in the target rectangle to opaque. If the input stream is disabled or the source rectangle is empty, the alpha values in the target rectangle are not modified.

See also

VideoProcessorSetOutputAlphaFillMode

VideoProcessorSetOutputBackgroundColor