DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA structure (d3dumddi.h)

The DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA structure describes data that specifies the background color to fill in the target rectangle of the output.

Syntax

typedef struct _DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA {
  [in] BOOL            YCbCr;
  [in] DXVAHDDDI_COLOR BackgroundColor;
} DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA;

Members

[in] YCbCr

A Boolean value that specifies whether the driver should determine whether the BackgroundColor member specifies a YCbCr or RGB color space. The default value is FALSE, which indicates a RGB color space. TRUE specifies a YCbCr color space.

[in] BackgroundColor

A DXVAHDDDI_COLOR union that specifies the background color as either a YCbCr or RGB color space. The default value is full range RGB black with opaque alpha, that is (R,G,B,A) = (0.0,0.0,0.0,1.0).

Remarks

The color space of the background color is determined by the color space of the output. For more information about output color space, see DXVAHDDDI_BLT_STATE_OUTPUT_COLOR_SPACE_DATA.

The alpha value of the background color is used when the DXVAHDDDI_ALPHA_FILL_MODE_BACKGROUND value is specified in the alpha fill mode (that is, the Mode member of the DXVAHDDDI_BLT_STATE_ALPHA_FILL_DATA structure) when the DXVAHDDDI_BLT_STATE_ALPHA_FILL value is specified in the State member of the D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE structure in a call to the SetVideoProcessBltState function.

Requirements

Requirement Value
Minimum supported client DXVAHDDDI_BLT_STATE_BACKGROUND_COLOR_DATA is supported beginning with the Windows 7 operating system.
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSBLTSTATE

DXVAHDDDI_BLT_STATE_ALPHA_FILL_DATA

DXVAHDDDI_BLT_STATE_OUTPUT_COLOR_SPACE_DATA

DXVAHDDDI_COLOR

SetVideoProcessBltState