Bewerken

Delen via


DXVA_ConfigAlphaLoad structure (dxva.h)

The DXVA_ConfigAlphaLoad structure is sent by the host decoder to the accelerator to set the configuration for alpha-blend, texture-loading operations.

Syntax

typedef struct _DXVA_ConfigAlphaLoad {
  DXVA_ConfigQueryOrReplyFunc dwFunction;
  DWORD                       dwReservedBits[3];
  BYTE                        bConfigDataType;
} DXVA_ConfigAlphaLoad, *LPDXVA_ConfigAlphaLoad;

Members

dwFunction

Indicates the type of query or response when using probing and locking commands. The most significant 24 bits of dwFunction is the DXVA_ConfigQueryOrReplyFlag variable.

The least significant 4 bits of the DXVA_ConfigQueryOrReplyFlag variable contains status indicators for the query or response being performed.

The least significant 8 bits of dwFunction is the bDXVA_Func variable that, in this case, is equal to 2.

dwReservedBits[3]

Reserved bits used for packing and alignment. These bits are zero.

bConfigDataType

Specifies the type of alpha-blend data to be used. This member can be set to one of the following values.

Value Description
0 16-entry AYUV palette with IA44 alpha-blending surface.
1 16-entry AYUV palette with AI44 alpha-blending surface.
2 16-entry AYUV palette with DPXD, Highlight, and DCCMD data.
3 AYUV graphic surface.

 

The preferred values for an accelerator to support for bConfigDataType are 1 and 3.

Requirements

Requirement Value
Header dxva.h (include Dxva.h)