DXVAHD_BLT_STATE_ALPHA_FILL_DATA structure

Specifies how the output alpha values are calculated for blit operations when using Microsoft DirectX Video Acceleration High Definition (DXVA-HD).

Syntax


typedef struct _DXVAHD_BLT_STATE_ALPHA_FILL_DATA {
  DXVAHD_ALPHA_FILL_MODE Mode;
  UINT                   StreamNumber;
} DXVAHD_BLT_STATE_ALPHA_FILL_DATA;

Members

Mode

Specifies the alpha fill mode, as a member of the DXVAHD_ALPHA_FILL_MODE enumeration.

If the FeatureCaps member of the DXVAHD_VPDEVCAPS structure does not contain the DXVAHD_FEATURE_CAPS_ALPHA_FILL flag, the alpha fill mode must be set to DXVAHD_ALPHA_FILL_MODE_OPAQUE.

The default state value is DXVAHD_ALPHA_FILL_MODE_OPAQUE.

StreamNumber

Zero-based index of the input stream to use for the alpha values. This member is used when the alpha fill mode is DXVAHD_ALPHA_FILL_MODE_SOURCE_STREAM; otherwise, the value is ignored.

To get the maximum number of streams, call IDXVAHD_Device::GetVideoProcessorDeviceCaps and check the MaxStreamStates member of the DXVAHD_VPDEVCAPS structure.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

Direct3D Video Structures
DXVA-HD
Media Foundation Structures
DXVAHD_BLT_STATE
IDXVAHD_VideoProcessor::SetVideoProcessBltState

 

 

Show: